HomeSort by relevance Sort by last modified time
    Searched refs:wantRegion (Results 1 - 3 of 3) sorted by null

  /packages/apps/Gallery2/src/com/android/gallery3d/ui/
TileImageViewAdapter.java 94 Rect wantRegion = new Rect(x, y, x + t, y + t);
103 // We need to clear a reused bitmap, if wantRegion is not fully
106 .contains(wantRegion);
125 bitmap = regionDecoder.decodeRegion(wantRegion, options);
143 Rect wantRegion = new Rect(x, y, x + t, y + t);
152 Utils.assertTrue(overlapRegion.intersect(wantRegion));
170 if (wantRegion.equals(overlapRegion)) return bitmap;
175 (overlapRegion.left - wantRegion.left) >> level,
176 (overlapRegion.top - wantRegion.top) >> level, null);
  /packages/apps/Launcher3/WallpaperPicker/src/com/android/photos/
BitmapRegionTileSource.java 48 Bitmap decodeRegion(Rect wantRegion, BitmapFactory.Options options);
88 public Bitmap decodeRegion(Rect wantRegion, BitmapFactory.Options options) {
89 return mDecoder.decodeRegion(wantRegion, options);
120 public Bitmap decodeRegion(Rect wantRegion, BitmapFactory.Options options) {
128 wantRegion.width() / sampleSize,
129 wantRegion.height() / sampleSize,
134 mTempCanvas.drawBitmap(mBuffer, -wantRegion.left, -wantRegion.top, mTempPaint);
  /frameworks/base/packages/WallpaperCropper/src/com/android/photos/
BitmapRegionTileSource.java 49 Bitmap decodeRegion(Rect wantRegion, BitmapFactory.Options options);
89 public Bitmap decodeRegion(Rect wantRegion, BitmapFactory.Options options) {
90 return mDecoder.decodeRegion(wantRegion, options);
121 public Bitmap decodeRegion(Rect wantRegion, BitmapFactory.Options options) {
129 wantRegion.width() / sampleSize,
130 wantRegion.height() / sampleSize,
135 mTempCanvas.drawBitmap(mBuffer, -wantRegion.left, -wantRegion.top, mTempPaint);

Completed in 92 milliseconds