Home
last modified time | relevance | path

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

/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DTileImageViewAdapter.java41 Bitmap bitmap, BitmapRegionDecoder regionDecoder) { in TileImageViewAdapter() argument
44 mRegionDecoder = regionDecoder; in TileImageViewAdapter()
45 mImageWidth = regionDecoder.getWidth(); in TileImageViewAdapter()
46 mImageHeight = regionDecoder.getHeight(); in TileImageViewAdapter()
117 BitmapRegionDecoder regionDecoder = null; in getTile() local
120 regionDecoder = mRegionDecoder; in getTile()
121 if (regionDecoder == null) return null; in getTile()
145 synchronized (regionDecoder) { in getTile()
146 bitmap = regionDecoder.decodeRegion(wantRegion, options); in getTile()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DCropImage.java723 BitmapRegionDecoder regionDecoder) { in onBitmapRegionDecoderAvailable() argument
725 if (regionDecoder == null) { in onBitmapRegionDecoderAvailable()
730 mRegionDecoder = regionDecoder; in onBitmapRegionDecoderAvailable()
735 int width = regionDecoder.getWidth(); in onBitmapRegionDecoderAvailable()
736 int height = regionDecoder.getHeight(); in onBitmapRegionDecoderAvailable()
739 mBitmap = regionDecoder.decodeRegion( in onBitmapRegionDecoderAvailable()
742 mBitmap, regionDecoder), mMediaItem.getFullImageRotation()); in onBitmapRegionDecoderAvailable()