/external/robolectric/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowWallpaperManagerTest.java | 161 assertThat(shadowOf(manager).getBitmap(WallpaperManager.FLAG_SYSTEM)).isEqualTo(TEST_IMAGE_1); in setBitmap_flagSystem_shouldCacheInMemory() 162 assertThat(shadowOf(manager).getBitmap(WallpaperManager.FLAG_LOCK)).isNull(); in setBitmap_flagSystem_shouldCacheInMemory() 200 assertThat(shadowOf(manager).getBitmap(WallpaperManager.FLAG_SYSTEM)).isEqualTo(TEST_IMAGE_3); in setBitmap_multipleCallsWithFlagSystem_shouldCacheLastBitmapInMemory() 201 assertThat(shadowOf(manager).getBitmap(WallpaperManager.FLAG_LOCK)).isNull(); in setBitmap_multipleCallsWithFlagSystem_shouldCacheLastBitmapInMemory() 215 assertThat(shadowOf(manager).getBitmap(WallpaperManager.FLAG_LOCK)).isEqualTo(TEST_IMAGE_2); in setBitmap_flagLock_shouldCacheInMemory() 216 assertThat(shadowOf(manager).getBitmap(WallpaperManager.FLAG_SYSTEM)).isNull(); in setBitmap_flagLock_shouldCacheInMemory() 253 assertThat(shadowOf(manager).getBitmap(WallpaperManager.FLAG_LOCK)).isEqualTo(TEST_IMAGE_3); in setBitmap_multipleCallsWithFlagLock_shouldCacheLastBitmapInMemory() 254 assertThat(shadowOf(manager).getBitmap(WallpaperManager.FLAG_SYSTEM)).isNull(); in setBitmap_multipleCallsWithFlagLock_shouldCacheLastBitmapInMemory() 265 assertThat(shadowOf(manager).getBitmap(UNSUPPORTED_FLAG)).isNull(); in setBitmap_unsupportedFlag_shouldNotCacheInMemory() 375 assertThat(getBytesFromBitmap(shadowOf(manager).getBitmap(WallpaperManager.FLAG_SYSTEM))) in setStream_flagSystem_shouldCacheInMemory() [all …]
|
D | ShadowBitmapDrawableTest.java | 30 assertThat(drawable.getBitmap()).isEqualTo(bitmap); in constructors_shouldSetBitmap() 33 assertThat(drawable.getBitmap()).isEqualTo(bitmap); in constructors_shouldSetBitmap() 39 assertThat(shadowOf(drawable.getBitmap()).getDescription()) in getBitmap_shouldReturnBitmapUsedToDraw()
|
/external/volley/core/src/test/java/com/android/volley/toolbox/ |
D | ImageLoaderTest.java | 54 when(mImageCache.getBitmap(anyString())).thenReturn(null); in isCachedChecksCache() 62 when(mImageCache.getBitmap(anyString())).thenReturn(bitmap); in getWithCacheHit() 64 Assert.assertSame(bitmap, ic.getBitmap()); in getWithCacheHit() 70 when(mImageCache.getBitmap(anyString())).thenReturn(null); in getWithCacheMiss()
|
/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowBitmapDrawable.java | 33 Bitmap bitmap = realBitmapDrawable.getBitmap(); in draw() 44 Bitmap bitmap = realBitmapDrawable.getBitmap(); in setCreatedFromResId() 63 ShadowBitmap shadowBitmap = Shadow.extract(realBitmapDrawable.getBitmap()); in getCreatedFromResId()
|
D | ShadowIcon.java | 50 public Bitmap getBitmap() { in getBitmap() method in ShadowIcon 51 return reflector(IconReflector.class, realIcon).getBitmap(); in getBitmap() 115 Bitmap getBitmap(); in getBitmap() method
|
D | ShadowNativeBitmapDrawable.java | 23 return ((ShadowNativeBitmap) Shadow.extract(bitmapDrawable.getBitmap())).getCreatedFromResId(); in getCreatedFromResId() 29 Bitmap bitmap = bitmapDrawable.getBitmap(); in setCreatedFromResId()
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowBitmapDrawable.java | 36 canvas.drawBitmap(realBitmapDrawable.getBitmap(), 0, 0, paint); in draw() 41 Bitmap bitmap = realBitmapDrawable.getBitmap(); in mutate() 65 ShadowBitmap shadowBitmap = Shadow.extract(realBitmapDrawable.getBitmap()); in getCreatedFromResId()
|
D | ShadowIcon.java | 35 public Bitmap getBitmap() { in getBitmap() method in ShadowIcon 36 return directlyOn(realIcon, Icon.class).getBitmap(); in getBitmap()
|
D | ShadowMediaStore.java | 21 protected static Bitmap getBitmap(ContentResolver cr, Uri url) { in getBitmap() method in ShadowMediaStore.ShadowImages.ShadowMedia
|
/external/volley/core/src/main/java/com/android/volley/toolbox/ |
D | ImageLoader.java | 75 Bitmap getBitmap(String url); in getBitmap() method 112 if (response.getBitmap() != null) { in getImageListener() 113 view.setImageBitmap(response.getBitmap()); in getImageListener() 173 return mCache.getBitmap(cacheKey) != null; 227 Bitmap cachedBitmap = mCache.getBitmap(cacheKey); 407 public Bitmap getBitmap() {
|
D | NetworkImageView.java | 280 if (response.getBitmap() != null) { in loadImageIfNecessary() 281 setImageBitmap(response.getBitmap()); in loadImageIfNecessary()
|
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/ |
D | GlideBitmapDrawableResource.java | 20 return Util.getBitmapByteSize(drawable.getBitmap()); in getSize() 25 bitmapPool.put(drawable.getBitmap()); in recycle()
|
D | BitmapDrawableResource.java | 28 return Util.getBitmapByteSize(drawable.getBitmap()); in getSize() 33 bitmapPool.put(drawable.getBitmap()); in recycle()
|
/external/lottie/lottie/src/main/java/com/airbnb/lottie/model/layer/ |
D | ImageLayer.java | 38 Bitmap bitmap = getBitmap(); in drawLayer() 71 private Bitmap getBitmap() { in getBitmap() method in ImageLayer 85 return asset.getBitmap(); in getBitmap()
|
/external/lottie/lottie/src/main/java/com/airbnb/lottie/manager/ |
D | ImageAssetManager.java | 56 Bitmap ret = asset.getBitmap(); in updateBitmap() 60 Bitmap prevBitmap = imageAssets.get(id).getBitmap(); in updateBitmap() 75 Bitmap bitmap = asset.getBitmap(); in bitmapForId()
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowBitmapDrawableTest.java | 35 assertThat(drawable.getBitmap()).isEqualTo(bitmap); in constructors_shouldSetBitmap() 38 assertThat(drawable.getBitmap()).isEqualTo(bitmap); in constructors_shouldSetBitmap() 44 …assertThat(shadowOf(drawable.getBitmap()).getDescription()).isEqualTo("Bitmap for resource:org.rob… in getBitmap_shouldReturnBitmapUsedToDraw()
|
/external/tflite-support/tensorflow_lite_support/java/src/java/org/tensorflow/lite/support/image/ |
D | TensorImage.java | 214 public Bitmap getBitmap() { in getBitmap() method in TensorImage 219 return container.getBitmap(); in getBitmap()
|
D | ImageContainer.java | 45 Bitmap getBitmap(); in getBitmap() method
|
D | BitmapContainer.java | 53 public Bitmap getBitmap() { in getBitmap() method in BitmapContainer
|
/external/skia/gm/ |
D | giantbitmap.cpp | 34 const SkBitmap& getBitmap() { in getBitmap() function in GiantBitmapGM 115 paint.setShader(getBitmap().makeShader( in onDraw()
|
/external/sonivox/jet_tools/JetCreator/ |
D | img_Paste.py | 30 def getBitmap(): function 39 icon.CopyFromBitmap(getBitmap())
|
D | img_Copy.py | 40 def getBitmap(): function 49 icon.CopyFromBitmap(getBitmap())
|
/external/robolectric/integration_tests/nativegraphics/src/test/java/org/robolectric/integrationtests/nativegraphics/ |
D | MediaStoreTest.java | 24 MediaStore.Images.Media.getBitmap( in getBitmap_legacyAPI_alwaysReturnsABitmap()
|
/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/ |
D | TerminalView.java | 140 if (bridge.getBitmap() != null) { in onDraw() 145 canvas.drawBitmap(bridge.getBitmap(), 0, 0, paint); in onDraw()
|
/external/lottie/lottie/src/main/java/com/airbnb/lottie/ |
D | LottieImageAsset.java | 57 @Nullable public Bitmap getBitmap() { in getBitmap() method in LottieImageAsset
|