Home
last modified time | relevance | path

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

12

/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/
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,
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/
DWallpaperManager.java786 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 …]
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
/frameworks/base/services/core/java/com/android/server/wallpaper/
DWallpaperCropper.java476 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/
DBitmapUtils.kt46 val size = Size(options.outWidth, options.outHeight) in getBitmapSize()
/frameworks/av/cmds/screenrecord/
Dscreenrecord.cpp299 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/
DDecodeTask.java227 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/
DUtils.java99 final int height = options.outHeight; in calculateInSampleSize()
/frameworks/base/libs/hwui/jni/
DBitmapRegionDecoder.cpp90 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/
DGraphicBufferMapper.cpp242 status_t GraphicBufferMapper::getHeight(buffer_handle_t bufferHandle, uint64_t* outHeight) { in getHeight() argument
243 return mMapper->getHeight(bufferHandle, outHeight); in getHeight()
DGralloc5.cpp771 status_t Gralloc5Mapper::getHeight(buffer_handle_t bufferHandle, uint64_t *outHeight) const { in getHeight()
774 *outHeight = *value; in getHeight()
DGralloc4.cpp545 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/
DSessionConfigurationUtils.h102 /*out*/int32_t* outWidth, /*out*/int32_t* outHeight);
DSessionConfigurationUtils.cpp160 /*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/
DImageUtils.java202 return new Point(opts.outWidth, opts.outHeight); in getImageBounds()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DExifInterfaceTest.java506 assertEquals(expectedOptions.outHeight, actualOptions.outHeight); in assertBitmapsEquivalent()
/frameworks/native/libs/ui/include_vndk/ui/
DGraphicBufferMapper.h133 status_t getHeight(buffer_handle_t bufferHandle, uint64_t* outHeight);
/frameworks/native/libs/ui/include/ui/
DGralloc5.h74 uint64_t *outHeight) const override;
DGraphicBufferMapper.h133 status_t getHeight(buffer_handle_t bufferHandle, uint64_t* outHeight);
DGralloc4.h74 status_t getHeight(buffer_handle_t bufferHandle, uint64_t* outHeight) const override;
/frameworks/native/libs/gralloc/types/
DGralloc4.cpp968 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/
DBitmapFactory.java388 public int outHeight; field in BitmapFactory.Options
/frameworks/native/libs/gralloc/types/include/gralloctypes/
DGralloc4.h272 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/
DWallpaperBackupAgent.java609 Point bitmapSize = new Point(options.outWidth, options.outHeight); in restoreFromStage()
/frameworks/ex/common/java/com/android/ex/editstyledtext/
DEditStyledText.java1944 height = opt.outHeight; in SetHtml()
2639 height = opt.outHeight; in getDrawable()

12