Home
last modified time | relevance | path

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

/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DTileImageViewAdapter.java87 public Bitmap getTile(int level, int x, int y, int tileSize) { in getTile() argument
89 return getTileWithoutReusingBitmap(level, x, y, tileSize); in getTile()
92 int t = tileSize << level; in getTile()
109 Bitmap bitmap = GalleryBitmapPool.getInstance().get(tileSize, tileSize); in getTile()
113 bitmap = Bitmap.createBitmap(tileSize, tileSize, Config.ARGB_8888); in getTile()
141 int level, int x, int y, int tileSize) { in getTileWithoutReusingBitmap() argument
142 int t = tileSize << level; in getTileWithoutReusingBitmap()
172 Bitmap result = Bitmap.createBitmap(tileSize, tileSize, Config.ARGB_8888); in getTileWithoutReusingBitmap()
DBitmapTileProvider.java74 public Bitmap getTile(int level, int x, int y, int tileSize) { in getTile() argument
78 Bitmap result = GalleryBitmapPool.getInstance().get(tileSize, tileSize); in getTile()
80 result = Bitmap.createBitmap(tileSize, tileSize, mConfig); in getTile()
DTileImageView.java142 public Bitmap getTile(int level, int x, int y, int tileSize); in getTile() argument
/packages/apps/Gallery2/src/com/android/photos/
DBitmapRegionTileSource.java126 int tileSize = getTileSize(); in getTile() local
128 return getTileWithoutReusingBitmap(level, x, y, tileSize); in getTile()
131 int t = tileSize << level; in getTile()
135 bitmap = Bitmap.createBitmap(tileSize, tileSize, Bitmap.Config.ARGB_8888); in getTile()
156 int level, int x, int y, int tileSize) { in getTileWithoutReusingBitmap() argument
158 int t = tileSize << level; in getTileWithoutReusingBitmap()
174 Bitmap result = Bitmap.createBitmap(tileSize, tileSize, Config.ARGB_8888); in getTileWithoutReusingBitmap()
/packages/apps/Gallery2/src/com/android/photos/views/
DTiledImageView.java362 int tileSize = getTileSize(); in getTile() local
364 bitmap = Bitmap.createBitmap(tileSize, tileSize, in getTile()
373 tileSize <<= level; in getTile()
374 x /= tileSize; in getTile()
375 y /= tileSize; in getTile()
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/
DDrawableTileSource.java90 int tileSize = getTileSize(); in getTile() local
92 bitmap = Bitmap.createBitmap(tileSize, tileSize, Bitmap.Config.ARGB_8888); in getTile()
/packages/apps/Launcher3/src/com/android/launcher3/
DWidgetPreviewLoader.java353 int tileSize = Math.min(dp.cellWidthPx, dp.cellHeightPx); in generateWidgetPreview() local
354 previewWidth = tileSize * spanX; in generateWidgetPreview()
355 previewHeight = tileSize * spanY; in generateWidgetPreview()
405 float tileSize = boxRect.width() / spanX; in generateWidgetPreview() local
407 t += tileSize; in generateWidgetPreview()
412 tileSize = boxRect.height() / spanY; in generateWidgetPreview()
414 t += tileSize; in generateWidgetPreview()
/packages/apps/WallpaperPicker/src/com/android/photos/
DBitmapRegionTileSource.java360 int tileSize = getTileSize(); in getTile() local
361 int t = tileSize << level; in getTile()
365 bitmap = Bitmap.createBitmap(tileSize, tileSize, Bitmap.Config.ARGB_8888); in getTile()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DPhotoDataAdapter.java552 public Bitmap getTile(int level, int x, int y, int tileSize) { in getTile() argument
553 return mTileProvider.getTile(level, x, y, tileSize); in getTile()