OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:ShadowDrawable
(Results
1 - 3
of
3
) sorted by null
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DrawableTest.java
28
ShadowDrawable
.addCorruptStreamSource(corruptedStreamSource);
29
assertNull(
ShadowDrawable
.createFromStream(new ByteArrayInputStream(new byte[0]), corruptedStreamSource));
34
Drawable drawable =
ShadowDrawable
.createFromStream(new ByteArrayInputStream(new byte[0]), "my_source");
42
ShadowDrawable
.addCorruptStreamSource(src);
43
assertTrue(
ShadowDrawable
.corruptStreamSources.contains(src));
44
ShadowDrawable
.reset();
45
assertFalse(
ShadowDrawable
.corruptStreamSources.contains(src));
57
Drawable drawable =
ShadowDrawable
.createFromStream(new ByteArrayInputStream(new byte[0]), "my_source");
69
Drawable drawable =
ShadowDrawable
.createFromStream(new ByteArrayInputStream(new byte[0]), "my_source");
80
Drawable drawable =
ShadowDrawable
.createFromPath("/foo")
[
all
...]
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowDrawable.java
23
public class
ShadowDrawable
{
116
ShadowDrawable
.defaultIntrinsicWidth = defaultIntrinsicWidth;
120
ShadowDrawable
.defaultIntrinsicHeight = defaultIntrinsicHeight;
158
ShadowDrawable
that = shadowOf((Drawable) o);
/external/robolectric/src/main/java/com/xtremelabs/robolectric/
Robolectric.java
195
ShadowDrawable
.class,
366
ShadowDrawable
.reset();
615
public static
ShadowDrawable
shadowOf(Drawable instance) {
616
return (
ShadowDrawable
) shadowOf_(instance);
[
all
...]
Completed in 160 milliseconds