Searched refs:outHeight (Results 1 - 25 of 27) sorted by relevance

12

/frameworks/base/core/java/com/android/internal/widget/
H A DLocalImageResolver.java41 if ((onlyBoundsOptions.outWidth == -1) || (onlyBoundsOptions.outHeight == -1)) {
46 (onlyBoundsOptions.outHeight > onlyBoundsOptions.outWidth)
47 ? onlyBoundsOptions.outHeight
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/
H A DWallpaperCropActivity.java429 final int outHeight = (int) Math.round(cropRect.height() * cropScale);
440 cropRect, cropRotation, outWidth, outHeight, true, false, onEndCrop);
470 RectF cropBounds, int rotation, int outWidth, int outHeight,
475 outWidth, outHeight, setWallpaper, saveCroppedBitmap, onEndRunnable);
479 RectF cropBounds, int rotation, int outWidth, int outHeight,
483 outWidth, outHeight, setWallpaper, saveCroppedBitmap, onEndRunnable);
487 RectF cropBounds, int rotation, int outWidth, int outHeight,
492 outWidth, outHeight, setWallpaper, saveCroppedBitmap, onEndRunnable);
496 RectF cropBounds, int rotation, int outWidth, int outHeight,
502 outWidth, outHeight, setWallpape
469 BitmapCropTask(Context c, String filePath, RectF cropBounds, int rotation, int outWidth, int outHeight, boolean setWallpaper, boolean saveCroppedBitmap, Runnable onEndRunnable) argument
478 BitmapCropTask(byte[] imageBytes, RectF cropBounds, int rotation, int outWidth, int outHeight, boolean setWallpaper, boolean saveCroppedBitmap, Runnable onEndRunnable) argument
486 BitmapCropTask(Context c, Uri inUri, RectF cropBounds, int rotation, int outWidth, int outHeight, boolean setWallpaper, boolean saveCroppedBitmap, Runnable onEndRunnable) argument
495 BitmapCropTask(Context c, Resources res, int inResId, RectF cropBounds, int rotation, int outWidth, int outHeight, boolean setWallpaper, boolean saveCroppedBitmap, Runnable onEndRunnable) argument
505 init(RectF cropBounds, int rotation, int outWidth, int outHeight, boolean setWallpaper, boolean saveCroppedBitmap, Runnable onEndRunnable) argument
813 getMaxCropRect( int inWidth, int inHeight, int outWidth, int outHeight, boolean leftAligned) argument
[all...]
/frameworks/base/core/java/android/app/
H A DWallpaperManager.java582 public Drawable getBuiltInDrawable(int outWidth, int outHeight, argument
584 return getBuiltInDrawable(outWidth, outHeight, scaleToFit,
604 public Drawable getBuiltInDrawable(int outWidth, int outHeight, boolean scaleToFit, argument
627 if (outWidth <= 0 || outHeight <= 0) {
638 if (options.outWidth != 0 && options.outHeight != 0) {
640 inHeight = options.outHeight;
654 outHeight = Math.min(inHeight, outHeight);
656 cropRectF = getMaxCropRect(inWidth, inHeight, outWidth, outHeight,
661 float top = (inHeight - outHeight) * verticalAlignmen
741 getMaxCropRect(int inWidth, int inHeight, int outWidth, int outHeight, float horizontalAlignment, float verticalAlignment) argument
[all...]
/frameworks/support/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/media/utils/
H A DBitmapHelper.java59 int actualH = bmOptions.outHeight;
/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/media/utils/
H A DBitmapHelper.java59 int actualH = bmOptions.outHeight;
/frameworks/base/libs/hwui/renderstate/
H A DRenderState.h72 void getViewport(GLsizei* outWidth, GLsizei* outHeight);
H A DRenderState.cpp140 void RenderState::getViewport(GLsizei* outWidth, GLsizei* outHeight) { argument
142 *outHeight = mViewportHeight;
/frameworks/base/media/java/android/media/
H A DThumbnailUtils.java115 || options.outHeight == -1) {
276 double h = options.outHeight;
321 || options.outHeight == -1) {
512 int height = exifOptions.outHeight;
H A DMediaScanner.java825 mBitmapOptions.outHeight = 0;
828 mHeight = mBitmapOptions.outHeight;
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/ui/
H A DUtils.java99 final int height = options.outHeight;
/frameworks/ml/nn/common/operations/
H A DDepthwiseConv2D.cpp31 uint32_t outHeight = getSizeOfDimension(outputShape, 1); \
H A DConv2D.cpp39 uint32_t outHeight = getSizeOfDimension(outputShape, 1); \
H A DPooling.cpp28 uint32_t outHeight = getSizeOfDimension(outputShape, 1); \
/frameworks/av/cmds/screenrecord/
H A Dscreenrecord.cpp275 uint32_t outWidth, outHeight; local
286 outHeight = (uint32_t)(videoWidth * displayAspect);
289 outHeight = videoHeight;
294 offY = (videoHeight - outHeight) / 2;
295 Rect displayRect(offX, offY, offX + outWidth, offY + outHeight);
300 outHeight, outWidth, offY, offX);
304 outWidth, outHeight, offX, offY);
/frameworks/opt/bitmap/src/com/android/bitmap/
H A DDecodeTask.java227 srcH = mOpts.outHeight;
229 srcW = mOpts.outHeight;
413 result.setLogicalHeight(mOpts.outHeight);
/frameworks/ml/nn/common/
H A DOperationsUtils.cpp266 uint32_t outHeight = computeOutSize(height, filterHeight, stride_height,
270 output->dimensions = {batches, outHeight, outWidth, channels_out};
302 uint32_t outHeight = computeOutSize(height, filterHeight, stride_height,
306 output->dimensions = {batches, outHeight, outWidth, channels_out};
326 uint32_t outHeight = computeOutSize(height, filter_height, stride_height,
330 output->dimensions = {batches, outHeight, outWidth, channels_out};
/frameworks/av/services/camera/libcameraservice/api2/
H A DCameraDeviceClient.h253 /*out*/int32_t* outWidth, /*out*/int32_t* outHeight);
H A DCameraDeviceClient.cpp1157 /*out*/int32_t* outWidth, /*out*/int32_t* outHeight) {
1198 if (outHeight != NULL) {
1199 *outHeight = bestHeight;
1155 roundBufferDimensionNearest(int32_t width, int32_t height, int32_t format, android_dataspace dataSpace, const CameraMetadata& info, int32_t* outWidth, int32_t* outHeight) argument
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/
H A DImageUtils.java140 * size be returned (in opts.outWidth and opts.outHeight)
202 return new Point(opts.outWidth, opts.outHeight);
/frameworks/base/graphics/java/android/graphics/
H A DBitmapFactory.java378 * <p>outHeight will be set to -1 if there is an error trying to decode.</p>
380 public int outHeight; field in class:BitmapFactory.Options
430 * or if inJustDecodeBounds is true, will set outWidth/outHeight
472 * size be returned (in opts.outWidth and opts.outHeight)
557 * size be returned (in opts.outWidth and opts.outHeight)
617 * size be returned (in opts.outWidth and opts.outHeight)
701 * size be returned (in opts.outWidth and opts.outHeight)
/frameworks/av/packages/MediaComponents/src/com/android/support/mediarouter/app/
H A DMediaRouteControllerDialog.java1406 if (options.outWidth == 0 || options.outHeight == 0) {
1422 int reqHeight = getDesiredArtHeight(options.outWidth, options.outHeight);
1423 int ratio = options.outHeight / reqHeight;
/frameworks/support/mediarouter/src/main/java/androidx/mediarouter/app/
H A DMediaRouteControllerDialog.java1399 if (options.outWidth == 0 || options.outHeight == 0) {
1415 int reqHeight = getDesiredArtHeight(options.outWidth, options.outHeight);
1416 int ratio = options.outHeight / reqHeight;
/frameworks/support/print/src/main/java/androidx/print/
H A DPrintHelper.java740 int h = opt.outHeight;
/frameworks/base/services/core/java/com/android/server/wallpaper/
H A DWallpaperManagerService.java637 if (options.outWidth <= 0 || options.outHeight <= 0) {
648 cropHint.bottom = options.outHeight;
653 (cropHint.bottom > options.outHeight ? options.outHeight - cropHint.bottom : 0));
664 needCrop = (options.outHeight > cropHint.height()
674 Slog.v(TAG, "meas: w=" + options.outWidth + " h=" + options.outHeight);
/frameworks/base/core/java/android/provider/
H A DDocumentsContract.java1104 final int heightSample = opts.outHeight / size.y;

Completed in 627 milliseconds

12