Searched refs:tileSize (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/ |
D | ImageExporterTest.java | 170 private Bitmap createCheckerBitmap(int tileSize, int w, int h) { in createCheckerBitmap() argument 171 Bitmap bitmap = Bitmap.createBitmap(w * tileSize, h * tileSize, Bitmap.Config.ARGB_8888); in createCheckerBitmap() 177 int top = i * tileSize; in createCheckerBitmap() 179 int left = j * tileSize; in createCheckerBitmap() 181 c.drawRect(left, top, left + tileSize, top + tileSize, paint); in createCheckerBitmap()
|
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/ |
D | BitmapRegionTileSource.java | 437 int tileSize = getTileSize(); in getTile() local 439 return getTileWithoutReusingBitmap(level, x, y, tileSize); in getTile() 442 int t = tileSize << level; in getTile() 446 bitmap = Bitmap.createBitmap(tileSize, tileSize, Bitmap.Config.ARGB_8888); in getTile() 467 int level, int x, int y, int tileSize) { in getTileWithoutReusingBitmap() argument 469 int t = tileSize << level; in getTileWithoutReusingBitmap() 485 Bitmap result = Bitmap.createBitmap(tileSize, tileSize, Config.ARGB_8888); in getTileWithoutReusingBitmap()
|
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/ |
D | TiledImageView.java | 362 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()
|