Home
last modified time | relevance | path

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

/packages/apps/Gallery2/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 …]
/packages/apps/Launcher3/WallpaperPicker/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 …]
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DTileImageView.java79 protected int mLevelCount; // cache the value of mScaledBitmaps.length field in TileImageView
181 mLevelCount = 0; in notifyModelInvalidated()
186 mLevelCount = mModel.getLevelCount(); in notifyModelInvalidated()
217 mLevel = Utils.clamp(Utils.floorLog2(1f / scale), 0, mLevelCount); in layoutTiles()
222 if (mLevel != mLevelCount) { in layoutTiles()
235 fromLevel = Math.max(0, Math.min(fromLevel, mLevelCount - 2)); in layoutTiles()
236 endLevel = Math.min(fromLevel + 2, mLevelCount); in layoutTiles()
427 if (level != mLevelCount && !isScreenNailAnimating()) { in render()
722 if (mTileLevel + 1 == mLevelCount) return null; in getParentTile()
732 mX / sTileSize, mY / sTileSize, mLevel, mLevelCount); in toString()
DTileImageViewAdapter.java38 protected int mLevelCount; field in TileImageViewAdapter
47 mLevelCount = 0; in clear()
59 mLevelCount = 0; in setScreenNail()
66 mLevelCount = calculateLevelCount(); in setRegionDecoder()
198 return mLevelCount; in getLevelCount()