HomeSort by relevance Sort by last modified time
    Searched refs:inBitmap (Results 1 - 25 of 30) sorted by null

1 2

  /packages/apps/Gallery2/src/com/android/photos/drawables/
AutoThumbnailDrawable.java 259 mOptions.inBitmap = sBitmapPool.get(
263 if (mOptions.inBitmap != null && b != mOptions.inBitmap) {
264 sBitmapPool.put(mOptions.inBitmap);
265 mOptions.inBitmap = null;
271 mOptions.inBitmap = sBitmapPool.get(width / sampleSize, height / sampleSize);
273 if (mOptions.inBitmap != null && b != mOptions.inBitmap) {
274 sBitmapPool.put(mOptions.inBitmap);
275 mOptions.inBitmap = null
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/data/
DecodeUtils.java 255 options.inBitmap = (options.inSampleSize == 1)
259 if (options.inBitmap != null && options.inBitmap != bitmap) {
260 GalleryBitmapPool.getInstance().put(options.inBitmap);
261 options.inBitmap = null;
265 if (options.inBitmap == null) throw e;
268 GalleryBitmapPool.getInstance().put(options.inBitmap);
269 options.inBitmap = null;
282 options.inBitmap = (options.inSampleSize == 1)
286 if (options.inBitmap != null && options.inBitmap != bitmap)
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/ui/
TileImageViewAdapter.java 120 options.inBitmap = bitmap;
128 if (options.inBitmap != bitmap && options.inBitmap != null) {
129 GalleryBitmapPool.getInstance().put(options.inBitmap);
130 options.inBitmap = null;
  /frameworks/base/tools/layoutlib/bridge/src/android/graphics/
BitmapFactory_Delegate.java 103 opts.inBitmap = null;
109 opts.inBitmap = null;
116 opts.inBitmap = null;
  /developers/build/prebuilts/gradle/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/util/
ImageResizer.java 111 * @param cache The ImageCache used to find candidate bitmaps for use with inBitmap
128 // If we're running on Honeycomb or newer, try to use inBitmap
144 * @param cache The ImageCache used to find candidate bitmaps for use with inBitmap
159 // If we're running on Honeycomb or newer, try to use inBitmap
175 * @param cache The ImageCache used to find candidate bitmaps for use with inBitmap
193 // If we're running on Honeycomb or newer, try to use inBitmap
204 // inBitmap only works with mutable bitmaps so force the decoder to
209 // Try and find a bitmap to use for inBitmap
210 Bitmap inBitmap = cache.getBitmapFromReusableSet(options);
212 if (inBitmap != null)
    [all...]
  /developers/samples/android/ui/graphics/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/util/
ImageResizer.java 111 * @param cache The ImageCache used to find candidate bitmaps for use with inBitmap
128 // If we're running on Honeycomb or newer, try to use inBitmap
144 * @param cache The ImageCache used to find candidate bitmaps for use with inBitmap
159 // If we're running on Honeycomb or newer, try to use inBitmap
175 * @param cache The ImageCache used to find candidate bitmaps for use with inBitmap
193 // If we're running on Honeycomb or newer, try to use inBitmap
204 // inBitmap only works with mutable bitmaps so force the decoder to
209 // Try and find a bitmap to use for inBitmap
210 Bitmap inBitmap = cache.getBitmapFromReusableSet(options);
212 if (inBitmap != null)
    [all...]
  /development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/util/
ImageResizer.java 111 * @param cache The ImageCache used to find candidate bitmaps for use with inBitmap
128 // If we're running on Honeycomb or newer, try to use inBitmap
144 * @param cache The ImageCache used to find candidate bitmaps for use with inBitmap
159 // If we're running on Honeycomb or newer, try to use inBitmap
175 * @param cache The ImageCache used to find candidate bitmaps for use with inBitmap
193 // If we're running on Honeycomb or newer, try to use inBitmap
204 // inBitmap only works with mutable bitmaps so force the decoder to
209 // Try and find a bitmap to use for inBitmap
210 Bitmap inBitmap = cache.getBitmapFromReusableSet(options);
212 if (inBitmap != null)
    [all...]
  /development/samples/devbytes/graphics/BitmapAllocation/src/com/example/android/bitmapallocation/
BitmapAllocation.java 66 mBitmapOptions.inBitmap = mCurrentBitmap;
79 // Re-use the bitmap by using BitmapOptions.inBitmap
81 bitmapOptions.inBitmap = mCurrentBitmap;
  /frameworks/base/graphics/java/android/graphics/
BitmapFactory.java 62 * Checking whether the return value matches the value of the inBitmap
93 * <p class="note">BitmapRegionDecoder support for {@link #inBitmap} was
96 * {@link #inBitmap}.</p>
100 public Bitmap inBitmap;
287 * allocations use the {@link #inBitmap} flag instead.</p>
481 if (bm == null && opts != null && opts.inBitmap != null) {
524 if (bm == null && opts != null && opts.inBitmap != null) {
567 } else if (opts.inBitmap != null) {
614 if (bm == null && opts != null && opts.inBitmap != null) {
684 if (bm == null && opts != null && opts.inBitmap != null)
    [all...]
  /packages/apps/Gallery2/src/com/android/photos/
BitmapRegionTileSource.java 139 mOptions.inBitmap = bitmap;
144 if (mOptions.inBitmap != bitmap && mOptions.inBitmap != null) {
145 mOptions.inBitmap = null;
  /packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/
MtpBitmapFetch.java 55 o.inBitmap = GalleryBitmapPool.getInstance().get(o.outWidth, o.outHeight);
  /external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/
Downsampler.java 57 decodeBitmapOptions.inBitmap = null;
185 // Prior to KitKat, the inBitmap size must exactly match the size of the bitmap we're decoding.
305 options.inBitmap = recycled;
  /cts/tests/tests/graphics/src/android/graphics/cts/
BitmapFactoryTest.java 357 options.inBitmap = start;
358 options.inMutable = false; // will be overridden by non-null inBitmap
386 options.inBitmap = reuse;
418 options.inBitmap = reuseBuffer;
433 options.inBitmap = reduced;
450 options.inBitmap = original;
468 options.inBitmap = original;
488 options.inBitmap = densityReduced;
BitmapRegionDecoderTest.java 196 opts.inBitmap = null;
203 // setting inBitmap enables several checks within compareRegionByRegion
204 opts.inBitmap = Bitmap.createBitmap(
325 if (opts.inBitmap != null) {
327 assertSame(opts.inBitmap, actual);
331 // crop 'actual' to the size to be tested (and avoid recycling inBitmap)
  /frameworks/opt/bitmap/src/com/android/bitmap/
DecodeTask.java 187 // disable inBitmap-- bitmap reuse doesn't work with different decode regions due
192 mOpts.inBitmap = null;
284 mOpts.inBitmap = mInBitmap.bmp;
375 // disable inBitmap-- bitmap reuse doesn't work well below K
379 mOpts.inBitmap = null;
  /frameworks/base/packages/WallpaperCropper/src/com/android/photos/
BitmapRegionTileSource.java 450 mOptions.inBitmap = bitmap;
455 if (mOptions.inBitmap != bitmap && mOptions.inBitmap != null) {
456 mOptions.inBitmap = null;
  /packages/apps/Launcher3/WallpaperPicker/src/com/android/photos/
BitmapRegionTileSource.java 450 mOptions.inBitmap = bitmap;
455 if (mOptions.inBitmap != bitmap && mOptions.inBitmap != null) {
456 mOptions.inBitmap = null;
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
DrawableLoader.java 242 bitmapOptions.inBitmap = mRecycledBitmaps.getRecycledBitmap(
249 bitmapOptions.inBitmap = null;
  /packages/apps/Browser/src/com/android/browser/
BrowserBookmarksPage.java 243 static Bitmap getBitmap(Cursor cursor, int columnIndex, Bitmap inBitmap) {
249 opts.inBitmap = inBitmap;
  /frameworks/base/packages/SystemUI/src/com/android/systemui/
DessertCaseView.java 174 opts.inBitmap = loaded;
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/cache/
ImageLoader.java 278 options.inBitmap = reuse;
  /packages/apps/Launcher2/src/com/android/launcher2/
WidgetPreviewLoader.java 433 opts.inBitmap = b;
  /packages/apps/Launcher3/src/com/android/launcher3/
WidgetPreviewLoader.java 473 opts.inBitmap = b;
    [all...]
  /external/robolectric/lib/main/
android.jar 
  /prebuilts/sdk/12/
android.jar 

Completed in 1621 milliseconds

1 2