Searched refs:ShadowDrawable (Results 1 – 11 of 11) sorted by relevance
28 ShadowDrawable.addCorruptStreamSource(corruptedStreamSource); in createFromStream__shouldReturnNullWhenAskedToCreateADrawableFromACorruptedSourceStream()29 …assertNull(ShadowDrawable.createFromStream(new ByteArrayInputStream(new byte[0]), corruptedStreamS… in createFromStream__shouldReturnNullWhenAskedToCreateADrawableFromACorruptedSourceStream()34 …Drawable drawable = ShadowDrawable.createFromStream(new ByteArrayInputStream(new byte[0]), "my_sou… in createFromStream__shouldReturnDrawableWithSpecificSource()42 ShadowDrawable.addCorruptStreamSource(src); in reset__shouldClearStaticState()43 assertTrue(ShadowDrawable.corruptStreamSources.contains(src)); in reset__shouldClearStaticState()44 ShadowDrawable.reset(); in reset__shouldClearStaticState()45 assertFalse(ShadowDrawable.corruptStreamSources.contains(src)); in reset__shouldClearStaticState()57 …Drawable drawable = ShadowDrawable.createFromStream(new ByteArrayInputStream(new byte[0]), "my_sou… in copyBoundsWithPassedRect()69 …Drawable drawable = ShadowDrawable.createFromStream(new ByteArrayInputStream(new byte[0]), "my_sou… in copyBoundsToReturnedRect()80 Drawable drawable = ShadowDrawable.createFromPath("/foo"); in createFromPath__shouldReturnDrawableWithSpecificPath()[all …]
21 Drawable drawable = ShadowDrawable.createFromPath("/foo"); in testAddStateWithDrawable()35 Drawable drawable = ShadowDrawable.createFromPath("/foo"); in testAddDrawableWithWildCardState()
23 public class ShadowDrawable { class116 ShadowDrawable.defaultIntrinsicWidth = defaultIntrinsicWidth; in setDefaultIntrinsicWidth()120 ShadowDrawable.defaultIntrinsicHeight = defaultIntrinsicHeight; in setDefaultIntrinsicHeight()158 ShadowDrawable that = shadowOf((Drawable) o); in equals()
9 public class ShadowShapeDrawable extends ShadowDrawable {
547 leftDrawable = left != 0 ? ShadowDrawable.createFromResourceId(left) : null; in CompoundDrawables()548 topDrawable = top != 0 ? ShadowDrawable.createFromResourceId(top) : null; in CompoundDrawables()549 rightDrawable = right != 0 ? ShadowDrawable.createFromResourceId(right) : null; in CompoundDrawables()550 bottomDrawable = bottom != 0 ? ShadowDrawable.createFromResourceId(bottom) : null; in CompoundDrawables()
12 public class ShadowAnimationDrawable extends ShadowDrawable {
11 public class ShadowColorDrawable extends ShadowDrawable {
13 public class ShadowLayerDrawable extends ShadowDrawable {
15 public class ShadowStateListDrawable extends ShadowDrawable {
19 public class ShadowBitmapDrawable extends ShadowDrawable {
197 ShadowDrawable.class, in getDefaultShadowClasses()370 ShadowDrawable.reset(); in resetStaticState()621 public static ShadowDrawable shadowOf(Drawable instance) { in shadowOf()622 return (ShadowDrawable) shadowOf_(instance); in shadowOf()