/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 | 39 auto outWidth = op->inputs[0]->dimensions[widthIndex].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() 94 auto outWidth = op->inputs[0]->dimensions[widthIndex] * 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() 183 auto outWidth = op->inputs[0]->dimensions[widthIndex] * blockWidth; 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() 249 auto outWidth = paddedWidth.exactDiv(blockWidth); in spaceToBatchConstructor() local [all …]
|
D | BoundingBox.cpp | 56 auto outWidth = op->inputs[4]->value<RandomVariable>(); in roiConstructor() local 58 op->outputs[0]->dimensions = {outBatch, outDepth, outHeight, outWidth}; in roiConstructor() 60 op->outputs[0]->dimensions = {outBatch, outHeight, outWidth, outDepth}; in roiConstructor()
|
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/ |
D | WallpaperCropActivity.java | 425 final int outWidth = (int) Math.round(cropRect.width() * cropScale); in cropImageAndSetWallpaper() 437 cropRect, cropRotation, outWidth, outHeight, true, false, onEndCrop); in cropImageAndSetWallpaper() 467 RectF cropBounds, int rotation, int outWidth, int outHeight, 472 outWidth, outHeight, setWallpaper, saveCroppedBitmap, onEndRunnable); 476 RectF cropBounds, int rotation, int outWidth, int outHeight, 480 outWidth, outHeight, setWallpaper, saveCroppedBitmap, onEndRunnable); 484 RectF cropBounds, int rotation, int outWidth, int outHeight, 489 outWidth, outHeight, setWallpaper, saveCroppedBitmap, onEndRunnable); 493 RectF cropBounds, int rotation, int outWidth, int outHeight, 499 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 | 651 public Drawable getBuiltInDrawable(int outWidth, int outHeight, in getBuiltInDrawable() argument 653 return getBuiltInDrawable(outWidth, outHeight, scaleToFit, in getBuiltInDrawable() 673 public Drawable getBuiltInDrawable(int outWidth, int outHeight, boolean scaleToFit, in getBuiltInDrawable() argument 696 if (outWidth <= 0 || outHeight <= 0) { in getBuiltInDrawable() 707 if (options.outWidth != 0 && options.outHeight != 0) { in getBuiltInDrawable() 708 inWidth = options.outWidth; in getBuiltInDrawable() 722 outWidth = Math.min(inWidth, outWidth); in getBuiltInDrawable() 725 cropRectF = getMaxCropRect(inWidth, inHeight, outWidth, outHeight, in getBuiltInDrawable() 728 float left = (inWidth - outWidth) * horizontalAlignment; in getBuiltInDrawable() 729 float right = left + outWidth; in getBuiltInDrawable() [all …]
|
D | DisabledWallpaperManager.java | 93 public Drawable getBuiltInDrawable(int outWidth, int outHeight, boolean scaleToFit, in getBuiltInDrawable() argument 99 public Drawable getBuiltInDrawable(int outWidth, int outHeight, boolean scaleToFit, in getBuiltInDrawable() argument
|
/frameworks/ml/nn/common/operations/ |
D | ResizeImageOps.cpp | 73 const int outWidth = getSizeOfDimension(outputShape, 2); in resizeNearestNeighbor() local 76 const float widthScale = calculateResizeScale(inWidth, outWidth, alignCorners); in resizeNearestNeighbor() 89 for (int x = 0; x < outWidth; ++x) { in resizeNearestNeighbor() 99 outputData + b * outHeight * outWidth * channels + in resizeNearestNeighbor() 100 y * outWidth * channels + x * channels); in resizeNearestNeighbor()
|
D | RoiAlign.cpp | 73 uint32_t outWidth = getSizeOfDimension(outputShape, 2); in roiAlignNhwc() local 106 T_Roi wStepSize = roiWidth / static_cast<T_Roi>(outWidth); in roiAlignNhwc() 121 for (uint32_t j = 0; j < outWidth; j++) { in roiAlignNhwc() 200 uint32_t outWidth = getSizeOfDimension(outputShape, 2); in roiAlignQuantNhwc() local 229 float wStepSize = roiWidth / static_cast<float>(outWidth); in roiAlignQuantNhwc() 250 for (uint32_t j = 0; j < outWidth; j++) { in roiAlignQuantNhwc()
|
D | RoiPooling.cpp | 69 uint32_t outWidth = getSizeOfDimension(outputShape, 2); in roiPoolingNhwc() local 103 T_Roi wStepSize = roiWidth / static_cast<T_Roi>(outWidth); in roiPoolingNhwc() 108 for (uint32_t j = 0; j < outWidth; j++) { in roiPoolingNhwc()
|
D | Pooling.cpp | 372 uint32_t outWidth = computeOutSize(width, param.filter_width, param.stride_width, in prepare() local 379 output.dimensions = {batches, channels, outHeight, outWidth}; in prepare() 381 output.dimensions = {batches, outHeight, outWidth, channels}; in prepare()
|
D | TransposeConv2D.cpp | 524 uint32_t outWidth = computeOutSizeTransposeConv(width, filterWidth, param.strideWidth, in prepare() local 528 NN_RET_CHECK_GT(outWidth, 0); in prepare() 534 output.dimensions = {batches, channels_out, outHeight, outWidth}; in prepare() 536 output.dimensions = {batches, outHeight, outWidth, channels_out}; in prepare()
|
D | Conv2D.cpp | 138 uint32_t outWidth = getSizeOfDimension(outputShape, 2); \ 650 uint32_t outWidth = in prepare() local 660 output.dimensions = {batches, channels_out, outHeight, outWidth}; in prepare() 662 output.dimensions = {batches, outHeight, outWidth, channels_out}; in prepare()
|
/frameworks/av/cmds/screenrecord/ |
D | screenrecord.cpp | 298 uint32_t outWidth, outHeight; in setDisplayProjection() local 308 outWidth = videoWidth; in setDisplayProjection() 313 outWidth = (uint32_t)(videoHeight / displayAspect); in setDisplayProjection() 316 offX = (videoWidth - outWidth) / 2; in setDisplayProjection() 318 Rect displayRect(offX, offY, offX + outWidth, offY + outHeight); in setDisplayProjection() 323 outHeight, outWidth, offY, offX); in setDisplayProjection() 327 outWidth, outHeight, offX, offY); in setDisplayProjection()
|
/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/native/libs/ui/ |
D | GraphicBufferMapper.cpp | 200 status_t GraphicBufferMapper::getWidth(buffer_handle_t bufferHandle, uint64_t* outWidth) { in getWidth() argument 201 return mMapper->getWidth(bufferHandle, outWidth); in getWidth()
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/ |
D | ImageUtils.java | 202 return new Point(opts.outWidth, opts.outHeight); in getImageBounds()
|
/frameworks/native/libs/ui/include/ui/ |
D | GraphicBufferMapper.h | 99 status_t getWidth(buffer_handle_t bufferHandle, uint64_t* outWidth);
|
D | Gralloc4.h | 72 status_t getWidth(buffer_handle_t bufferHandle, uint64_t* outWidth) const override;
|
/frameworks/native/libs/ui/include_vndk/ui/ |
D | GraphicBufferMapper.h | 99 status_t getWidth(buffer_handle_t bufferHandle, uint64_t* outWidth);
|
/frameworks/native/libs/gralloc/types/ |
D | Gralloc4.cpp | 960 status_t encodeWidth(uint64_t width, hidl_vec<uint8_t>* outWidth) { in encodeWidth() argument 961 return encodeMetadata(MetadataType_Width, width, outWidth, encodeInteger); in encodeWidth() 964 status_t decodeWidth(const hidl_vec<uint8_t>& width, uint64_t* outWidth) { in decodeWidth() argument 965 return decodeMetadata(MetadataType_Width, width, outWidth, decodeInteger); in decodeWidth()
|
/frameworks/base/graphics/java/android/graphics/ |
D | BitmapFactory.java | 368 public int outWidth; field in BitmapFactory.Options
|
/frameworks/av/services/camera/libcameraservice/api2/ |
D | CameraDeviceClient.h | 296 /*out*/int32_t* outWidth, /*out*/int32_t* outHeight);
|
/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()
|