Home
last modified time | relevance | path

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

12

/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/volley/src/main/java/com/android/volley/toolbox/
DImageLoader.java73 Bitmap getBitmap(String url); in getBitmap() method
110 if (response.getBitmap() != null) { in getImageListener()
111 view.setImageBitmap(response.getBitmap()); in getImageListener()
171 return mCache.getBitmap(cacheKey) != null;
225 Bitmap cachedBitmap = mCache.getBitmap(cacheKey);
405 public Bitmap getBitmap() {
DNetworkImageView.java231 if (response.getBitmap() != null) { in loadImageIfNecessary()
232 setImageBitmap(response.getBitmap()); in loadImageIfNecessary()
/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
DShadowNotification.java85 ? ((BitmapDrawable) imageView.getDrawable()).getBitmap() : null; in getBigPicture()
/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()
DGlideBitmapDrawable.java135 public Bitmap getBitmap() { in getBitmap() method in GlideBitmapDrawable
/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/skia/gm/
Dgiantbitmap.cpp27 const SkBitmap& getBitmap() { in getBitmap() function in GiantBitmapGM
107 paint.setShader(SkShader::MakeBitmapShader(getBitmap(), fMode, fMode, &m)); 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())
Dimg_Print.py51 def getBitmap(): function
60 icon.CopyFromBitmap(getBitmap())
Dimg_New.py50 def getBitmap(): function
59 icon.CopyFromBitmap(getBitmap())
Dimg_Redo.py68 def getBitmap(): function
77 icon.CopyFromBitmap(getBitmap())
Dimg_Open.py68 def getBitmap(): function
77 icon.CopyFromBitmap(getBitmap())
Dimg_Undo.py70 def getBitmap(): function
79 icon.CopyFromBitmap(getBitmap())
Dimg_Find.py74 def getBitmap(): function
83 icon.CopyFromBitmap(getBitmap())
/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/subsampling-scale-image-view/library/src/main/java/com/davemorrissey/labs/subscaleview/
DImageSource.java217 protected final Bitmap getBitmap() { in getBitmap() method in ImageSource

12