Home
last modified time | relevance | path

Searched refs:outHeight (Results 1 – 25 of 44) sorted by relevance

12

/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
DPhotoSource.java171 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()
209 options.outHeight = (int) (ratio * options.outHeight); in load()
212 options.outWidth, options.outHeight, in load()
223 options.outWidth, options.outHeight, in load()
227 options.outWidth = options.outHeight; in load()
228 options.outHeight = tmp; in load()
/packages/modules/NeuralNetworks/runtime/test/fuzzing/operation_signatures/
DResize.cpp32 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()
DReshape.cpp38 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 …]
DBoundingBox.cpp57 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()
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/
DFileImageRequest.java82 mDescriptor.updateSourceDimensions(options.outHeight, options.outWidth); in loadBitmapInternal()
84 mDescriptor.updateSourceDimensions(options.outWidth, options.outHeight); in loadBitmapInternal()
92 final int sampledHeight = options.outHeight / options.inSampleSize; in loadBitmapInternal()
DImageRequest.java163 mDescriptor.updateSourceDimensions(options.outHeight, options.outWidth); in loadBitmapInternal()
165 mDescriptor.updateSourceDimensions(options.outWidth, options.outHeight); in loadBitmapInternal()
175 options.outHeight = mDescriptor.sourceHeight; in loadBitmapInternal()
205 final int sampledHeight = (options.outHeight + options.inSampleSize - 1) / in loadBitmapInternal()
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/
DMtpBitmapFetch.java52 if (o.outWidth == 0 || o.outHeight == 0) { in getThumbnail()
55 o.inBitmap = GalleryBitmapPool.getInstance().get(o.outWidth, o.outHeight); in getThumbnail()
86 int h = o.outHeight; in getFullsize()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/
DBitmapProcessor.java41 public static Bitmap createLowResBitmap(Bitmap bitmap, int outWidth, int outHeight) { in createLowResBitmap() argument
44 WallpaperCropUtils.fitToSize(rect, outWidth / DOWNSAMPLE, outHeight / DOWNSAMPLE); in createLowResBitmap()
DWallpaperCropUtils.java354 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/
DDecodeUtils.java124 int h = options.outHeight; 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/modules/NeuralNetworks/common/cpu_operations/
DResizeImageOps.cpp67 const int outHeight = getSizeOfDimension(outputShape, 1); in resizeNearestNeighbor() local
70 const float heightScale = calculateResizeScale(inHeight, outHeight, alignCorners); in resizeNearestNeighbor()
77 for (int y = 0; y < outHeight; ++y) { in resizeNearestNeighbor()
94 outputData + b * outHeight * outWidth * channels + in resizeNearestNeighbor()
DRoiAlign.cpp62 uint32_t outHeight = getSizeOfDimension(outputShape, 1); in roiAlignNhwc() local
97 T_Roi hStepSize = roiHeight / static_cast<T_Roi>(outHeight); in roiAlignNhwc()
110 for (uint32_t i = 0; i < outHeight; i++) { in roiAlignNhwc()
189 uint32_t outHeight = getSizeOfDimension(outputShape, 1); in roiAlignQuantNhwc() local
220 float hStepSize = roiHeight / static_cast<float>(outHeight); in roiAlignQuantNhwc()
239 for (uint32_t i = 0; i < outHeight; i++) { in roiAlignQuantNhwc()
DRoiPooling.cpp56 uint32_t outHeight = getSizeOfDimension(outputShape, 1); in roiPoolingNhwc() local
92 T_Roi hStepSize = roiHeight / static_cast<T_Roi>(outHeight); in roiPoolingNhwc()
95 for (uint32_t i = 0; i < outHeight; i++) { in roiPoolingNhwc()
DPooling.cpp315 uint32_t outHeight = computeOutSize(height, param.filter_height, param.stride_height, in prepare() local
320 output.dimensions = {batches, channels, outHeight, outWidth}; in prepare()
322 output.dimensions = {batches, outHeight, outWidth, channels}; in prepare()
DTransposeConv2D.cpp479 uint32_t outHeight = computeOutSizeTransposeConv(height, filterHeight, param.strideHeight, in prepare() local
482 NN_RET_CHECK_GT(outHeight, 0u); in prepare()
487 output.dimensions = {batches, channels_out, outHeight, outWidth}; in prepare()
489 output.dimensions = {batches, outHeight, outWidth, channels_out}; in prepare()
DDepthwiseConv2D.cpp123 [[maybe_unused]] uint32_t outHeight = getSizeOfDimension(outputShape, 1); \
458 uint32_t outHeight = 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/Camera2/src/com/android/camera/data/
DPhotoDataFactory.java98 if (opts.outWidth > 0 && opts.outHeight > 0) { in decodeBitmapDimensions()
100 height = opts.outHeight; in decodeBitmapDimensions()
DFilmstripItemUtils.java70 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/
DBaseContainerInterface.java309 int outHeight = Math.round(scale * taskDimension.y); in calculateTaskSizeInternal() local
311 Gravity.apply(gravity, outWidth, outHeight, potentialTaskRect, outRect); in calculateTaskSizeInternal()
370 int outHeight = Math.round(scale * taskDimension.y); in calculateGridTaskSize() local
374 Gravity.apply(gravity, outWidth, outHeight, potentialTaskRect, outRect); in calculateGridTaskSize()
/packages/apps/Gallery2/src/com/android/photos/drawables/
DAutoThumbnailDrawable.java249 mOptions.outWidth, mOptions.outHeight);
261 mOptions.outHeight / preferredSampleSize);
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/asset/
DStreamableAsset.java304 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/
DImagePrintActivity.java115 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/
DBitmapUtil.java45 return Math.min(options.outWidth, options.outHeight); in getSmallerExtentFromBytes()
/packages/apps/Gallery/src/com/android/camera/
DUtil.java123 double h = options.outHeight; in computeInitialSampleSize()
315 || options.outHeight == -1) { in makeBitmap()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DEvenMoreAsserts.java106 return "[" + o.outWidth + " x " + o.outHeight + "]"; in getImageDimensions()

12