Home
last modified time | relevance | path

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

/frameworks/ml/nn/runtime/test/fuzzing/operation_signatures/
DResize.cpp32 RandomVariable outHeight, outWidth; in resizeOpConstructor() local
36 outWidth = op->inputs[1]->value<RandomVariable>(); in resizeOpConstructor()
41 outWidth = op->inputs[0]->dimensions[widthIndex] * op->inputs[1]->value<float>(); in resizeOpConstructor()
45 outWidth = op->inputs[0]->dimensions[widthIndex] * in resizeOpConstructor()
56 outHeight, outWidth}; in resizeOpConstructor()
58 op->outputs[0]->dimensions = {op->inputs[0]->dimensions[0], outHeight, outWidth, in resizeOpConstructor()
DReshape.cpp36 auto outWidth = op->inputs[0]->dimensions[widthIndex].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()
89 auto outWidth = op->inputs[0]->dimensions[widthIndex] * 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()
177 auto outWidth = op->inputs[0]->dimensions[widthIndex] * blockWidth; 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()
241 auto outWidth = paddedWidth.exactDiv(blockWidth); in spaceToBatchConstructor() local
[all …]
DBoundingBox.cpp54 auto outWidth = op->inputs[4]->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.java428 final int outWidth = (int) Math.round(cropRect.width() * 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()
47 : onlyBoundsOptions.outWidth; 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()
645 inWidth = options.outWidth; in getBuiltInDrawable()
659 outWidth = Math.min(inWidth, outWidth); in getBuiltInDrawable()
662 cropRectF = getMaxCropRect(inWidth, inHeight, outWidth, outHeight, in getBuiltInDrawable()
665 float left = (inWidth - outWidth) * horizontalAlignment; in getBuiltInDrawable()
666 float right = left + outWidth; in getBuiltInDrawable()
[all …]
/frameworks/av/cmds/screenrecord/
Dscreenrecord.cpp291 uint32_t outWidth, outHeight; in setDisplayProjection() local
301 outWidth = videoWidth; in setDisplayProjection()
306 outWidth = (uint32_t)(videoHeight / displayAspect); in setDisplayProjection()
309 offX = (videoWidth - outWidth) / 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.cpp67 uint32_t outWidth = getSizeOfDimension(outputShape, 2); in roiAlignNhwc() local
100 T_Roi wStepSize = roiWidth / static_cast<T_Roi>(outWidth); in roiAlignNhwc()
115 for (uint32_t j = 0; j < outWidth; j++) { in roiAlignNhwc()
195 uint32_t outWidth = getSizeOfDimension(outputShape, 2); in roiAlignNhwc() local
224 float wStepSize = roiWidth / static_cast<float>(outWidth); in roiAlignNhwc()
245 for (uint32_t j = 0; j < outWidth; j++) { in roiAlignNhwc()
DRoiPooling.cpp63 uint32_t outWidth = getSizeOfDimension(outputShape, 2); in roiPoolingNhwc() local
97 T_Roi wStepSize = roiWidth / static_cast<T_Roi>(outWidth); in roiPoolingNhwc()
102 for (uint32_t j = 0; j < outWidth; j++) { in roiPoolingNhwc()
DPooling.cpp317 uint32_t outWidth = computeOutSize(width, param.filter_width, param.stride_width, in prepare() local
324 output.dimensions = {batches, channels, outHeight, outWidth}; in prepare()
326 output.dimensions = {batches, outHeight, outWidth, channels}; in prepare()
DTransposeConv2D.cpp504 uint32_t outWidth = computeOutSizeTransposeConv(width, filterWidth, param.strideWidth, in prepare() local
508 NN_RET_CHECK_GT(outWidth, 0); in prepare()
514 output.dimensions = {batches, channels_out, outHeight, outWidth}; in prepare()
516 output.dimensions = {batches, outHeight, outWidth, channels_out}; in prepare()
DConv2D.cpp125 uint32_t outWidth = getSizeOfDimension(outputShape, 2); \
533 uint32_t outWidth = in prepare() local
543 output.dimensions = {batches, channels_out, outHeight, outWidth}; in prepare()
545 output.dimensions = {batches, outHeight, outWidth, channels_out}; in prepare()
DDepthwiseConv2D.cpp60 uint32_t outWidth = getSizeOfDimension(outputShape, 2); \
/frameworks/opt/bitmap/src/com/android/bitmap/
DDecodeTask.java226 srcW = mOpts.outWidth; in decode()
230 srcH = mOpts.outWidth; in decode()
412 result.setLogicalWidth(mOpts.outWidth); in decode()
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/ui/
DUtils.java100 final int width = options.outWidth; in calculateInSampleSize()
/frameworks/ml/nn/common/
DOperationsUtils.cpp387 uint32_t outWidth = computeOutSize(width, filterWidth, stride_width, dilation_width_factor, in depthwiseConvPrepare() local
393 output->dimensions = {batches, outHeight, outWidth, channels_out}; in depthwiseConvPrepare()
901 uint32_t outWidth = 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
1498 if (outWidth != NULL) { in roundBufferDimensionNearest()
1499 *outWidth = bestWidth; in roundBufferDimensionNearest()
/frameworks/base/graphics/java/android/graphics/
DBitmapFactory.java368 public int outWidth; field in BitmapFactory.Options
/frameworks/ex/common/java/com/android/ex/editstyledtext/
DEditStyledText.java1943 width = opt.outWidth; in SetHtml()
1945 if (opt.outWidth > getMaxImageWidthPx()) { in SetHtml()
1947 height = height * getMaxImageWidthPx() / opt.outWidth; in SetHtml()
2638 width = opt.outWidth; in getDrawable()
2642 if (opt.outWidth > MAXWIDTH) { in getDrawable()
2644 height = height * MAXWIDTH / opt.outWidth; in getDrawable()
/frameworks/base/services/core/java/com/android/server/wallpaper/
DWallpaperManagerService.java589 if (options.outWidth <= 0 || options.outHeight <= 0) { in generateCrop()
599 cropHint.right = options.outWidth; in generateCrop()
604 (cropHint.right > options.outWidth ? options.outWidth - cropHint.right : 0), in generateCrop()
617 || options.outWidth > cropHint.width()); in generateCrop()
640 Slog.v(TAG, "meas: w=" + options.outWidth + " h=" + options.outHeight); in generateCrop()
/frameworks/base/media/java/android/media/
DMediaScanner.java876 mBitmapOptions.outWidth = 0;
879 mWidth = mBitmapOptions.outWidth;
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
DCameraTestUtils.java1435 assertEquals(width, bmpOptions.outWidth); in validateJpegData()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...