Home
last modified time | relevance | path

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

/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DTileImageViewAdapter.java94 Rect wantRegion = new Rect(x, y, x + t, y + t); in getTile() local
106 .contains(wantRegion); in getTile()
125 bitmap = regionDecoder.decodeRegion(wantRegion, options); in getTile()
143 Rect wantRegion = new Rect(x, y, x + t, y + t); in getTileWithoutReusingBitmap() local
152 Utils.assertTrue(overlapRegion.intersect(wantRegion)); in getTileWithoutReusingBitmap()
170 if (wantRegion.equals(overlapRegion)) return bitmap; in getTileWithoutReusingBitmap()
175 (overlapRegion.left - wantRegion.left) >> level, in getTileWithoutReusingBitmap()
176 (overlapRegion.top - wantRegion.top) >> level, null); in getTileWithoutReusingBitmap()
/packages/apps/WallpaperPicker/src/com/android/photos/
DBitmapRegionTileSource.java47 Bitmap decodeRegion(Rect wantRegion, BitmapFactory.Options options); in decodeRegion() argument
75 public Bitmap decodeRegion(Rect wantRegion, BitmapFactory.Options options) { in decodeRegion() argument
76 return mDecoder.decodeRegion(wantRegion, options); in decodeRegion()
100 public Bitmap decodeRegion(Rect wantRegion, BitmapFactory.Options options) { in decodeRegion() argument
108 wantRegion.width() / sampleSize, in decodeRegion()
109 wantRegion.height() / sampleSize, in decodeRegion()
114 mTempCanvas.drawBitmap(mBuffer, -wantRegion.left, -wantRegion.top, mTempPaint); in decodeRegion()