Home
last modified time | relevance | path

Searched refs:ShadowBitmapDrawable (Results 1 – 11 of 11) sorted by relevance

/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowBitmapDrawable.java19 public class ShadowBitmapDrawable extends ShadowDrawable { class
120 if (o == null || getClass() != ShadowBitmapDrawable.class) return false; in equals()
122 ShadowBitmapDrawable that = shadowOf((BitmapDrawable) o); in equals()
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DDrawableTest.java36 assertEquals("my_source", ((ShadowBitmapDrawable) shadowOf(drawable)).getSource()); in createFromStream__shouldReturnDrawableWithSpecificSource()
82 assertEquals("/foo", ((ShadowBitmapDrawable) shadowOf(drawable)).getPath()); in createFromPath__shouldReturnDrawableWithSpecificPath()
126 assertEquals("my_source", ((ShadowBitmapDrawable) shadowOf(drawable)).getSource()); in createFromResourceStream__shouldReturnDrawableWithSpecificSource()
147 assertEquals("my_source", ((ShadowBitmapDrawable) shadowOf(drawable)).getSource()); in createFromResourceStreamWithOptions__shouldReturnDrawableWithSpecificSource()
DStateListDrawableTest.java30 assertThat(((ShadowBitmapDrawable) shadowOf(drawableForState)).getPath(), is("/foo")); in testAddStateWithDrawable()
43 assertThat(((ShadowBitmapDrawable) shadowOf(drawableForState)).getPath(), is("/foo")); in testAddDrawableWithWildCardState()
DBitmapDrawableTest.java93 …assertEquals(R.drawable.an_image, ((ShadowBitmapDrawable) Robolectric.shadowOf(drawable)).getLoade… in shouldStillHaveShadow()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/
DRobolectric.java155 ShadowBitmapDrawable.class, in getDefaultShadowClasses()
489 public static ShadowBitmapDrawable shadowOf(BitmapDrawable instance) { in shadowOf()
490 return (ShadowBitmapDrawable) shadowOf_(instance); in shadowOf()
/external/robolectric/v3/runtime/
Dshadows-core-3.1-SNAPSHOT-22.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/ ...
Dshadows-core-3.1-SNAPSHOT-19.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/ ...
Dshadows-core-3.1-SNAPSHOT-16.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/ ...
Dshadows-core-3.1-SNAPSHOT-21.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/ ...
Dshadows-core-3.1-SNAPSHOT-18.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/ ...
Dshadows-core-3.1-SNAPSHOT-17.jarMETA-INF/ META-INF/MANIFEST.MF linux-x86_64/ linux-x86_64/ ...