HomeSort by relevance Sort by last modified time
    Searched defs:cropWidth (Results 1 - 6 of 6) sorted by null

  /device/lge/mako/camera/inc/
omx_jpeg_ext.h 94 int cropWidth;
  /frameworks/av/media/libstagefright/colorconversion/
ColorConverter.cpp 71 size_t ColorConverter::BitmapParams::cropWidth() const {
142 && src.cropWidth() == dst.cropWidth()
154 for (size_t x = 0; x < src.cropWidth(); x += 2) {
185 if (x + 1 < src.cropWidth()) {
202 && src.cropWidth() == dst.cropWidth()
223 for (size_t x = 0; x < src.cropWidth(); x += 2) {
273 if (x + 1 < src.cropWidth()) {
298 && src.cropWidth() == dst.cropWidth(
    [all...]
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
PhotoProcessor.java 205 int cropWidth = original.getWidth();
209 if (forceCropToSquare && cropWidth != cropHeight) {
211 if (cropHeight > cropWidth) {
212 cropTop = (cropHeight - cropWidth) / 2;
213 cropHeight = cropWidth;
215 cropLeft = (cropWidth - cropHeight) / 2;
216 cropWidth = cropHeight;
220 final float scaleFactor = Math.min(1f, ((float) maxDim) / Math.max(cropWidth, cropHeight));
223 final int newWidth = (int) (cropWidth * scaleFactor);
234 cropLeft + cropWidth, cropTop + cropHeight)
    [all...]
  /frameworks/base/core/java/android/app/
WallpaperManager.java 548 float cropWidth = outWidth * (inHeight / (float) outHeight);
549 cropRect.left = (inWidth - cropWidth) * horizontalAlignment;
550 cropRect.right = cropRect.left + cropWidth;
    [all...]
  /cts/tests/tests/media/src/android/media/cts/
EncodeDecodeTest.java     [all...]
  /frameworks/opt/photoviewer/src/com/android/ex/photo/views/
PhotoView.java 559 final int cropWidth = mCropRect.right - mCropRect.left;
560 final float scaleWidth = CROPPED_SIZE / cropWidth;
561 final float scaleHeight = CROPPED_SIZE / cropWidth;
    [all...]

Completed in 263 milliseconds