/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/ |
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, 472 outWidth, outHeight, setWallpaper, saveCroppedBitmap, onEndRunnable); 476 RectF cropBounds, int rotation, int outWidth, int outHeight, 480 outWidth, outHeight, setWallpaper, saveCroppedBitmap, onEndRunnable); 484 RectF cropBounds, int rotation, int outWidth, int outHeight, 489 outWidth, outHeight, setWallpaper, saveCroppedBitmap, onEndRunnable); 493 RectF cropBounds, int rotation, int outWidth, int outHeight, 499 outWidth, outHeight, setWallpaper, saveCroppedBitmap, onEndRunnable); [all …]
|
/frameworks/base/core/java/android/app/ |
D | WallpaperManager.java | 786 dimensions = new Rect(0, 0, options.outWidth, options.outHeight); in peekWallpaperDimensions() 803 dimensions = new Rect(0, 0, options.outWidth, options.outHeight); in peekWallpaperDimensions() 1088 public Drawable getBuiltInDrawable(int outWidth, int outHeight, in getBuiltInDrawable() argument 1090 return getBuiltInDrawable(outWidth, outHeight, scaleToFit, in getBuiltInDrawable() 1110 public Drawable getBuiltInDrawable(int outWidth, int outHeight, boolean scaleToFit, in getBuiltInDrawable() argument 1131 if (outWidth <= 0 || outHeight <= 0) { in getBuiltInDrawable() 1142 if (options.outWidth != 0 && options.outHeight != 0) { in getBuiltInDrawable() 1144 inHeight = options.outHeight; in getBuiltInDrawable() 1158 outHeight = Math.min(inHeight, outHeight); in getBuiltInDrawable() 1160 cropRectF = getMaxCropRect(inWidth, inHeight, outWidth, outHeight, in getBuiltInDrawable() [all …]
|
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
|
/frameworks/base/services/core/java/com/android/server/wallpaper/ |
D | WallpaperCropper.java | 476 if (options.outWidth <= 0 || options.outHeight <= 0) { in generateCropInternal() 482 Point bitmapSize = new Point(options.outWidth, options.outHeight); in generateCropInternal() 567 cropHint.bottom = options.outHeight; in generateCropInternal() 571 int dy = cropHint.bottom > options.outHeight in generateCropInternal() 572 ? options.outHeight - cropHint.bottom : 0; in generateCropInternal() 585 needCrop = (options.outHeight > cropHint.height() in generateCropInternal() 636 Slog.v(TAG, "meas: w=" + options.outWidth + " h=" + options.outHeight); in generateCropInternal() 655 long estimateSize = (long) options.outWidth * options.outHeight * 4; in generateCropInternal()
|
/frameworks/libs/systemui/toruslib/torus-utils/src/main/java/com/google/android/torus/utils/ |
D | BitmapUtils.kt | 46 val size = Size(options.outWidth, options.outHeight) in getBitmapSize()
|
/frameworks/av/cmds/screenrecord/ |
D | screenrecord.cpp | 299 uint32_t outWidth, outHeight; in setDisplayProjection() local 310 outHeight = (uint32_t)(videoWidth * displayAspect); in setDisplayProjection() 313 outHeight = videoHeight; in setDisplayProjection() 318 offY = (videoHeight - outHeight) / 2; in setDisplayProjection() 319 Rect displayRect(offX, offY, offX + outWidth, offY + outHeight); in setDisplayProjection() 324 outHeight, outWidth, offY, offX); in setDisplayProjection() 328 outWidth, outHeight, offX, offY); in setDisplayProjection()
|
/frameworks/opt/bitmap/src/com/android/bitmap/ |
D | DecodeTask.java | 227 srcH = mOpts.outHeight; in decode() 229 srcW = mOpts.outHeight; in decode() 413 result.setLogicalHeight(mOpts.outHeight); in decode()
|
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/ui/ |
D | Utils.java | 99 final int height = options.outHeight; in calculateInSampleSize()
|
/frameworks/base/libs/hwui/jni/ |
D | BitmapRegionDecoder.cpp | 90 bool decodeGainmapRegion(sp<uirenderer::Gainmap>* outGainmap, int outWidth, int outHeight, in decodeGainmapRegion() argument 110 outWidth, outHeight, decodeColorType, kPremul_SkAlphaType, decodeColorSpace)); in decodeGainmapRegion()
|
/frameworks/native/libs/ui/ |
D | GraphicBufferMapper.cpp | 242 status_t GraphicBufferMapper::getHeight(buffer_handle_t bufferHandle, uint64_t* outHeight) { in getHeight() argument 243 return mMapper->getHeight(bufferHandle, outHeight); in getHeight()
|
D | Gralloc5.cpp | 771 status_t Gralloc5Mapper::getHeight(buffer_handle_t bufferHandle, uint64_t *outHeight) const { in getHeight() 774 *outHeight = *value; in getHeight()
|
D | Gralloc4.cpp | 545 status_t Gralloc4Mapper::getHeight(buffer_handle_t bufferHandle, uint64_t* outHeight) const { in getHeight() 546 return get(bufferHandle, gralloc4::MetadataType_Height, gralloc4::decodeHeight, outHeight); in getHeight()
|
/frameworks/av/services/camera/libcameraservice/utils/ |
D | SessionConfigurationUtils.h | 102 /*out*/int32_t* outWidth, /*out*/int32_t* outHeight);
|
D | SessionConfigurationUtils.cpp | 160 /*out*/int32_t* outHeight) { in roundBufferDimensionNearest() argument 217 if (outHeight != NULL) { in roundBufferDimensionNearest() 218 *outHeight = bestHeight; in roundBufferDimensionNearest()
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/ |
D | ImageUtils.java | 202 return new Point(opts.outWidth, opts.outHeight); in getImageBounds()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
D | ExifInterfaceTest.java | 506 assertEquals(expectedOptions.outHeight, actualOptions.outHeight); in assertBitmapsEquivalent()
|
/frameworks/native/libs/ui/include_vndk/ui/ |
D | GraphicBufferMapper.h | 133 status_t getHeight(buffer_handle_t bufferHandle, uint64_t* outHeight);
|
/frameworks/native/libs/ui/include/ui/ |
D | Gralloc5.h | 74 uint64_t *outHeight) const override;
|
D | GraphicBufferMapper.h | 133 status_t getHeight(buffer_handle_t bufferHandle, uint64_t* outHeight);
|
D | Gralloc4.h | 74 status_t getHeight(buffer_handle_t bufferHandle, uint64_t* outHeight) const override;
|
/frameworks/native/libs/gralloc/types/ |
D | Gralloc4.cpp | 968 status_t encodeHeight(uint64_t height, hidl_vec<uint8_t>* outHeight) { in encodeHeight() argument 969 return encodeMetadata(MetadataType_Height, height, outHeight, encodeInteger); in encodeHeight() 972 status_t decodeHeight(const hidl_vec<uint8_t>& height, uint64_t* outHeight) { in decodeHeight() argument 973 return decodeMetadata(MetadataType_Height, height, outHeight, decodeInteger); in decodeHeight()
|
/frameworks/base/graphics/java/android/graphics/ |
D | BitmapFactory.java | 388 public int outHeight; field in BitmapFactory.Options
|
/frameworks/native/libs/gralloc/types/include/gralloctypes/ |
D | Gralloc4.h | 272 status_t encodeHeight(uint64_t height, android::hardware::hidl_vec<uint8_t>* outHeight); 273 status_t decodeHeight(const android::hardware::hidl_vec<uint8_t>& height, uint64_t* outHeight);
|
/frameworks/base/packages/WallpaperBackup/src/com/android/wallpaperbackup/ |
D | WallpaperBackupAgent.java | 609 Point bitmapSize = new Point(options.outWidth, options.outHeight); in restoreFromStage()
|
/frameworks/ex/common/java/com/android/ex/editstyledtext/ |
D | EditStyledText.java | 1944 height = opt.outHeight; in SetHtml() 2639 height = opt.outHeight; in getDrawable()
|