Home
last modified time | relevance | path

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

/frameworks/base/tests/SurfaceComposition/src/android/surfacecomposition/
DSurfaceCompositionMeasuringActivity.java274 long maxMemoryPerSurface = roundToNextPowerOf2(mWidth) * roundToNextPowerOf2(mHeight) * 4; in onCreate() local
276 int surfaceCnt = (int)((getMemoryInfo().availMem * 3) / (4 * maxMemoryPerSurface)); in onCreate()