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/WallpaperPicker/src/com/android/photos/
BitmapRegionTileSource.java 47 Bitmap decodeRegion(Rect wantRegion, BitmapFactory.Options options);
75 public Bitmap decodeRegion(Rect wantRegion, BitmapFactory.Options options) {
76 return mDecoder.decodeRegion(wantRegion, options);
100 public Bitmap decodeRegion(Rect wantRegion, BitmapFactory.Options options) {
108 wantRegion.width() / sampleSize,
109 wantRegion.height() / sampleSize,
114 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 144 milliseconds