Searched refs:maxMemoryPerSurface (Results 1 – 1 of 1) sorted by relevance
274 long maxMemoryPerSurface = roundToNextPowerOf2(mWidth) * roundToNextPowerOf2(mHeight) * 4; in onCreate() local276 int surfaceCnt = (int)((getMemoryInfo().availMem * 3) / (4 * maxMemoryPerSurface)); in onCreate()