Searched refs:mLevelCount (Results 1 – 4 of 4) sorted by relevance
/packages/apps/WallpaperPicker/src/com/android/photos/views/ |
D | TiledImageRenderer.java | 77 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/photos/views/ |
D | TiledImageRenderer.java | 77 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/ |
D | TileImageViewAdapter.java | 38 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()
|
D | TileImageView.java | 78 protected int mLevelCount; // cache the value of mScaledBitmaps.length field in TileImageView 180 mLevelCount = 0; in notifyModelInvalidated() 185 mLevelCount = mModel.getLevelCount(); in notifyModelInvalidated() 216 mLevel = Utils.clamp(Utils.floorLog2(1f / scale), 0, mLevelCount); in layoutTiles() 221 if (mLevel != mLevelCount) { in layoutTiles() 234 fromLevel = Math.max(0, Math.min(fromLevel, mLevelCount - 2)); in layoutTiles() 235 endLevel = Math.min(fromLevel + 2, mLevelCount); in layoutTiles() 426 if (level != mLevelCount && !isScreenNailAnimating()) { in render() 721 if (mTileLevel + 1 == mLevelCount) return null; in getParentTile() 731 mX / sTileSize, mY / sTileSize, mLevel, mLevelCount); in toString()
|