Home
last modified time | relevance | path

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

/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/
DWallpaperCropActivity.java337 Point inSize = mCropView.getSourceDimensions(); in cropImageAndSetWallpaper() local
341 inSize.x, inSize.y, outSize.x, outSize.y, false); in cropImageAndSetWallpaper()
370 Point inSize = mCropView.getSourceDimensions(); in cropImageAndSetWallpaper()
377 float[] rotatedInSize = new float[] { inSize.x, inSize.y }; in cropImageAndSetWallpaper()
/packages/modules/NeuralNetworks/common/operations/
DResizeImageOps.cpp62 inline float calculateResizeScale(int32_t inSize, int32_t outSize, bool alignCorners) { in calculateResizeScale() argument
63 return (alignCorners && outSize > 1) ? (inSize - 1) / static_cast<float>(outSize - 1) in calculateResizeScale()
64 : inSize / static_cast<float>(outSize); in calculateResizeScale()