/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 | 55 auto outHeight = op->inputs[3]->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/core/java/com/android/internal/widget/ |
D | LocalImageResolver.java | 42 if ((onlyBoundsOptions.outWidth == -1) || (onlyBoundsOptions.outHeight == -1)) { in resolveImage() 47 (onlyBoundsOptions.outHeight > onlyBoundsOptions.outWidth) in resolveImage() 48 ? onlyBoundsOptions.outHeight in resolveImage() 74 onlyBoundsOptions.outHeight = -1; in getBoundsOptionsForImage()
|
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/ |
D | WallpaperCropActivity.java | 426 final int outHeight = (int) Math.round(cropRect.height() * 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/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() 709 inHeight = options.outHeight; in getBuiltInDrawable() 723 outHeight = Math.min(inHeight, outHeight); in getBuiltInDrawable() 725 cropRectF = getMaxCropRect(inWidth, inHeight, outWidth, outHeight, in getBuiltInDrawable() 730 float top = (inHeight - outHeight) * verticalAlignment; in getBuiltInDrawable() 731 float bottom = top + outHeight; 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 | 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); \ 653 uint32_t outHeight = 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 309 outHeight = (uint32_t)(videoWidth * displayAspect); in setDisplayProjection() 312 outHeight = videoHeight; in setDisplayProjection() 317 offY = (videoHeight - outHeight) / 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 | 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/native/libs/ui/ |
D | GraphicBufferMapper.cpp | 204 status_t GraphicBufferMapper::getHeight(buffer_handle_t bufferHandle, uint64_t* outHeight) { in getHeight() argument 205 return mMapper->getHeight(bufferHandle, outHeight); in getHeight()
|
/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/gralloc/types/ |
D | Gralloc4.cpp | 968 status_t encodeHeight(uint64_t height, hidl_vec<uint8_t>* outHeight) { in encodeHeight() argument 969 return encodeMetadata(MetadataType_Height, height, outHeight, encodeInteger); in encodeHeight() 972 status_t decodeHeight(const hidl_vec<uint8_t>& height, uint64_t* outHeight) { in decodeHeight() argument 973 return decodeMetadata(MetadataType_Height, height, outHeight, decodeInteger); in decodeHeight()
|
/frameworks/native/libs/ui/include_vndk/ui/ |
D | GraphicBufferMapper.h | 100 status_t getHeight(buffer_handle_t bufferHandle, uint64_t* outHeight);
|
/frameworks/native/libs/ui/include/ui/ |
D | GraphicBufferMapper.h | 100 status_t getHeight(buffer_handle_t bufferHandle, uint64_t* outHeight);
|
D | Gralloc4.h | 73 status_t getHeight(buffer_handle_t bufferHandle, uint64_t* outHeight) const override;
|
/frameworks/av/services/camera/libcameraservice/api2/ |
D | CameraDeviceClient.h | 296 /*out*/int32_t* outWidth, /*out*/int32_t* outHeight);
|
/frameworks/base/graphics/java/android/graphics/ |
D | BitmapFactory.java | 378 public int outHeight; field in BitmapFactory.Options
|