Home
last modified time | relevance | path

Searched refs:tileSize (Results 1 – 8 of 8) 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/WallpaperPicker2/src/com/android/wallpaper/picker/category/ui/view/viewholder/
DTileViewHolder.kt55 var tileSize: Point in bind() variable
58 tileSize = SizeCalculator.getCategoryTileSize(itemView.context, windowWidth) in bind()
60 tileSize = SizeCalculator.getFeaturedCategoryTileSize(itemView.context, windowWidth) in bind()
62 tileSize = SizeCalculator.getFeaturedCategoryTileSize(itemView.context, windowWidth) in bind()
63 tileSize.y /= 2 in bind()
65 wallpaperCategoryImage.getLayoutParams().height = tileSize.y in bind()
/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/Launcher3/src/com/android/launcher3/widget/
DDatabaseWidgetPreviewLoader.java206 float tileSize = boxRect.width() / spanX; in generateWidgetPreview()
208 t += tileSize; in generateWidgetPreview()
213 tileSize = boxRect.height() / spanY; in generateWidgetPreview()
215 t += tileSize; in generateWidgetPreview()
/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()