HomeSort by relevance Sort by last modified time
    Searched refs:GradientDrawable (Results 1 - 21 of 21) sorted by null

  /external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
ShadowGradientDrawable.java 5 import android.graphics.drawable.GradientDrawable;
10 @Implements(GradientDrawable.class)
14 private GradientDrawable realGradientDrawable;
21 directlyOn(realGradientDrawable, GradientDrawable.class).setColor(color);
  /cts/tests/tests/graphics/src/android/graphics/drawable/cts/
GradientDrawableTest.java 40 import android.graphics.drawable.GradientDrawable;
41 import android.graphics.drawable.GradientDrawable.Orientation;
73 new GradientDrawable();
74 new GradientDrawable(GradientDrawable.Orientation.BL_TR, color);
75 new GradientDrawable(null, null);
80 GradientDrawable gradientDrawable = new GradientDrawable();
82 PixelFormat.TRANSLUCENT, gradientDrawable.getOpacity())
    [all...]
ThemedDrawableTest.java 34 import android.graphics.drawable.GradientDrawable;
98 GradientDrawable d = (GradientDrawable) mContext.getDrawable(
DefaultFocusHighlightTest.java 38 import android.graphics.drawable.GradientDrawable;
318 static GradientDrawable createGradientDrawable() {
319 GradientDrawable gradientDrawable = new GradientDrawable();
320 gradientDrawable.setColor(A_COLOR);
321 gradientDrawable.setCornerRadius(10f);
322 return gradientDrawable;
LayerDrawableTest.java 58 import android.graphics.drawable.GradientDrawable;
133 assertEquals(GradientDrawable.class, layerDrawable.getDrawable(3).getClass());
635 array = new Drawable[] { new GradientDrawable(), new MockDrawable(false) };
639 array = new Drawable[] { new GradientDrawable(), new StateListDrawable() };
    [all...]
  /external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
ShadowGradientDrawableTest.java 6 import android.graphics.drawable.GradientDrawable;
15 GradientDrawable gradientDrawable = new GradientDrawable();
16 ShadowGradientDrawable shadowGradientDrawable = shadowOf(gradientDrawable);
18 gradientDrawable.setColor(color);
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
RoundRects.java 37 private GradientDrawable mDrawable;
47 mDrawable = new GradientDrawable(GradientDrawable.Orientation.TL_BR,
50 mDrawable.setShape(GradientDrawable.RECTANGLE);
54 static void setCornerRadii(GradientDrawable drawable, float r0,
68 mDrawable.setGradientType(GradientDrawable.LINEAR_GRADIENT);
75 mDrawable.setGradientType(GradientDrawable.RADIAL_GRADIENT);
84 mDrawable.setGradientType(GradientDrawable.SWEEP_GRADIENT);
91 mDrawable.setGradientType(GradientDrawable.LINEAR_GRADIENT);
100 mDrawable.setGradientType(GradientDrawable.RADIAL_GRADIENT)
    [all...]
  /developers/build/prebuilts/gradle/Notifications/Wearable/src/main/java/com/example/android/support/wearable/notifications/
WearableListItemLayout.java 20 import android.graphics.drawable.GradientDrawable;
62 ((GradientDrawable) mCircle.getDrawable()).setColor(mChosenCircleColor);
67 ((GradientDrawable) mCircle.getDrawable()).setColor(mFadedCircleColor);
  /developers/build/prebuilts/gradle/SpeedTracker/Wearable/src/main/java/com/example/android/wearable/speedtracker/ui/
SpeedPickerLayout.java 20 import android.graphics.drawable.GradientDrawable;
70 ((GradientDrawable) mCircle.getDrawable()).setColor(mChosenCircleColor);
75 ((GradientDrawable) mCircle.getDrawable()).setColor(mFadedCircleColor);
  /developers/build/prebuilts/gradle/Timer/Wearable/src/main/java/com/example/android/wearable/timer/
WearableListItemLayout.java 20 import android.graphics.drawable.GradientDrawable;
60 ((GradientDrawable) mCircle.getDrawable()).setColor(mChosenCircleColor);
65 ((GradientDrawable) mCircle.getDrawable()).setColor(mFadedCircleColor);
  /developers/samples/android/deprecated/wearable/wear/Notifications/Wearable/src/main/java/com/example/android/support/wearable/notifications/
WearableListItemLayout.java 20 import android.graphics.drawable.GradientDrawable;
62 ((GradientDrawable) mCircle.getDrawable()).setColor(mChosenCircleColor);
67 ((GradientDrawable) mCircle.getDrawable()).setColor(mFadedCircleColor);
  /developers/samples/android/deprecated/wearable/wear/Timer/Wearable/src/main/java/com/example/android/wearable/timer/
WearableListItemLayout.java 20 import android.graphics.drawable.GradientDrawable;
60 ((GradientDrawable) mCircle.getDrawable()).setColor(mChosenCircleColor);
65 ((GradientDrawable) mCircle.getDrawable()).setColor(mFadedCircleColor);
  /developers/samples/android/wearable/wear/SpeedTracker/Wearable/src/main/java/com/example/android/wearable/speedtracker/ui/
SpeedPickerLayout.java 20 import android.graphics.drawable.GradientDrawable;
70 ((GradientDrawable) mCircle.getDrawable()).setColor(mChosenCircleColor);
75 ((GradientDrawable) mCircle.getDrawable()).setColor(mFadedCircleColor);
  /development/samples/browseable/Notifications/Wearable/src/com.example.android.support.wearable.notifications/
WearableListItemLayout.java 20 import android.graphics.drawable.GradientDrawable;
62 ((GradientDrawable) mCircle.getDrawable()).setColor(mChosenCircleColor);
67 ((GradientDrawable) mCircle.getDrawable()).setColor(mFadedCircleColor);
  /development/samples/browseable/SpeedTracker/Wearable/src/com.example.android.wearable.speedtracker/ui/
SpeedPickerLayout.java 20 import android.graphics.drawable.GradientDrawable;
70 ((GradientDrawable) mCircle.getDrawable()).setColor(mChosenCircleColor);
75 ((GradientDrawable) mCircle.getDrawable()).setColor(mFadedCircleColor);
  /development/samples/browseable/Timer/src/com.example.android.wearable.timer/
WearableListItemLayout.java 20 import android.graphics.drawable.GradientDrawable;
60 ((GradientDrawable) mCircle.getDrawable()).setColor(mChosenCircleColor);
65 ((GradientDrawable) mCircle.getDrawable()).setColor(mFadedCircleColor);
  /development/samples/ThemedNavBarKeyboard/src/com/example/android/themednavbarkeyboard/
ThemedNavBarKeyboard.java 23 import android.graphics.drawable.GradientDrawable;
198 final GradientDrawable drawable = new GradientDrawable(
199 GradientDrawable.Orientation.TOP_BOTTOM,
205 final GradientDrawable drawable = new GradientDrawable(
206 GradientDrawable.Orientation.TOP_BOTTOM,
  /development/apps/NinePatchLab/src/com/android/ninepatch/
NinePatchLab.java 63 return new GradientDrawable(GradientDrawable.Orientation.TR_BL,
  /development/samples/ApiDemos/src/com/example/android/apis/app/
PresentationActivity.java 30 import android.graphics.drawable.GradientDrawable;
512 GradientDrawable drawable = new GradientDrawable();
513 drawable.setShape(GradientDrawable.RECTANGLE);
514 drawable.setGradientType(GradientDrawable.RADIAL_GRADIENT);
  /external/setupcompat/main/java/com/google/android/setupcompat/template/
FooterBarMixin.java 30 import android.graphics.drawable.GradientDrawable;
629 GradientDrawable gradientDrawable = getGradientDrawable(button);
630 if (gradientDrawable != null) {
631 gradientDrawable.setCornerRadius(radius);
739 GradientDrawable getGradientDrawable(Button button) {
747 return (GradientDrawable) layerDrawable.getDrawable(0);
750 return (GradientDrawable) insetDrawable.getDrawable();
  /external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/util/
UberColorPickerDialog.java 51 import android.graphics.drawable.GradientDrawable;
52 import android.graphics.drawable.GradientDrawable.Orientation;
557 GradientDrawable gradDraw = new GradientDrawable(Orientation.TOP_BOTTOM, colors);

Completed in 435 milliseconds