Searched refs:srcX (Results 1 - 3 of 3) sorted by relevance

/packages/apps/Camera2/jni/
H A Djpegutilnative.cpp141 int srcX = height - 1 - y; local
143 dst[y * width + x] = src[srcX * pStride + rStride * srcY];
150 int srcX = width - 1 - x; local
152 dst[y * width + x] = src[srcX * pStride + rStride * srcY];
159 int srcX = y; local
161 dst[y * width + x] = src[srcX * pStride + rStride * srcY];
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
H A DBitmapUtil.java154 int srcX, srcY;
158 srcX = (int) (srcWidth * horizontalCenterPercent - srcCroppedW / 2);
161 // Nudge srcX and srcY to be within the bounds of src
162 srcX = Math.max(Math.min(srcX, srcWidth - srcCroppedW), 0);
165 final Bitmap cropped = Bitmap.createBitmap(src, srcX, srcY, srcCroppedW, srcCroppedH, m,
169 "BitmapUtils IN centerCrop, srcW/H=%s/%s desiredW/H=%s/%s srcX/Y=%s/%s" +
171 srcWidth, srcHeight, w, h, srcX, srcY, srcCroppedW, srcCroppedH, scale,
/packages/apps/Launcher3/src/com/android/launcher3/model/
H A DMigrateFromRestoreTask.java746 public static void markForMigration(Context context, int srcX, int srcY, argument
749 .putString(KEY_MIGRATION_SOURCE_SIZE, srcX + "," + srcY)

Completed in 144 milliseconds