Home
last modified time | relevance | path

Searched refs:mDecoder (Results 1 – 3 of 3) sorted by relevance

/packages/apps/WallpaperPicker/src/com/android/photos/
DBitmapRegionTileSource.java51 BitmapRegionDecoder mDecoder; field in SimpleBitmapRegionDecoderWrapper
53 mDecoder = decoder; in SimpleBitmapRegionDecoderWrapper()
70 return mDecoder.getWidth(); in getWidth()
73 return mDecoder.getHeight(); in getHeight()
76 return mDecoder.decodeRegion(wantRegion, options); in decodeRegion()
136 private SimpleBitmapRegionDecoder mDecoder; field in BitmapRegionTileSource.BitmapSource
145 mDecoder = loadBitmapRegionDecoder(); in loadInBackground()
146 if (mDecoder == null) { in loadInBackground()
150 int width = mDecoder.getWidth(); in loadInBackground()
151 int height = mDecoder.getHeight(); in loadInBackground()
[all …]
/packages/apps/Camera2/src/com/android/camera/ui/
DZoomView.java54 BitmapRegionDecoder mDecoder; field in ZoomView.DecodePartialBitmap
58 mDecoder = mRegionDecoder; in onPreExecute()
138 if (mDecoder == null) { in doInBackground()
145 mDecoder = BitmapRegionDecoder.newInstance(is, false); in doInBackground()
151 if (mDecoder == null) { in doInBackground()
154 Bitmap b = mDecoder.decodeRegion(region, options); in doInBackground()
166 if (mDecoder != mRegionDecoder) { in onPostExecute()
168 mDecoder.recycle(); in onPostExecute()
/packages/apps/Gallery2/src/com/android/photos/
DBitmapRegionTileSource.java54 BitmapRegionDecoder mDecoder; field in BitmapRegionTileSource
71 mDecoder = BitmapRegionDecoder.newInstance(path, true); in BitmapRegionTileSource()
72 mWidth = mDecoder.getWidth(); in BitmapRegionTileSource()
73 mHeight = mDecoder.getHeight(); in BitmapRegionTileSource()
142 bitmap = mDecoder.decodeRegion(mWantRegion, mOptions); in getTile()
164 Bitmap bitmap = mDecoder.decodeRegion(mOverlapRegion, mOptions); in getTileWithoutReusingBitmap()