Home
last modified time | relevance | path

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

/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DTileImageView.java212 int fromLevel; in layoutTiles() local
226 fromLevel = scale * (1 << mLevel) > 0.75f ? mLevel - 1 : mLevel; in layoutTiles()
229 fromLevel = mLevel - 2; in layoutTiles()
234 fromLevel = Math.max(0, Math.min(fromLevel, mLevelCount - 2)); in layoutTiles()
235 endLevel = Math.min(fromLevel + 2, mLevelCount); in layoutTiles()
238 for (int i = fromLevel; i < endLevel; ++i) { in layoutTiles()
239 getRange(range[i - fromLevel], centerX, centerY, i, rotation); in layoutTiles()
256 if (level < fromLevel || level >= endLevel in layoutTiles()
257 || !range[level - fromLevel].contains(tile.mX, tile.mY)) { in layoutTiles()
266 for (int i = fromLevel; i < endLevel; ++i) { in layoutTiles()
[all …]
/packages/apps/Gallery2/src/com/android/photos/views/
DTiledImageRenderer.java266 int fromLevel; in layoutTiles() local
280 fromLevel = mScale * (1 << mLevel) > 0.75f ? mLevel - 1 : mLevel; in layoutTiles()
283 fromLevel = mLevel - 2; in layoutTiles()
288 fromLevel = Math.max(0, Math.min(fromLevel, mLevelCount - 2)); in layoutTiles()
289 endLevel = Math.min(fromLevel + 2, mLevelCount); in layoutTiles()
292 for (int i = fromLevel; i < endLevel; ++i) { in layoutTiles()
293 getRange(range[i - fromLevel], mCenterX, mCenterY, i, mRotation); in layoutTiles()
312 if (level < fromLevel || level >= endLevel in layoutTiles()
313 || !range[level - fromLevel].contains(tile.mX, tile.mY)) { in layoutTiles()
322 for (int i = fromLevel; i < endLevel; ++i) { in layoutTiles()
[all …]
/packages/apps/WallpaperPicker/src/com/android/photos/views/
DTiledImageRenderer.java266 int fromLevel; in layoutTiles() local
280 fromLevel = mScale * (1 << mLevel) > 0.75f ? mLevel - 1 : mLevel; in layoutTiles()
283 fromLevel = mLevel - 2; in layoutTiles()
288 fromLevel = Math.max(0, Math.min(fromLevel, mLevelCount - 2)); in layoutTiles()
289 endLevel = Math.min(fromLevel + 2, mLevelCount); in layoutTiles()
292 for (int i = fromLevel; i < endLevel; ++i) { in layoutTiles()
293 getRange(range[i - fromLevel], mCenterX, mCenterY, i, mRotation); in layoutTiles()
312 if (level < fromLevel || level >= endLevel in layoutTiles()
313 || !range[level - fromLevel].contains(tile.mX, tile.mY)) { in layoutTiles()
322 for (int i = fromLevel; i < endLevel; ++i) { in layoutTiles()
[all …]