/frameworks/ml/nn/runtime/test/fuzzing/operation_signatures/ |
D | Resize.cpp | 32 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()
|
D | Reshape.cpp | 38 auto outHeight = op->inputs[0]->dimensions[heightIndex].exactDiv(blockSize); in spaceToDepthConstructor() local 43 op->outputs[0]->dimensions = {op->inputs[0]->dimensions[0], outDepth, outHeight, outWidth}; in spaceToDepthConstructor() 45 op->outputs[0]->dimensions = {op->inputs[0]->dimensions[0], outHeight, outWidth, outDepth}; in spaceToDepthConstructor() 93 auto outHeight = op->inputs[0]->dimensions[heightIndex] * blockSize; in depthToSpaceConstructor() local 98 op->outputs[0]->dimensions = {op->inputs[0]->dimensions[0], outDepth, outHeight, outWidth}; in depthToSpaceConstructor() 100 op->outputs[0]->dimensions = {op->inputs[0]->dimensions[0], outHeight, outWidth, outDepth}; in depthToSpaceConstructor() 182 auto outHeight = op->inputs[0]->dimensions[heightIndex] * blockHeight; in batchToSpaceConstructor() local 186 op->outputs[0]->dimensions = {outBatch, op->inputs[0]->dimensions[1], outHeight, outWidth}; in batchToSpaceConstructor() 188 op->outputs[0]->dimensions = {outBatch, outHeight, outWidth, op->inputs[0]->dimensions[3]}; in batchToSpaceConstructor() 248 auto outHeight = paddedHeight.exactDiv(blockHeight); in spaceToBatchConstructor() local [all …]
|
D | BoundingBox.cpp | 57 auto outHeight = op->inputs[3]->value<RandomVariable>(); in roiConstructor() local 60 op->outputs[0]->dimensions = {outBatch, outDepth, outHeight, outWidth}; in roiConstructor() 62 op->outputs[0]->dimensions = {outBatch, outHeight, outWidth, outDepth}; in roiConstructor()
|
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/ |
D | WallpaperCropActivity.java | 429 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/ |
D | LocalImageResolver.java | 40 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/ |
D | WallpaperManager.java | 590 public Drawable getBuiltInDrawable(int outWidth, int outHeight, in getBuiltInDrawable() argument 592 return getBuiltInDrawable(outWidth, outHeight, scaleToFit, in getBuiltInDrawable() 612 public Drawable getBuiltInDrawable(int outWidth, int outHeight, boolean scaleToFit, in getBuiltInDrawable() argument 635 if (outWidth <= 0 || outHeight <= 0) { in getBuiltInDrawable() 646 if (options.outWidth != 0 && options.outHeight != 0) { in getBuiltInDrawable() 648 inHeight = options.outHeight; in getBuiltInDrawable() 662 outHeight = Math.min(inHeight, outHeight); in getBuiltInDrawable() 664 cropRectF = getMaxCropRect(inWidth, inHeight, outWidth, outHeight, in getBuiltInDrawable() 669 float top = (inHeight - outHeight) * verticalAlignment; in getBuiltInDrawable() 670 float bottom = top + outHeight; in getBuiltInDrawable() [all …]
|
D | DisabledWallpaperManager.java | 94 public Drawable getBuiltInDrawable(int outWidth, int outHeight, boolean scaleToFit, in getBuiltInDrawable() argument 100 public Drawable getBuiltInDrawable(int outWidth, int outHeight, boolean scaleToFit, in getBuiltInDrawable() argument
|
/frameworks/av/cmds/screenrecord/ |
D | screenrecord.cpp | 291 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/ |
D | ResizeImageOps.cpp | 72 const int outHeight = getSizeOfDimension(outputShape, 1); in resizeNearestNeighbor() local 75 const float heightScale = calculateResizeScale(inHeight, outHeight, alignCorners); in resizeNearestNeighbor() 82 for (int y = 0; y < outHeight; ++y) { in resizeNearestNeighbor() 99 outputData + b * outHeight * outWidth * channels + in resizeNearestNeighbor()
|
D | RoiAlign.cpp | 72 uint32_t outHeight = getSizeOfDimension(outputShape, 1); in roiAlignNhwc() local 107 T_Roi hStepSize = roiHeight / static_cast<T_Roi>(outHeight); in roiAlignNhwc() 120 for (uint32_t i = 0; i < outHeight; i++) { in roiAlignNhwc() 199 uint32_t outHeight = getSizeOfDimension(outputShape, 1); in roiAlignQuantNhwc() local 230 float hStepSize = roiHeight / static_cast<float>(outHeight); in roiAlignQuantNhwc() 249 for (uint32_t i = 0; i < outHeight; i++) { in roiAlignQuantNhwc()
|
D | RoiPooling.cpp | 68 uint32_t outHeight = getSizeOfDimension(outputShape, 1); in roiPoolingNhwc() local 104 T_Roi hStepSize = roiHeight / static_cast<T_Roi>(outHeight); in roiPoolingNhwc() 107 for (uint32_t i = 0; i < outHeight; i++) { in roiPoolingNhwc()
|
D | Pooling.cpp | 374 uint32_t outHeight = computeOutSize(height, param.filter_height, param.stride_height, in prepare() local 379 output.dimensions = {batches, channels, outHeight, outWidth}; in prepare() 381 output.dimensions = {batches, outHeight, outWidth, channels}; in prepare()
|
D | TransposeConv2D.cpp | 526 uint32_t outHeight = computeOutSizeTransposeConv(height, filterHeight, param.strideHeight, in prepare() local 529 NN_RET_CHECK_GT(outHeight, 0); in prepare() 534 output.dimensions = {batches, channels_out, outHeight, outWidth}; in prepare() 536 output.dimensions = {batches, outHeight, outWidth, channels_out}; in prepare()
|
D | DepthwiseConv2D.cpp | 125 uint32_t outHeight = getSizeOfDimension(outputShape, 1); \ 553 uint32_t outHeight = in prepare() local 563 output.dimensions = {batches, channels_out, outHeight, outWidth}; in prepare() 565 output.dimensions = {batches, outHeight, outWidth, channels_out}; in prepare()
|
D | Conv2D.cpp | 137 uint32_t outHeight = getSizeOfDimension(outputShape, 1); \ 678 uint32_t outHeight = in prepare() local 685 output.dimensions = {batches, channels_out, outHeight, outWidth}; in prepare() 687 output.dimensions = {batches, outHeight, outWidth, channels_out}; in prepare()
|
/frameworks/opt/bitmap/src/com/android/bitmap/ |
D | DecodeTask.java | 227 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/ |
D | Utils.java | 99 final int height = options.outHeight; in calculateInSampleSize()
|
/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 1501 if (outHeight != NULL) { in roundBufferDimensionNearest() 1502 *outHeight = bestHeight; in roundBufferDimensionNearest()
|
/frameworks/base/graphics/java/android/graphics/ |
D | BitmapFactory.java | 378 public int outHeight; field in BitmapFactory.Options
|
/frameworks/base/services/core/java/com/android/server/wallpaper/ |
D | WallpaperManagerService.java | 594 if (options.outWidth <= 0 || options.outHeight <= 0) { in generateCrop() 605 cropHint.bottom = options.outHeight; in generateCrop() 610 … (cropHint.bottom > options.outHeight ? options.outHeight - cropHint.bottom : 0)); in generateCrop() 621 needCrop = (options.outHeight > cropHint.height() in generateCrop() 645 Slog.v(TAG, "meas: w=" + options.outWidth + " h=" + options.outHeight); in generateCrop() 658 long estimateSize = options.outWidth * options.outHeight * 4; in generateCrop()
|
/frameworks/ml/nn/common/ |
D | OperationsUtils.cpp | 748 uint32_t outHeight = in groupedConvPrepare() local 752 output->dimensions = {batches, outHeight, outWidth, channels_out}; in groupedConvPrepare()
|
/frameworks/base/media/java/android/media/ |
D | MediaScanner.java | 877 mBitmapOptions.outHeight = 0; 880 mHeight = mBitmapOptions.outHeight;
|
/frameworks/ex/common/java/com/android/ex/editstyledtext/ |
D | EditStyledText.java | 1944 height = opt.outHeight; in SetHtml() 2639 height = opt.outHeight; in getDrawable()
|