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.java246 final int originalHeight = lp.height; in setIcon() local
250 mFinalDrawableBounds.set(0, 0, originalWidth, originalHeight); in setIcon()
258 mStartRevealRect.set(0, 0, originalWidth, originalHeight); in setIcon()
276 float scale = Math.max((float) lp.height / originalHeight, in setIcon()
281 mOutline.set(0, 0, originalWidth, originalHeight); in setIcon()
DFloatingIconView.java366 final int originalHeight = lp.height; in setIcon() local
369 mFinalDrawableBounds.set(0, 0, originalWidth, originalHeight); in setIcon()
/packages/apps/Camera2/src/com/android/camera/processing/imagebackend/
DTaskCompressImageToJpeg.java449 private Size getImageSizeForOrientation(int originalWidth, int originalHeight, in getImageSizeForOrientation() argument
453 return new Size(originalWidth, originalHeight); in getImageSizeForOrientation()
456 return new Size(originalHeight, originalWidth); in getImageSizeForOrientation()
459 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/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()
/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()