Home
last modified time | relevance | path

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

/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DTileImageView.java45 private static final int TILE_SIZE = 254; field in TileImageView
47 private static final int BITMAP_SIZE = TILE_SIZE + TILE_BORDER * 2;
256 int size = TILE_SIZE << i; in layoutTiles()
309 int size = TILE_SIZE << level; in getRange()
420 int size = (TILE_SIZE << level); in render()
579 source.set(0, 0, TILE_SIZE, TILE_SIZE); in drawTile()
599 int size = TILE_SIZE << level; in drawTile()
626 source.left = (TILE_SIZE + source.left) / 2f; in drawTile()
627 source.right = (TILE_SIZE + source.right) / 2f; in drawTile()
633 source.top = (TILE_SIZE + source.top) / 2f; in drawTile()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DCropImage.java87 private static final int TILE_SIZE = 512; field in CropImage
694 int tileSize = TILE_SIZE * sample; in drawInTiles()
704 tx < rect.right; tx += tileSize, x += TILE_SIZE) { in drawInTiles()
706 ty < rect.bottom; ty += tileSize, y += TILE_SIZE) { in drawInTiles()