Home
last modified time | relevance | path

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

/frameworks/ml/nn/runtime/test/fuzzing/operation_signatures/
DResize.cpp32 RandomVariable outHeight, outWidth; in resizeOpConstructor() local
37 outHeight = op->inputs[2]->value<RandomVariable>(); in resizeOpConstructor()
42 outHeight = op->inputs[0]->dimensions[heightIndex] * op->inputs[2]->value<float>(); in resizeOpConstructor()
47 outHeight = op->inputs[0]->dimensions[heightIndex] * in resizeOpConstructor()
56 outHeight, outWidth}; in resizeOpConstructor()
58 op->outputs[0]->dimensions = {op->inputs[0]->dimensions[0], outHeight, outWidth, in resizeOpConstructor()
DReshape.cpp35 auto outHeight = op->inputs[0]->dimensions[heightIndex].exactDiv(blockSize); in spaceToDepthConstructor() local
40 op->outputs[0]->dimensions = {op->inputs[0]->dimensions[0], outDepth, outHeight, outWidth}; in spaceToDepthConstructor()
42 op->outputs[0]->dimensions = {op->inputs[0]->dimensions[0], outHeight, outWidth, outDepth}; in spaceToDepthConstructor()
88 auto outHeight = op->inputs[0]->dimensions[heightIndex] * blockSize; in depthToSpaceConstructor() local
93 op->outputs[0]->dimensions = {op->inputs[0]->dimensions[0], outDepth, outHeight, outWidth}; in depthToSpaceConstructor()
95 op->outputs[0]->dimensions = {op->inputs[0]->dimensions[0], outHeight, outWidth, outDepth}; in depthToSpaceConstructor()
176 auto outHeight = op->inputs[0]->dimensions[heightIndex] * blockHeight; in batchToSpaceConstructor() local
180 op->outputs[0]->dimensions = {outBatch, op->inputs[0]->dimensions[1], outHeight, outWidth}; in batchToSpaceConstructor()
182 op->outputs[0]->dimensions = {outBatch, outHeight, outWidth, op->inputs[0]->dimensions[3]}; in batchToSpaceConstructor()
240 auto outHeight = paddedHeight.exactDiv(blockHeight); in spaceToBatchConstructor() local
[all …]
DBoundingBox.cpp53 auto outHeight = op->inputs[3]->value<RandomVariable>(); in roiConstructor() local
56 op->outputs[0]->dimensions = {outBatch, outDepth, outHeight, outWidth}; in roiConstructor()
58 op->outputs[0]->dimensions = {outBatch, outHeight, outWidth, outDepth}; in roiConstructor()
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/
DWallpaperCropActivity.java429 final int outHeight = (int) Math.round(cropRect.height() * cropScale); in cropImageAndSetWallpaper()
440 cropRect, cropRotation, outWidth, outHeight, true, false, onEndCrop); in cropImageAndSetWallpaper()
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, setWallpaper, saveCroppedBitmap, onEndRunnable);
[all …]
/frameworks/base/core/java/com/android/internal/widget/
DLocalImageResolver.java40 if ((onlyBoundsOptions.outWidth == -1) || (onlyBoundsOptions.outHeight == -1)) { in resolveImage()
45 (onlyBoundsOptions.outHeight > onlyBoundsOptions.outWidth) in resolveImage()
46 ? onlyBoundsOptions.outHeight in resolveImage()
/frameworks/base/core/java/android/app/
DWallpaperManager.java588 public Drawable getBuiltInDrawable(int outWidth, int outHeight, in getBuiltInDrawable() argument
590 return getBuiltInDrawable(outWidth, outHeight, scaleToFit, in getBuiltInDrawable()
610 public Drawable getBuiltInDrawable(int outWidth, int outHeight, boolean scaleToFit, in getBuiltInDrawable() argument
633 if (outWidth <= 0 || outHeight <= 0) { in getBuiltInDrawable()
644 if (options.outWidth != 0 && options.outHeight != 0) { in getBuiltInDrawable()
646 inHeight = options.outHeight; in getBuiltInDrawable()
660 outHeight = Math.min(inHeight, outHeight); in getBuiltInDrawable()
662 cropRectF = getMaxCropRect(inWidth, inHeight, outWidth, outHeight, in getBuiltInDrawable()
667 float top = (inHeight - outHeight) * verticalAlignment; in getBuiltInDrawable()
668 float bottom = top + outHeight; in getBuiltInDrawable()
[all …]
/frameworks/av/cmds/screenrecord/
Dscreenrecord.cpp291 uint32_t outWidth, outHeight; in setDisplayProjection() local
302 outHeight = (uint32_t)(videoWidth * displayAspect); in setDisplayProjection()
305 outHeight = videoHeight; in setDisplayProjection()
310 offY = (videoHeight - outHeight) / 2; in setDisplayProjection()
311 Rect displayRect(offX, offY, offX + outWidth, offY + outHeight); in setDisplayProjection()
316 outHeight, outWidth, offY, offX); in setDisplayProjection()
320 outWidth, outHeight, offX, offY); in setDisplayProjection()
/frameworks/ml/nn/common/operations/
DRoiAlign.cpp66 uint32_t outHeight = getSizeOfDimension(outputShape, 1); in roiAlignNhwc() local
101 T_Roi hStepSize = roiHeight / static_cast<T_Roi>(outHeight); in roiAlignNhwc()
114 for (uint32_t i = 0; i < outHeight; i++) { in roiAlignNhwc()
194 uint32_t outHeight = getSizeOfDimension(outputShape, 1); in roiAlignNhwc() local
225 float hStepSize = roiHeight / static_cast<float>(outHeight); in roiAlignNhwc()
244 for (uint32_t i = 0; i < outHeight; i++) { in roiAlignNhwc()
DRoiPooling.cpp62 uint32_t outHeight = getSizeOfDimension(outputShape, 1); in roiPoolingNhwc() local
98 T_Roi hStepSize = roiHeight / static_cast<T_Roi>(outHeight); in roiPoolingNhwc()
101 for (uint32_t i = 0; i < outHeight; i++) { in roiPoolingNhwc()
DPooling.cpp319 uint32_t outHeight = computeOutSize(height, param.filter_height, param.stride_height, in prepare() local
324 output.dimensions = {batches, channels, outHeight, outWidth}; in prepare()
326 output.dimensions = {batches, outHeight, outWidth, channels}; in prepare()
DTransposeConv2D.cpp506 uint32_t outHeight = computeOutSizeTransposeConv(height, filterHeight, param.strideHeight, in prepare() local
509 NN_RET_CHECK_GT(outHeight, 0); in prepare()
514 output.dimensions = {batches, channels_out, outHeight, outWidth}; in prepare()
516 output.dimensions = {batches, outHeight, outWidth, channels_out}; in prepare()
DConv2D.cpp124 uint32_t outHeight = getSizeOfDimension(outputShape, 1); \
536 uint32_t outHeight = in prepare() local
543 output.dimensions = {batches, channels_out, outHeight, outWidth}; in prepare()
545 output.dimensions = {batches, outHeight, outWidth, channels_out}; in prepare()
DDepthwiseConv2D.cpp59 uint32_t outHeight = getSizeOfDimension(outputShape, 1); \
/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/ml/nn/common/
DOperationsUtils.cpp389 uint32_t outHeight = computeOutSize(height, filterHeight, stride_height, dilation_height_factor, in depthwiseConvPrepare() local
393 output->dimensions = {batches, outHeight, outWidth, channels_out}; in depthwiseConvPrepare()
903 uint32_t outHeight = in groupedConvPrepare() local
907 output->dimensions = {batches, outHeight, outWidth, channels_out}; in groupedConvPrepare()
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/
DImageUtils.java202 return new Point(opts.outWidth, opts.outHeight); in getImageBounds()
/frameworks/av/services/camera/libcameraservice/api2/
DCameraDeviceClient.h269 /*out*/int32_t* outWidth, /*out*/int32_t* outHeight);
DCameraDeviceClient.cpp1458 /*out*/int32_t* outWidth, /*out*/int32_t* outHeight) { in roundBufferDimensionNearest() argument
1501 if (outHeight != NULL) { in roundBufferDimensionNearest()
1502 *outHeight = bestHeight; in roundBufferDimensionNearest()
/frameworks/base/graphics/java/android/graphics/
DBitmapFactory.java378 public int outHeight; field in BitmapFactory.Options
/frameworks/base/services/core/java/com/android/server/wallpaper/
DWallpaperManagerService.java589 if (options.outWidth <= 0 || options.outHeight <= 0) { in generateCrop()
600 cropHint.bottom = options.outHeight; in generateCrop()
605 … (cropHint.bottom > options.outHeight ? options.outHeight - cropHint.bottom : 0)); in generateCrop()
616 needCrop = (options.outHeight > cropHint.height() in generateCrop()
640 Slog.v(TAG, "meas: w=" + options.outWidth + " h=" + options.outHeight); in generateCrop()
/frameworks/base/media/java/android/media/
DMediaScanner.java877 mBitmapOptions.outHeight = 0;
880 mHeight = mBitmapOptions.outHeight;
/frameworks/ex/common/java/com/android/ex/editstyledtext/
DEditStyledText.java1944 height = opt.outHeight; in SetHtml()
2639 height = opt.outHeight; in getDrawable()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
DCameraTestUtils.java1436 assertEquals(height, bmpOptions.outHeight); in validateJpegData()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...