Home
last modified time | relevance | path

Searched refs:getBitmap (Results 1 – 25 of 51) sorted by relevance

123

/external/volley/src/test/java/com/android/volley/toolbox/
DImageLoaderTest.java54 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/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowBitmapDrawable.java36 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()
DShadowIcon.java35 public Bitmap getBitmap() { in getBitmap() method in ShadowIcon
36 return directlyOn(realIcon, Icon.class).getBitmap(); in getBitmap()
DShadowMediaStore.java21 protected static Bitmap getBitmap(ContentResolver cr, Uri url) { in getBitmap() method in ShadowMediaStore.ShadowImages.ShadowMedia
/external/volley/src/main/java/com/android/volley/toolbox/
DImageLoader.java75 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() {
DNetworkImageView.java280 if (response.getBitmap() != null) { in loadImageIfNecessary()
281 setImageBitmap(response.getBitmap()); in loadImageIfNecessary()
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/
DGlideBitmapDrawableResource.java20 return Util.getBitmapByteSize(drawable.getBitmap()); in getSize()
25 bitmapPool.put(drawable.getBitmap()); in recycle()
DBitmapDrawableResource.java28 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/
DImageLayer.java33 Bitmap bitmap = getBitmap(); in drawLayer()
53 Bitmap bitmap = getBitmap(); in getBounds()
61 private Bitmap getBitmap() { in getBitmap() method in ImageLayer
/external/lottie/lottie/src/main/java/com/airbnb/lottie/manager/
DImageAssetManager.java60 Bitmap ret = asset.getBitmap(); in updateBitmap()
64 Bitmap prevBitmap = imageAssets.get(id).getBitmap(); in updateBitmap()
74 Bitmap bitmap = asset.getBitmap(); in bitmapForId()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowBitmapDrawableTest.java35 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()
DShadowIconTest.java38 assertThat(shadowOf(icon).getBitmap()).isEqualTo(bitmap); in testGetBitmap()
/external/tflite-support/tensorflow_lite_support/java/src/java/org/tensorflow/lite/support/image/
DTensorImage.java214 public Bitmap getBitmap() { in getBitmap() method in TensorImage
219 return container.getBitmap(); in getBitmap()
DImageContainer.java45 Bitmap getBitmap(); in getBitmap() method
DBitmapContainer.java53 public Bitmap getBitmap() { in getBitmap() method in BitmapContainer
DTensorBufferContainer.java53 public Bitmap getBitmap() { in getBitmap() method in TensorBufferContainer
/external/skia/gm/
Dgiantbitmap.cpp35 const SkBitmap& getBitmap() { in getBitmap() function in GiantBitmapGM
118 paint.setShader(getBitmap().makeShader(fMode, fMode, in onDraw()
/external/skqp/gm/
Dgiantbitmap.cpp27 const SkBitmap& getBitmap() { in getBitmap() function in GiantBitmapGM
107 paint.setShader(SkShader::MakeBitmapShader(getBitmap(), fMode, fMode, &m)); in onDraw()
/external/sonivox/jet_tools/JetCreator/
Dimg_Paste.py30 def getBitmap(): function
39 icon.CopyFromBitmap(getBitmap())
Dimg_Copy.py40 def getBitmap(): function
49 icon.CopyFromBitmap(getBitmap())
Dimg_favicon.py50 def getBitmap(): function
59 icon.CopyFromBitmap(getBitmap())
/external/lottie/lottie/src/main/java/com/airbnb/lottie/
DLottieImageAsset.java51 @Nullable public Bitmap getBitmap() { in getBitmap() method in LottieImageAsset
/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/
DTerminalView.java140 if (bridge.getBitmap() != null) { in onDraw()
145 canvas.drawBitmap(bridge.getBitmap(), 0, 0, paint); in onDraw()
/external/tflite-support/tensorflow_lite_support/java/src/java/org/tensorflow/lite/support/image/ops/
DResizeOp.java69 Bitmap.createScaledBitmap(image.getBitmap(), targetWidth, targetHeight, useBilinear); in apply()
DRot90Op.java57 Bitmap input = image.getBitmap(); in apply()

123