/frameworks/ml/nn/runtime/test/fuzzing/operation_signatures/ |
D | Resize.cpp | 32 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()
|
D | Reshape.cpp | 36 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 …]
|
D | BoundingBox.cpp | 54 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/ |
D | WallpaperCropActivity.java | 428 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/ |
D | LocalImageResolver.java | 40 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/ |
D | WallpaperManager.java | 588 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/ |
D | screenrecord.cpp | 291 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/ |
D | RoiAlign.cpp | 67 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()
|
D | RoiPooling.cpp | 63 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()
|
D | Pooling.cpp | 317 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()
|
D | TransposeConv2D.cpp | 504 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()
|
D | Conv2D.cpp | 125 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()
|
D | DepthwiseConv2D.cpp | 60 uint32_t outWidth = getSizeOfDimension(outputShape, 2); \
|
/frameworks/opt/bitmap/src/com/android/bitmap/ |
D | DecodeTask.java | 226 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/ |
D | Utils.java | 100 final int width = options.outWidth; in calculateInSampleSize()
|
/frameworks/ml/nn/common/ |
D | OperationsUtils.cpp | 387 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/ |
D | ImageUtils.java | 202 return new Point(opts.outWidth, opts.outHeight); in getImageBounds()
|
/frameworks/av/services/camera/libcameraservice/api2/ |
D | CameraDeviceClient.h | 269 /*out*/int32_t* outWidth, /*out*/int32_t* outHeight);
|
D | CameraDeviceClient.cpp | 1458 /*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/ |
D | BitmapFactory.java | 368 public int outWidth; field in BitmapFactory.Options
|
/frameworks/ex/common/java/com/android/ex/editstyledtext/ |
D | EditStyledText.java | 1943 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/ |
D | WallpaperManagerService.java | 589 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/ |
D | MediaScanner.java | 876 mBitmapOptions.outWidth = 0; 879 mWidth = mBitmapOptions.outWidth;
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/ |
D | CameraTestUtils.java | 1435 assertEquals(width, bmpOptions.outWidth); in validateJpegData()
|
/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
D | android-28.jar | META-INF/
META-INF/MANIFEST.MF
javax/
javax/net/
javax/ ... |