Home
last modified time | relevance | path

Searched refs:originalHeight (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Camera2/src/com/android/camera/processing/imagebackend/
DTaskCompressImageToJpeg.java434 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/
DBenefitsAnimation.java148 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/
DFloatingIconView.java480 final int originalHeight = lp.height; in setIcon() local
484 mFinalDrawableBounds.set(0, 0, originalWidth, originalHeight); in setIcon()
492 mStartRevealRect.set(0, 0, originalWidth, originalHeight); in setIcon()
531 float scale = Math.max((float) lp.height / originalHeight, in setIcon()
536 mOutline.set(0, 0, originalWidth, originalHeight); in setIcon()
/packages/apps/Launcher3/src/com/android/launcher3/popup/
DPopupContainerWithArrow.java351 int originalHeight = getResources().getDimensionPixelSize(R.dimen.bg_popup_item_height); in updateHiddenShortcuts() local
354 : originalHeight; in updateHiddenShortcuts()
355 float iconScale = ((float) itemHeight) / originalHeight; in updateHiddenShortcuts()
/packages/apps/Camera2/src/com/android/camera/
DPhotoModule.java828 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/Camera2/src/com/android/camera/one/v2/
DOneCameraZslImpl.java993 private Size getImageSizeForOrientation(int originalWidth, int originalHeight, in getImageSizeForOrientation() argument
996 return new Size(originalWidth, originalHeight); in getImageSizeForOrientation()
998 return new Size(originalHeight, originalWidth); in getImageSizeForOrientation()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
DGeometryMathUtils.java374 float originalHeight, float viewWidth, float viewHeight) { in getOriginalToScreen() argument
381 (int) originalHeight, (int) viewWidth, (int) viewHeight); in getOriginalToScreen()