Searched refs:originalHeight (Results 1 – 9 of 9) sorted by relevance
/packages/apps/Camera2/src/com/android/camera/processing/imagebackend/ |
D | TaskCompressImageToJpeg.java | 434 private Size getImageSizeForOrientation(int originalWidth, int originalHeight, in getImageSizeForOrientation() argument 438 return new Size(originalWidth, originalHeight); in getImageSizeForOrientation() 441 return new Size(originalHeight, originalWidth); in getImageSizeForOrientation() 444 return new Size(originalWidth, originalHeight); in getImageSizeForOrientation()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/anim/ |
D | BenefitsAnimation.java | 148 int originalHeight = animatedInfo.getHeight(); in adjustToScreenSize() local 149 int adjustedHeight = (int) (originalHeight * scaleRatio); in adjustToScreenSize() 154 int offset = adjustedHeight - originalHeight; in adjustToScreenSize()
|
/packages/apps/Launcher3/src/com/android/launcher3/views/ |
D | FloatingIconView.java | 472 final int originalHeight = lp.height; in setIcon() local 476 mFinalDrawableBounds.set(0, 0, originalWidth, originalHeight); in setIcon() 484 mStartRevealRect.set(0, 0, originalWidth, originalHeight); in setIcon() 520 float scale = Math.max((float) lp.height / originalHeight, in setIcon() 525 mOutline.set(0, 0, originalWidth, originalHeight); in setIcon()
|
/packages/apps/Launcher3/src/com/android/launcher3/popup/ |
D | PopupContainerWithArrow.java | 344 int originalHeight = getResources().getDimensionPixelSize(R.dimen.bg_popup_item_height); in updateHiddenShortcuts() local 347 : originalHeight; in updateHiddenShortcuts() 348 float iconScale = ((float) itemHeight) / originalHeight; in updateHiddenShortcuts()
|
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/ |
D | DrawableDownloader.java | 80 public BitmapItem(int originalWidth, int originalHeight) { in BitmapItem() argument 82 mOriginalHeight = originalHeight; in BitmapItem()
|
/packages/apps/Camera2/src/com/android/camera/ |
D | PhotoModule.java | 828 int originalHeight = original.getHeight(); in cropJpegDataToAspectRatio() local 832 if (originalWidth > originalHeight) { in cropJpegDataToAspectRatio() 836 newWidth = (int) (originalHeight / targetAspectRatio); in cropJpegDataToAspectRatio() 837 newHeight = originalHeight; in cropJpegDataToAspectRatio() 840 int yOffset = (originalHeight - newHeight)/2; in cropJpegDataToAspectRatio()
|
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
D | Utils.java | 672 double originalHeight = originalBitmap.getHeight(); in getReducedSizeBitmap() local 678 scaleY = newHeight / originalHeight; in getReducedSizeBitmap() 681 newHeight = (int)Math.round(originalHeight * scale); in getReducedSizeBitmap()
|
/packages/apps/Camera2/src/com/android/camera/one/v2/ |
D | OneCameraZslImpl.java | 992 private Size getImageSizeForOrientation(int originalWidth, int originalHeight, in getImageSizeForOrientation() argument 995 return new Size(originalWidth, originalHeight); in getImageSizeForOrientation() 997 return new Size(originalHeight, originalWidth); in getImageSizeForOrientation()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
D | GeometryMathUtils.java | 374 float originalHeight, float viewWidth, float viewHeight) { in getOriginalToScreen() argument 381 (int) originalHeight, (int) viewWidth, (int) viewHeight); in getOriginalToScreen()
|