HomeSort by relevance Sort by last modified time
    Searched refs:ShadowDrawable (Results 1 - 25 of 29) sorted by null

1 2

  /external/robolectric/v1/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...]
StateListDrawableTest.java 21 Drawable drawable = ShadowDrawable.createFromPath("/foo");
35 Drawable drawable = ShadowDrawable.createFromPath("/foo");
  /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowShapeDrawable.java 9 public class ShadowShapeDrawable extends ShadowDrawable {
ShadowAnimationDrawable.java 12 public class ShadowAnimationDrawable extends ShadowDrawable {
ShadowColorDrawable.java 11 public class ShadowColorDrawable extends ShadowDrawable {
ShadowDrawable.java 23 public class ShadowDrawable {
116 ShadowDrawable.defaultIntrinsicWidth = defaultIntrinsicWidth;
120 ShadowDrawable.defaultIntrinsicHeight = defaultIntrinsicHeight;
158 ShadowDrawable that = shadowOf((Drawable) o);
ShadowLayerDrawable.java 13 public class ShadowLayerDrawable extends ShadowDrawable {
ShadowStateListDrawable.java 15 public class ShadowStateListDrawable extends ShadowDrawable {
ShadowBitmapDrawable.java 19 public class ShadowBitmapDrawable extends ShadowDrawable {
72 // Used by ShadowDrawable.createFromStream()
81 //Used by ShadowDrawable.createFromPath()
ShadowTextView.java 547 leftDrawable = left != 0 ? ShadowDrawable.createFromResourceId(left) : null;
548 topDrawable = top != 0 ? ShadowDrawable.createFromResourceId(top) : null;
549 rightDrawable = right != 0 ? ShadowDrawable.createFromResourceId(right) : null;
550 bottomDrawable = bottom != 0 ? ShadowDrawable.createFromResourceId(bottom) : null;
  /packages/apps/Settings/tests/robotests/src/com/android/settings/password/
ChooseLockPasswordTest.java 45 import org.robolectric.shadows.ShadowDrawable;
130 ShadowDrawable drawable = setActivityAndGetIconDrawable(true);
136 ShadowDrawable drawable = setActivityAndGetIconDrawable(false);
140 private ShadowDrawable setActivityAndGetIconDrawable(boolean addFingerprintExtra) {
ChooseLockPatternTest.java 41 import org.robolectric.shadows.ShadowDrawable;
108 ShadowDrawable drawable = Shadows.shadowOf(((GlifLayout) fragment.getView()).getIcon());
  /packages/apps/Launcher3/src/com/android/launcher3/graphics/
ShadowDrawable.java 46 public class ShadowDrawable extends Drawable {
53 public ShadowDrawable() {
57 private ShadowDrawable(ShadowDrawableState state) {
161 ? r.obtainAttributes(attrs, R.styleable.ShadowDrawable)
162 : theme.obtainStyledAttributes(attrs, R.styleable.ShadowDrawable, 0, 0);
201 return new ShadowDrawable(this);
  /frameworks/base/core/java/android/util/
LauncherIcons.java 58 return new ShadowDrawable(shadow, drawable);
126 private static class ShadowDrawable extends DrawableWrapper {
130 public ShadowDrawable(Bitmap shadow, Drawable dr) {
135 ShadowDrawable(MyConstantState state) {
175 return new ShadowDrawable(this);
  /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/
Robolectric.java 197 ShadowDrawable.class,
370 ShadowDrawable.reset();
621 public static ShadowDrawable shadowOf(Drawable instance) {
622 return (ShadowDrawable) shadowOf_(instance);
    [all...]
  /external/robolectric/v3/runtime/
shadows-core-3.1-SNAPSHOT-16.jar 
shadows-core-3.1-SNAPSHOT-17.jar 
shadows-core-3.1-SNAPSHOT-18.jar 
shadows-core-3.1-SNAPSHOT-19.jar 
shadows-core-3.1-SNAPSHOT-21.jar 
shadows-core-3.1-SNAPSHOT-22.jar 
  /prebuilts/misc/common/robolectric/lib/
shadows-core-v16-3.1.1.jar 
shadows-core-v17-3.1.1.jar 
shadows-core-v18-3.1.1.jar 
shadows-core-v19-3.1.1.jar 

Completed in 961 milliseconds

1 2