/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
D | PhotoSource.java | 171 int rawLongSide = Math.max(options.outWidth, options.outHeight); in load() 172 int rawShortSide = Math.min(options.outWidth, options.outHeight); in load() 200 rawLongSide = Math.max(options.outWidth, options.outHeight); in load() 201 rawShortSide = Math.max(options.outWidth, options.outHeight); in load() 208 options.outWidth = (int) (ratio * options.outWidth); in load() 212 options.outWidth, options.outHeight, in load() 223 options.outWidth, options.outHeight, in load() 226 int tmp = options.outWidth; in load() 227 options.outWidth = options.outHeight; in load()
|
/packages/modules/NeuralNetworks/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 | 58 auto outWidth = op->inputs[4]->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()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/ |
D | FileImageRequest.java | 82 mDescriptor.updateSourceDimensions(options.outHeight, options.outWidth); in loadBitmapInternal() 84 mDescriptor.updateSourceDimensions(options.outWidth, options.outHeight); in loadBitmapInternal() 91 final int sampledWidth = options.outWidth / options.inSampleSize; in loadBitmapInternal()
|
D | ImageRequest.java | 163 mDescriptor.updateSourceDimensions(options.outHeight, options.outWidth); in loadBitmapInternal() 165 mDescriptor.updateSourceDimensions(options.outWidth, options.outHeight); in loadBitmapInternal() 174 options.outWidth = mDescriptor.sourceWidth; in loadBitmapInternal() 203 final int sampledWidth = (options.outWidth + options.inSampleSize - 1) / in loadBitmapInternal()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/ |
D | MtpBitmapFetch.java | 52 if (o.outWidth == 0 || o.outHeight == 0) { in getThumbnail() 55 o.inBitmap = GalleryBitmapPool.getInstance().get(o.outWidth, o.outHeight); in getThumbnail() 85 int w = o.outWidth; in getFullsize()
|
/packages/modules/NeuralNetworks/common/cpu_operations/ |
D | ResizeImageOps.cpp | 68 const int outWidth = getSizeOfDimension(outputShape, 2); in resizeNearestNeighbor() local 71 const float widthScale = calculateResizeScale(inWidth, outWidth, alignCorners); in resizeNearestNeighbor() 84 for (int x = 0; x < outWidth; ++x) { in resizeNearestNeighbor() 94 outputData + b * outHeight * outWidth * channels + in resizeNearestNeighbor() 95 y * outWidth * channels + x * channels); in resizeNearestNeighbor()
|
D | RoiAlign.cpp | 63 uint32_t outWidth = getSizeOfDimension(outputShape, 2); in roiAlignNhwc() local 96 T_Roi wStepSize = roiWidth / static_cast<T_Roi>(outWidth); in roiAlignNhwc() 111 for (uint32_t j = 0; j < outWidth; j++) { in roiAlignNhwc() 190 uint32_t outWidth = getSizeOfDimension(outputShape, 2); in roiAlignQuantNhwc() local 219 float wStepSize = roiWidth / static_cast<float>(outWidth); in roiAlignQuantNhwc() 240 for (uint32_t j = 0; j < outWidth; j++) { in roiAlignQuantNhwc()
|
D | RoiPooling.cpp | 57 uint32_t outWidth = getSizeOfDimension(outputShape, 2); in roiPoolingNhwc() local 91 T_Roi wStepSize = roiWidth / static_cast<T_Roi>(outWidth); in roiPoolingNhwc() 96 for (uint32_t j = 0; j < outWidth; j++) { in roiPoolingNhwc()
|
D | Pooling.cpp | 313 uint32_t outWidth = computeOutSize(width, param.filter_width, param.stride_width, in prepare() local 320 output.dimensions = {batches, channels, outHeight, outWidth}; in prepare() 322 output.dimensions = {batches, outHeight, outWidth, channels}; in prepare()
|
D | TransposeConv2D.cpp | 477 uint32_t outWidth = computeOutSizeTransposeConv(width, filterWidth, param.strideWidth, in prepare() local 481 NN_RET_CHECK_GT(outWidth, 0u); in prepare() 487 output.dimensions = {batches, channels_out, outHeight, outWidth}; in prepare() 489 output.dimensions = {batches, outHeight, outWidth, channels_out}; in prepare()
|
D | DepthwiseConv2D.cpp | 124 [[maybe_unused]] uint32_t outWidth = getSizeOfDimension(outputShape, 2); \ 461 uint32_t outWidth = in prepare() local 468 output.dimensions = {batches, channels_out, outHeight, outWidth}; in prepare() 470 output.dimensions = {batches, outHeight, outWidth, channels_out}; in prepare()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/ |
D | BitmapProcessor.java | 41 public static Bitmap createLowResBitmap(Bitmap bitmap, int outWidth, int outHeight) { in createLowResBitmap() argument 44 WallpaperCropUtils.fitToSize(rect, outWidth / DOWNSAMPLE, outHeight / DOWNSAMPLE); in createLowResBitmap()
|
D | WallpaperCropUtils.java | 354 public static void fitToSize(Rect wallpaperSize, int outWidth, int outHeight) { in fitToSize() argument 358 float maxSizeOut = Math.max(outWidth, outHeight); in fitToSize()
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
D | DecodeUtils.java | 123 int w = options.outWidth; in decodeThumbnail() 176 if (options.outWidth < targetSize || options.outHeight < targetSize) { in decodeIfBigEnough() 180 options.outWidth, options.outHeight, targetSize); in decodeIfBigEnough() 303 return GalleryBitmapPool.getInstance().get(options.outWidth, options.outHeight); in findCachedBitmap() 309 return GalleryBitmapPool.getInstance().get(options.outWidth, options.outHeight); in findCachedBitmap()
|
/packages/apps/Camera2/src/com/android/camera/data/ |
D | PhotoDataFactory.java | 98 if (opts.outWidth > 0 && opts.outHeight > 0) { in decodeBitmapDimensions() 99 width = opts.outWidth; in decodeBitmapDimensions()
|
D | FilmstripItemUtils.java | 70 if (justBoundsOpts.outWidth > 0 && justBoundsOpts.outHeight > 0) { in decodeBitmapDimension() 71 size = new Point(justBoundsOpts.outWidth, justBoundsOpts.outHeight); in decodeBitmapDimension()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/ |
D | BaseContainerInterface.java | 308 int outWidth = Math.round(scale * taskDimension.x); in calculateTaskSizeInternal() local 311 Gravity.apply(gravity, outWidth, outHeight, potentialTaskRect, outRect); in calculateTaskSizeInternal() 369 int outWidth = Math.round(scale * taskDimension.x); in calculateGridTaskSize() local 374 Gravity.apply(gravity, outWidth, outHeight, potentialTaskRect, outRect); in calculateGridTaskSize()
|
/packages/apps/Gallery2/src/com/android/photos/drawables/ |
D | AutoThumbnailDrawable.java | 249 mOptions.outWidth, mOptions.outHeight); 260 mOptions.outWidth / preferredSampleSize,
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/asset/ |
D | StreamableAsset.java | 304 mDimensions = new Point(options.outHeight, options.outWidth); in calculateRawDimensions() 306 mDimensions = new Point(options.outWidth, options.outHeight); in calculateRawDimensions()
|
/packages/services/BuiltInPrintService/src/com/android/bips/ |
D | ImagePrintActivity.java | 115 if (options.outWidth <= 0 || options.outHeight <= 0) { in doInBackground() 123 publishProgress(options.outHeight > options.outWidth); in doInBackground()
|
/packages/apps/Dialer/java/com/android/dialer/contactphoto/ |
D | BitmapUtil.java | 45 return Math.min(options.outWidth, options.outHeight); in getSmallerExtentFromBytes()
|
/packages/apps/Gallery/src/com/android/camera/ |
D | Util.java | 122 double w = options.outWidth; in computeInitialSampleSize() 314 if (options.mCancel || options.outWidth == -1 in makeBitmap()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | EvenMoreAsserts.java | 106 return "[" + o.outWidth + " x " + o.outHeight + "]"; in getImageDimensions()
|