Home
last modified time | relevance | path

Searched refs:GradientDrawable (Results 1 – 24 of 24) sorted by relevance

/frameworks/support/compat/tests/java/android/support/v4/graphics/
DDrawableCompatTest.java32 import android.graphics.drawable.GradientDrawable;
46 final Drawable original = new GradientDrawable(); in testDrawableWrap()
58 final Drawable original = new GradientDrawable(); in testDrawableUnwrap()
67 final Drawable drawable = new GradientDrawable(); in testDrawableChangeBoundsCopy()
81 final Drawable drawable = new GradientDrawable(); in testWrapCopiesDrawableState()
93 final Drawable wrappedDrawable = DrawableCompat.wrap(new GradientDrawable()); in testDrawableWrapOnlyWrapsOnce()
100 Drawable drawable = new GradientDrawable(); in testWrapMutatedDrawableHasConstantState()
112 final Drawable drawable = new GradientDrawable(); in testWrappedDrawableHasCallbackSet()
/frameworks/support/design/tests/src/android/support/design/testutils/
DTestDrawable.java19 import android.graphics.drawable.GradientDrawable;
30 public class TestDrawable extends GradientDrawable {
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/drawable/
DGradientDrawable_Delegate.java22 import android.graphics.drawable.GradientDrawable.GradientState;
40 /*package*/ static Path buildRing(GradientDrawable thisDrawable, GradientState st) { in buildRing()
/frameworks/support/design/base/android/support/design/widget/
DFloatingActionButtonImpl.java28 import android.graphics.drawable.GradientDrawable;
121 GradientDrawable touchFeedbackShape = createShapeDrawable(); in setBackgroundDrawable()
382 GradientDrawable createShapeDrawable() { in createShapeDrawable()
383 GradientDrawable d = newGradientDrawableForShape(); in createShapeDrawable()
384 d.setShape(GradientDrawable.OVAL); in createShapeDrawable()
389 GradientDrawable newGradientDrawableForShape() { in newGradientDrawableForShape()
390 return new GradientDrawable(); in newGradientDrawableForShape()
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/widget/
DTitleViewAdapterTest.java20 import android.graphics.drawable.GradientDrawable;
69 adapter.setBadgeDrawable(new GradientDrawable()); in customTitle()
/frameworks/support/compat/api21/android/support/v4/graphics/drawable/
DDrawableWrapperApi21.java26 import android.graphics.drawable.GradientDrawable;
106 return drawable instanceof GradientDrawable || drawable instanceof DrawableContainer in isCompatTintEnabled()
/frameworks/base/tests/UiBench/src/com/android/test/uibench/
DSlowNestedRecyclerViewActivity.java21 import android.graphics.drawable.GradientDrawable;
95 GradientDrawable bg = new GradientDrawable(); in onCreateViewHolder()
/frameworks/support/design/lollipop/android/support/design/widget/
DFloatingActionButtonLollipop.java27 import android.graphics.drawable.GradientDrawable;
195 GradientDrawable newGradientDrawableForShape() { in newGradientDrawableForShape()
220 static class AlwaysStatefulGradientDrawable extends GradientDrawable {
/frameworks/base/core/java/android/content/res/
DGradientColor.java36 import android.graphics.drawable.GradientDrawable;
97 private int mGradientType = GradientDrawable.LINEAR_GRADIENT;
233 && mGradientType == GradientDrawable.RADIAL_GRADIENT) { in validateXmlContent()
467 if (mGradientType == GradientDrawable.LINEAR_GRADIENT) { in onColorsChange()
471 if (mGradientType == GradientDrawable.RADIAL_GRADIENT) { in onColorsChange()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
DHeadersFragment.java21 import android.graphics.drawable.GradientDrawable;
254 if (background instanceof GradientDrawable) { in updateFadingEdgeToBrandColor()
256 ((GradientDrawable) background).setColors( in updateFadingEdgeToBrandColor()
DHeadersSupportFragment.java24 import android.graphics.drawable.GradientDrawable;
257 if (background instanceof GradientDrawable) { in updateFadingEdgeToBrandColor()
259 ((GradientDrawable) background).setColors( in updateFadingEdgeToBrandColor()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DDrawableUtils.java25 import android.graphics.drawable.GradientDrawable;
129 } else if (Build.VERSION.SDK_INT < 15 && drawable instanceof GradientDrawable) { in canSafelyMutateDrawable()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DSearchOrbView.java27 import android.graphics.drawable.GradientDrawable;
363 if (mSearchOrbView.getBackground() instanceof GradientDrawable) { in setOrbViewColor()
364 ((GradientDrawable) mSearchOrbView.getBackground()).setColor(color); in setOrbViewColor()
/frameworks/base/graphics/java/android/graphics/drawable/
DGradientDrawable.java94 public class GradientDrawable extends Drawable { class
200 public GradientDrawable() { in GradientDrawable() method in GradientDrawable
208 public GradientDrawable(Orientation orientation, @ColorInt int[] colors) { in GradientDrawable() method in GradientDrawable
1221 final TypedArray a = obtainAttributes(r, theme, attrs, R.styleable.GradientDrawable);
1243 state.mThemeAttrs, R.styleable.GradientDrawable);
1985 return new GradientDrawable(this, null);
2000 return new GradientDrawable(state, res);
2108 private GradientDrawable(@NonNull GradientState state, @Nullable Resources res) {
DDrawableInflater.java167 return new GradientDrawable(); in inflateFromTag()
/frameworks/base/packages/SystemUI/src/com/android/systemui/egg/
DMLand.java33 import android.graphics.drawable.GradientDrawable;
389 final Drawable sky = new GradientDrawable( in reset()
390 GradientDrawable.Orientation.BOTTOM_TOP, in reset()
1306 GradientDrawable mGradient = new GradientDrawable();
1318 mGradient.setOrientation(GradientDrawable.Orientation.LEFT_RIGHT);
/frameworks/base/core/java/com/android/internal/app/
DPlatLogoActivity.java37 import android.graphics.drawable.GradientDrawable;
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
DTaskStackView.java35 import android.graphics.drawable.GradientDrawable;
157 private GradientDrawable mFreeformWorkspaceBackground;
318 mFreeformWorkspaceBackground = (GradientDrawable) getContext().getDrawable( in TaskStackView()
/frameworks/base/
Dpreloaded-classes86 [Landroid.graphics.drawable.GradientDrawable$Orientation;
1064 android.graphics.drawable.GradientDrawable
1065 android.graphics.drawable.GradientDrawable$GradientState
1066 android.graphics.drawable.GradientDrawable$Orientation
Dcompiled-classes-phone1398 android.graphics.drawable.GradientDrawable
1399 android.graphics.drawable.GradientDrawable$GradientState
1400 android.graphics.drawable.GradientDrawable$Orientation
/frameworks/base/services/
Dprofile-classes803 Landroid/graphics/drawable/GradientDrawable;
804 Landroid/graphics/drawable/GradientDrawable$GradientState;
805 Landroid/graphics/drawable/GradientDrawable$Orientation;
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt11790 public class GradientDrawable extends android.graphics.drawable.Drawable {
11791 ctor public GradientDrawable();
11792 ctor public GradientDrawable(android.graphics.drawable.GradientDrawable.Orientation, int[]);
11796 method public android.graphics.drawable.GradientDrawable.Orientation getOrientation();
11807 method public void setOrientation(android.graphics.drawable.GradientDrawable.Orientation);
11824 public static final class GradientDrawable.Orientation extends java.lang.Enum {
11825 …method public static android.graphics.drawable.GradientDrawable.Orientation valueOf(java.lang.Stri…
11826 method public static final android.graphics.drawable.GradientDrawable.Orientation[] values();
11827 enum_constant public static final android.graphics.drawable.GradientDrawable.Orientation BL_TR;
11828 …enum_constant public static final android.graphics.drawable.GradientDrawable.Orientation BOTTOM_TO…
[all …]
/frameworks/base/api/
Dcurrent.txt14072 public class GradientDrawable extends android.graphics.drawable.Drawable {
14073 ctor public GradientDrawable();
14074 ctor public GradientDrawable(android.graphics.drawable.GradientDrawable.Orientation, int[]);
14085 method public android.graphics.drawable.GradientDrawable.Orientation getOrientation();
14098 method public void setOrientation(android.graphics.drawable.GradientDrawable.Orientation);
14115 public static final class GradientDrawable.Orientation extends java.lang.Enum {
14116 …method public static android.graphics.drawable.GradientDrawable.Orientation valueOf(java.lang.Stri…
14117 method public static final android.graphics.drawable.GradientDrawable.Orientation[] values();
14118 enum_constant public static final android.graphics.drawable.GradientDrawable.Orientation BL_TR;
14119 …enum_constant public static final android.graphics.drawable.GradientDrawable.Orientation BOTTOM_TO…
[all …]
Dsystem-current.txt14852 public class GradientDrawable extends android.graphics.drawable.Drawable {
14853 ctor public GradientDrawable();
14854 ctor public GradientDrawable(android.graphics.drawable.GradientDrawable.Orientation, int[]);
14865 method public android.graphics.drawable.GradientDrawable.Orientation getOrientation();
14878 method public void setOrientation(android.graphics.drawable.GradientDrawable.Orientation);
14895 public static final class GradientDrawable.Orientation extends java.lang.Enum {
14896 …method public static android.graphics.drawable.GradientDrawable.Orientation valueOf(java.lang.Stri…
14897 method public static final android.graphics.drawable.GradientDrawable.Orientation[] values();
14898 enum_constant public static final android.graphics.drawable.GradientDrawable.Orientation BL_TR;
14899 …enum_constant public static final android.graphics.drawable.GradientDrawable.Orientation BOTTOM_TO…
[all …]