Home
last modified time | relevance | path

Searched refs:originalWidth (Results 1 – 9 of 9) 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/Settings/src/com/android/settings/biometrics/fingerprint/
DFingerprintLocationAnimationVideoView.java51 int originalWidth = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() local
52 int height = Math.round(mAspect * originalWidth); in onMeasure()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/biometrics/fingerprint/
DFingerprintLocationAnimationVideoView.java51 int originalWidth = MeasureSpec.getSize(widthMeasureSpec); in onMeasure() local
52 int height = Math.round(mAspect * originalWidth); in onMeasure()
/packages/apps/Launcher3/src/com/android/launcher3/views/
DFloatingIconView.java473 final int originalWidth = lp.width; in setIcon() local
476 mFinalDrawableBounds.set(0, 0, originalWidth, originalHeight); in setIcon()
484 mStartRevealRect.set(0, 0, originalWidth, originalHeight); in setIcon()
521 (float) lp.width / originalWidth); in setIcon()
525 mOutline.set(0, 0, originalWidth, originalHeight); in setIcon()
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/
DDrawableDownloader.java80 public BitmapItem(int originalWidth, int originalHeight) { in BitmapItem() argument
81 mOriginalWidth = originalWidth; in BitmapItem()
/packages/apps/Camera2/src/com/android/camera/
DPhotoModule.java827 int originalWidth = original.getWidth(); in cropJpegDataToAspectRatio() local
832 if (originalWidth > originalHeight) { in cropJpegDataToAspectRatio()
833 newHeight = (int) (originalWidth / targetAspectRatio); in cropJpegDataToAspectRatio()
834 newWidth = originalWidth; in cropJpegDataToAspectRatio()
839 int xOffset = (originalWidth - newWidth)/2; in cropJpegDataToAspectRatio()
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
DUtils.java673 double originalWidth = originalBitmap.getWidth(); in getReducedSizeBitmap() local
677 scaleX = newWidth / originalWidth; in getReducedSizeBitmap()
680 newWidth = (int)Math.round(originalWidth * scale); in getReducedSizeBitmap()
/packages/apps/Camera2/src/com/android/camera/one/v2/
DOneCameraZslImpl.java992 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/
DGeometryMathUtils.java373 float originalWidth, in getOriginalToScreen() argument
380 Matrix m = getCropSelectionToScreenMatrix(null, holder, (int) originalWidth, in getOriginalToScreen()