Home
last modified time | relevance | path

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

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
DDrawableLoader.java182 CachedInputStream bufferedStream = null; in decodeBitmap() local
185 bufferedStream = new CachedInputStream(in); in decodeBitmap()
188 bufferedStream.setOverrideMarkLimit(Integer.MAX_VALUE); in decodeBitmap()
195 bufferedStream.mark(Integer.MAX_VALUE); in decodeBitmap()
196 BitmapFactory.decodeStream(bufferedStream, null, bitmapOptions); in decodeBitmap()
231 bufferedStream.reset(); in decodeBitmap()
232 bufferedStream.setOverrideMarkLimit(0); in decodeBitmap()
240 bitmap = BitmapFactory.decodeStream(bufferedStream, null, bitmapOptions); in decodeBitmap()
243 bufferedStream.reset(); in decodeBitmap()
244 bufferedStream.setOverrideMarkLimit(0); in decodeBitmap()
[all …]
DBitmapWorkerTask.java197 CachedInputStream bufferedStream = null;
200 bufferedStream = new CachedInputStream(in);
203 bufferedStream.setOverrideMarkLimit(Integer.MAX_VALUE);
210 bufferedStream.mark(Integer.MAX_VALUE);
211 BitmapFactory.decodeStream(bufferedStream, null, bitmapOptions);
243 bufferedStream.reset();
244 bufferedStream.setOverrideMarkLimit(0);
246 BitmapFactory.decodeStream(bufferedStream, null,
253 if (bufferedStream != null) {
254 bufferedStream.close();