Home
last modified time | relevance | path

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

/frameworks/native/opengl/tests/hwc/
DhwcCommit.cpp251 HwcTestDim minDim; member
259 HwcTestDim minDim; member
495 measPtr->df.minDim = dfMinDim(format->format); in main()
496 testPrintI(" dfMinDim: %s", ((string) measPtr->df.minDim).c_str()); in main()
502 measPtr->sc.minWidth = scMinWidth(format->format, measPtr->df.minDim); in main()
505 measPtr->sc.minHeight = scMinHeight(format->format, measPtr->df.minDim); in main()
518 measPtr->sc.minDim = scMinDim(format->format, measPtr->df.minDim); in main()
519 testPrintI(" scMinDim: %s", ((string) measPtr->sc.minDim).c_str()); in main()
529 measPtr->df.minDim, measPtr->df.maxDim, in main()
530 measPtr->sc.minDim, measPtr->sc.maxDim, in main()
[all …]
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/
DWallpaperCropActivity.java241 int minDim = Math.max(minDims.x, minDims.y); in getDefaultWallpaperSize() local
247 minDim = Math.min(realSize.x, realSize.y); in getDefaultWallpaperSize()
254 defaultWidth = (int) (maxDim * wallpaperTravelToScreenWidthRatio(maxDim, minDim)); in getDefaultWallpaperSize()
257 defaultWidth = Math.max((int) (minDim * WALLPAPER_SCREENS_SPAN), maxDim); in getDefaultWallpaperSize()