Home
last modified time | relevance | path

Searched refs:maxDim (Results 1 – 4 of 4) sorted by relevance

/frameworks/native/opengl/tests/hwc/
DhwcCommit.cpp252 HwcTestDim maxDim; member
260 HwcTestDim maxDim; member
496 measPtr->df.maxDim = dfMaxDim(format->format); in main()
497 testPrintI(" dfMaxDim: %s", ((string) measPtr->df.maxDim).c_str()); in main()
506 measPtr->sc.maxWidth = scMaxWidth(format->format, measPtr->df.maxDim); in main()
511 measPtr->sc.maxHeight = scMaxHeight(format->format, measPtr->df.maxDim); in main()
519 measPtr->sc.maxDim = scMaxDim(format->format, measPtr->df.maxDim); in main()
520 testPrintI(" scMaxDim: %s%s", ((measPtr->sc.maxDim.width() in main()
522 || (measPtr->sc.maxDim.width() >= in main()
524 ((string) measPtr->sc.maxDim).c_str()); in main()
[all …]
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/
DWallpaperCropActivity.java240 int maxDim = Math.max(maxDims.x, maxDims.y); in getDefaultWallpaperSize() local
246 maxDim = Math.max(realSize.x, realSize.y); in getDefaultWallpaperSize()
254 defaultWidth = (int) (maxDim * wallpaperTravelToScreenWidthRatio(maxDim, minDim)); in getDefaultWallpaperSize()
255 defaultHeight = maxDim; in getDefaultWallpaperSize()
257 defaultWidth = Math.max((int) (minDim * WALLPAPER_SCREENS_SPAN), maxDim); in getDefaultWallpaperSize()
258 defaultHeight = maxDim; in getDefaultWallpaperSize()
/frameworks/base/media/java/android/media/
DMediaCodecInfo.java2304 int maxDim = (int)Math.sqrt(FS * 2); in applyLevelLimits() local
2305 maxWidth = Math.max(maxDim, maxWidth); in applyLevelLimits()
2306 maxHeight = Math.max(maxDim, maxHeight); in applyLevelLimits()
2455 int maxDim = 512; in applyLevelLimits() local
2513 maxDim = Math.max(D, maxDim); in applyLevelLimits()
2517 int maxLengthInBlocks = Utils.divUp(maxDim, blockSize); in applyLevelLimits()
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/
DTiledImageRenderer.java208 int maxDim = Math.max(mImageWidth, mImageHeight); in calculateLevelCount() local
210 while (t < maxDim) { in calculateLevelCount()