Searched refs:srcWidth (Results 1 – 4 of 4) sorted by relevance
/packages/apps/Gallery2/jni/filters/ |
D | geometry.c | 22 static __inline__ void flipVertical(char * source, int srcWidth, int srcHeight, char * destination,… in flipVertical() argument 25 int width = cpy_bytes * srcWidth; in flipVertical() 36 static __inline__ void flipHorizontal(char * source, int srcWidth, int srcHeight, char * destinatio… in flipHorizontal() argument 39 int width = cpy_bytes * srcWidth; in flipHorizontal() 53 static __inline__ void flip_fun(int flip, char * source, int srcWidth, int srcHeight, char * destin… in flip_fun() argument 59 flipHorizontal(source, srcWidth, srcHeight, temp, dstWidth, dstHeight); in flip_fun() 65 flipHorizontal(source, srcWidth, srcHeight, destination, dstWidth, dstHeight); in flip_fun() 69 flipVertical(source, srcWidth, srcHeight, destination, dstWidth, dstHeight); in flip_fun() 75 static __inline__ void rotate90(char * source, int srcWidth, int srcHeight, char * destination, int… in rotate90() argument 77 int width = cpy_bytes * srcWidth; in rotate90() [all …]
|
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
D | BitmapUtil.java | 139 final int srcWidth = src.getWidth(); in crop() local 143 if (w == srcWidth && h == srcHeight) { in crop() 149 (float) w / srcWidth, in crop() 158 srcX = (int) (srcWidth * horizontalCenterPercent - srcCroppedW / 2); in crop() 162 srcX = Math.max(Math.min(srcX, srcWidth - srcCroppedW), 0); in crop() 171 srcWidth, srcHeight, w, h, srcX, srcY, srcCroppedW, srcCroppedH, scale, in crop()
|
/packages/apps/Camera2/src/com/android/camera/widget/ |
D | RoundedThumbnailView.java | 745 int srcWidth = srcBitmap.getWidth(); in cropCenterBitmap() local 748 if (srcWidth >= srcHeight) { in cropCenterBitmap() 750 srcBitmap, srcWidth / 2 - srcHeight / 2, 0, srcHeight, srcHeight); in cropCenterBitmap() 753 srcBitmap, 0, srcHeight / 2 - srcWidth / 2, srcWidth, srcWidth); in cropCenterBitmap()
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
D | BitmapUtils.java | 140 int srcWidth = bitmap.getWidth(); in resizeDownBySideLength() local 143 (float) maxLength / srcWidth, (float) maxLength / srcHeight); in resizeDownBySideLength()
|