Home
last modified time | relevance | path

Searched refs:maxDims (Results 1 – 2 of 2) sorted by relevance

/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/
DWallpaperCropUtils.java74 Point maxDims = new Point(); in getDefaultCropSurfaceSize() local
75 display.getCurrentSizeRange(minDims, maxDims); in getDefaultCropSurfaceSize()
77 int maxDim = Math.max(maxDims.x, maxDims.y); in getDefaultCropSurfaceSize()
/packages/modules/NeuralNetworks/common/
DOperationsUtils.cpp343 uint32_t maxDims = std::max(numberOfDims1, numberOfDims2); in calculateBroadcastedShape() local
344 out->dimensions = std::vector<uint32_t>(maxDims); in calculateBroadcastedShape()
345 for (uint32_t i = 1; i <= maxDims; i++) { in calculateBroadcastedShape()
360 out->dimensions[maxDims - i] = (dim1 == 1) ? dim2 : dim1; in calculateBroadcastedShape()