/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
PhotoProcessor.java | 195 * @param maxDim Maximum width and height (in pixels) for the image. 201 static Bitmap getNormalizedBitmap(Bitmap original, int maxDim, boolean forceCropToSquare) { 220 final float scaleFactor = Math.min(1f, ((float) maxDim) / Math.max(cropWidth, cropHeight));
|
/frameworks/native/opengl/tests/hwc/ |
hwcCommit.cpp | 254 HwcTestDim maxDim; 262 HwcTestDim maxDim; 499 measPtr->df.maxDim = dfMaxDim(format->format); 500 testPrintI(" dfMaxDim: %s", ((string) measPtr->df.maxDim).c_str()); 509 measPtr->sc.maxWidth = scMaxWidth(format->format, measPtr->df.maxDim); 514 measPtr->sc.maxHeight = scMaxHeight(format->format, measPtr->df.maxDim); 522 measPtr->sc.maxDim = scMaxDim(format->format, measPtr->df.maxDim); 523 testPrintI(" scMaxDim: %s%s", ((measPtr->sc.maxDim.width() 525 || (measPtr->sc.maxDim.width() > [all...] |
/device/lge/mako/camera/QCamera/HAL/core/src/ |
QCameraHWI.cpp | 1016 mm_camera_dimension_t maxDim; [all...] |
QCameraHWI_Parm.cpp | 604 bool QCameraHardwareInterface::getMaxPictureDimension(mm_camera_dimension_t *maxDim) 620 maxDim->height = mPictureSizes[i].height; 621 maxDim->width = mPictureSizes[i].width; 626 maxDim->width, maxDim->height); 683 mm_camera_dimension_t maxDim; 687 memset(&maxDim, 0, sizeof(mm_camera_dimension_t)); 688 ret = getMaxPictureDimension(&maxDim); 694 if (!maxDim.width || !maxDim.height) [all...] |
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/ |
WallpaperCropActivity.java | 216 int maxDim = Math.max(maxDims.x, maxDims.y); 222 maxDim = Math.max(realSize.x, realSize.y); 231 defaultWidth = (int) (maxDim * wallpaperTravelToScreenWidthRatio(maxDim, minDim)); 232 defaultHeight = maxDim; 234 defaultWidth = Math.max((int) (minDim * WALLPAPER_SCREENS_SPAN), maxDim); 235 defaultHeight = maxDim; [all...] |
/packages/apps/Launcher3/WallpaperPicker/src/com/android/launcher3/ |
WallpaperCropActivity.java | 219 int maxDim = Math.max(maxDims.x, maxDims.y); 225 maxDim = Math.max(realSize.x, realSize.y); 233 defaultWidth = (int) (maxDim * wallpaperTravelToScreenWidthRatio(maxDim, minDim)); 234 defaultHeight = maxDim; 236 defaultWidth = Math.max((int) (minDim * WALLPAPER_SCREENS_SPAN), maxDim); 237 defaultHeight = maxDim; [all...] |
/device/lge/mako/camera/ |
QCameraHWI.cpp | [all...] |
QCameraHWI_Parm.cpp | 622 bool QCameraHardwareInterface::getMaxPictureDimension(mm_camera_dimension_t *maxDim) 638 maxDim->height = mPictureSizes[i].height; 639 maxDim->width = mPictureSizes[i].width; 644 maxDim->width, maxDim->height); 708 mm_camera_dimension_t maxDim; 712 memset(&maxDim, 0, sizeof(mm_camera_dimension_t)); 713 ret = getMaxPictureDimension(&maxDim); 719 if (!maxDim.width || !maxDim.height) [all...] |
/packages/apps/Mms/src/com/android/mms/transaction/ |
MessagingNotification.java | 616 int maxDim = dp2Pixels(MAX_BITMAP_DIMEN_DP); 617 attachedPicture = firstSlide.getImage().getBitmap(maxDim, maxDim); [all...] |
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/ |
TiledImageRenderer.java | 208 int maxDim = Math.max(mImageWidth, mImageHeight); 210 while (t < maxDim) {
|
/packages/apps/Gallery2/src/com/android/photos/views/ |
TiledImageRenderer.java | 208 int maxDim = Math.max(mImageWidth, mImageHeight); 210 while (t < maxDim) {
|
/packages/apps/Launcher3/WallpaperPicker/src/com/android/photos/views/ |
TiledImageRenderer.java | 208 int maxDim = Math.max(mImageWidth, mImageHeight); 210 while (t < maxDim) {
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
Workspace.java | [all...] |
/external/zxing/core/ |
core.jar | |