Home
last modified time | relevance | path

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

/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/
DTiledImageRenderer.java77 protected int mLevelCount; // cache the value of mScaledBitmaps.length field in TiledImageRenderer
204 mLevelCount = Math.max(0, Utils.ceilLog2( in calculateLevelCount()
214 mLevelCount = levels; in calculateLevelCount()
223 mLevelCount = 0; in notifyModelInvalidated()
270 mLevel = Utils.clamp(Utils.floorLog2(1f / mScale), 0, mLevelCount); in layoutTiles()
275 if (mLevel != mLevelCount) { in layoutTiles()
288 fromLevel = Math.max(0, Math.min(fromLevel, mLevelCount - 2)); in layoutTiles()
289 endLevel = Math.min(fromLevel + 2, mLevelCount); in layoutTiles()
437 if (level != mLevelCount) { in draw()
735 if (mTileLevel + 1 == mLevelCount) { in getParentTile()
[all …]