Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/views/
DClipIconView.java289 final int originalHeight = lp.height; in setIcon() local
293 mFinalDrawableBounds.set(0, 0, originalWidth, originalHeight); in setIcon()
301 mStartRevealRect.set(0, 0, originalWidth, originalHeight); in setIcon()
318 float scale = Math.max((float) lp.height / originalHeight, in setIcon()
323 mOutline.set(0, 0, originalWidth, originalHeight); in setIcon()
DFloatingIconView.java325 final int originalHeight = lp.height; in setIcon() local
328 mFinalDrawableBounds.set(0, 0, originalWidth, originalHeight); in setIcon()
/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/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()