Home
last modified time | relevance | path

Searched refs:outHeight (Results 1 – 11 of 11) sorted by relevance

/aosp14/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/
H A DWallpaperCropActivity.java426 final int outHeight = (int) Math.round(cropRect.height() * cropScale); in cropImageAndSetWallpaper()
437 cropRect, cropRotation, outWidth, outHeight, true, false, onEndCrop); in cropImageAndSetWallpaper()
467 RectF cropBounds, int rotation, int outWidth, int outHeight,
476 RectF cropBounds, int rotation, int outWidth, int outHeight,
484 RectF cropBounds, int rotation, int outWidth, int outHeight,
493 RectF cropBounds, int rotation, int outWidth, int outHeight,
507 mOutHeight = outHeight;
556 if (options.outWidth != 0 && options.outHeight != 0) {
557 return new Point(options.outWidth, options.outHeight);
814 if (inWidth / (float) inHeight > outWidth / (float) outHeight) {
[all …]
/aosp14/frameworks/base/services/core/java/com/android/server/wallpaper/
H A DWallpaperCropper.java93 if (options.outWidth <= 0 || options.outHeight <= 0) { in generateCropInternal()
104 cropHint.bottom = options.outHeight; in generateCropInternal()
108 int dy = cropHint.bottom > options.outHeight in generateCropInternal()
109 ? options.outHeight - cropHint.bottom : 0; in generateCropInternal()
121 needCrop = (options.outHeight > cropHint.height() in generateCropInternal()
145 Slog.v(TAG, "meas: w=" + options.outWidth + " h=" + options.outHeight); in generateCropInternal()
164 long estimateSize = (long) options.outWidth * options.outHeight * 4; in generateCropInternal()
/aosp14/frameworks/base/core/java/android/app/
H A DWallpaperManager.java1014 public Drawable getBuiltInDrawable(int outWidth, int outHeight, in getBuiltInDrawable() argument
1016 return getBuiltInDrawable(outWidth, outHeight, scaleToFit, in getBuiltInDrawable()
1057 if (outWidth <= 0 || outHeight <= 0) { in getBuiltInDrawable()
1070 inHeight = options.outHeight; in getBuiltInDrawable()
1084 outHeight = Math.min(inHeight, outHeight); in getBuiltInDrawable()
1092 float bottom = top + outHeight; in getBuiltInDrawable()
1105 roundedTrueCrop.height() / outHeight); in getBuiltInDrawable()
1149 if (outWidth > 0 && outHeight > 0 && in getBuiltInDrawable()
1175 if (inWidth / (float) inHeight > outWidth / (float) outHeight) { in getMaxCropRect()
1178 float cropWidth = outWidth * (inHeight / (float) outHeight); in getMaxCropRect()
[all …]
H A DDisabledWallpaperManager.java98 public Drawable getBuiltInDrawable(int outWidth, int outHeight, boolean scaleToFit, in getBuiltInDrawable() argument
104 public Drawable getBuiltInDrawable(int outWidth, int outHeight, boolean scaleToFit, in getBuiltInDrawable() argument
/aosp14/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/ui/
H A DUtils.java99 final int height = options.outHeight; in calculateInSampleSize()
/aosp14/frameworks/base/libs/hwui/jni/
H A DBitmapRegionDecoder.cpp93 bool decodeGainmapRegion(sp<uirenderer::Gainmap>* outGainmap, int outWidth, int outHeight, in decodeGainmapRegion() argument
113 outWidth, outHeight, decodeColorType, kPremul_SkAlphaType, decodeColorSpace)); in decodeGainmapRegion()
/aosp14/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
H A DExifInterfaceTest.java506 assertEquals(expectedOptions.outHeight, actualOptions.outHeight); in assertBitmapsEquivalent()
/aosp14/frameworks/base/graphics/java/android/graphics/
H A DBitmapFactory.java385 public int outHeight; field in BitmapFactory.Options
/aosp14/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
H A DCameraTestUtils.java1436 assertEquals(height, bmpOptions.outHeight); in validateJpegData()
/aosp14/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/aosp14/frameworks/base/core/api/
H A Dcurrent.txt15051 field public int outHeight;