/aosp14/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/ |
H A D | WallpaperCropActivity.java | 426 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 D | WallpaperCropper.java | 93 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 D | WallpaperManager.java | 1014 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 D | DisabledWallpaperManager.java | 98 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 D | Utils.java | 99 final int height = options.outHeight; in calculateInSampleSize()
|
/aosp14/frameworks/base/libs/hwui/jni/ |
H A D | BitmapRegionDecoder.cpp | 93 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 D | ExifInterfaceTest.java | 506 assertEquals(expectedOptions.outHeight, actualOptions.outHeight); in assertBitmapsEquivalent()
|
/aosp14/frameworks/base/graphics/java/android/graphics/ |
H A D | BitmapFactory.java | 385 public int outHeight; field in BitmapFactory.Options
|
/aosp14/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/ |
H A D | CameraTestUtils.java | 1436 assertEquals(height, bmpOptions.outHeight); in validateJpegData()
|
/aosp14/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
H A D | android-33.jar | AndroidManifest.xml
META-INF/
META-INF/MANIFEST.MF
NOTICES/
NOTICES/libcore ... |
/aosp14/frameworks/base/core/api/ |
H A D | current.txt | 15051 field public int outHeight;
|