Home
last modified time | relevance | path

Searched refs:createFromResourceStream (Results 1 – 2 of 2) sorted by relevance

/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DDrawableTest.java119 …assertNull(ShadowDrawable.createFromResourceStream(null, null, new ByteArrayInputStream(new byte[0… in createFromResourceStream__shouldReturnNullWhenAskedToCreateADrawableFromACorruptedSourceStream()
124 …Drawable drawable = ShadowDrawable.createFromResourceStream(null, null, new ByteArrayInputStream(n… in createFromResourceStream__shouldReturnDrawableWithSpecificSource()
132 … Drawable drawable = Drawable.createFromResourceStream(null, null, byteInputStream, "src name"); in testCreateFromResourceStream_shouldSetTheInputStreamOnTheReturnedDrawable()
140 …assertNull(ShadowDrawable.createFromResourceStream(null, null, new ByteArrayInputStream(new byte[0… in createFromResourceStreamWithOptions__shouldReturnNullWhenAskedToCreateADrawableFromACorruptedSourceStream()
145 …Drawable drawable = ShadowDrawable.createFromResourceStream(null, null, new ByteArrayInputStream(n… in createFromResourceStreamWithOptions__shouldReturnDrawableWithSpecificSource()
153 …Drawable drawable = Drawable.createFromResourceStream(null, null, byteInputStream, "src name", new… in testCreateFromResourceStreamWithOptions_shouldSetTheInputStreamOnTheReturnedDrawable()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowDrawable.java51 …public static Drawable createFromResourceStream(Resources res, TypedValue value, InputStream is, S… in createFromResourceStream() method in ShadowDrawable
56 …public static Drawable createFromResourceStream(Resources res, TypedValue value, InputStream is, S… in createFromResourceStream() method in ShadowDrawable