Home
last modified time | relevance | path

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

/frameworks/support/v4/tests/java/android/support/v4/graphics/
DDrawableCompatTest.java24 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()
78 final Drawable wrappedDrawable = DrawableCompat.wrap(new GradientDrawable()); in testDrawableWrapOnlyWrapsOnce()
85 Drawable drawable = new GradientDrawable(); in testWrapMutatedDrawableHasConstantState()
97 final Drawable drawable = new GradientDrawable(); in testWrappedDrawableHasCallbackSet()
/frameworks/support/design/base/android/support/design/widget/
DFloatingActionButtonImpl.java25 import android.graphics.drawable.GradientDrawable;
169 GradientDrawable createShapeDrawable() { in createShapeDrawable()
170 GradientDrawable d = new GradientDrawable(); in createShapeDrawable()
171 d.setShape(GradientDrawable.OVAL); in createShapeDrawable()
/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/v4/api21/android/support/v4/graphics/drawable/
DDrawableWrapperLollipop.java26 import android.graphics.drawable.GradientDrawable;
104 return drawable instanceof GradientDrawable || drawable instanceof DrawableContainer in isCompatTintEnabled()
/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.java23 import android.graphics.drawable.GradientDrawable;
256 if (background instanceof GradientDrawable) { in updateFadingEdgeToBrandColor()
258 ((GradientDrawable) background).setColors( in updateFadingEdgeToBrandColor()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DDrawableUtils.java23 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/support/design/eclair-mr1/android/support/design/widget/
DFloatingActionButtonEclairMr1.java24 import android.graphics.drawable.GradientDrawable;
73 GradientDrawable touchFeedbackShape = createShapeDrawable(); in setBackgroundDrawable()
/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
1183 final TypedArray a = obtainAttributes(r, theme, attrs, R.styleable.GradientDrawable);
1205 state.mThemeAttrs, R.styleable.GradientDrawable);
1947 return new GradientDrawable(this, null);
1962 return new GradientDrawable(state, res);
2070 private GradientDrawable(@NonNull GradientState state, @Nullable Resources res) {
DDrawableInflater.java153 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/docs/html/training/wearables/ui/
Dlists.jd140 ((GradientDrawable) mCircle.getDrawable()).setColor(mChosenCircleColor);
145 ((GradientDrawable) mCircle.getDrawable()).setColor(mFadedCircleColor);
/frameworks/support/design/tests/src/android/support/design/widget/
DNavigationViewTest.java19 import android.graphics.drawable.GradientDrawable;
232 private class TestDrawable extends GradientDrawable {
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
DTaskStackView.java33 import android.graphics.drawable.GradientDrawable;
144 private GradientDrawable mFreeformWorkspaceBackground;
279 mFreeformWorkspaceBackground = (GradientDrawable) getContext().getDrawable( in TaskStackView()
/frameworks/base/
Dpreloaded-classes53 [Landroid.graphics.drawable.GradientDrawable$Orientation;
916 android.graphics.drawable.GradientDrawable
917 android.graphics.drawable.GradientDrawable$GradientState
918 android.graphics.drawable.GradientDrawable$Orientation
Dcompiled-classes-phone1314 android.graphics.drawable.GradientDrawable
1315 android.graphics.drawable.GradientDrawable$GradientState
1316 android.graphics.drawable.GradientDrawable$Orientation
/frameworks/base/docs/html/sdk/api_diff/21/
DmissingSinces.txt465 NO DOC BLOCK: android.graphics.drawable.GradientDrawable Method getGradientRadius()
846 NO DOC BLOCK: android.graphics.drawable.GradientDrawable Method setColor(android.content.res.ColorS…
953 NO DOC BLOCK: android.graphics.drawable.GradientDrawable Method setStroke(int, android.content.res.…
954 NO DOC BLOCK: android.graphics.drawable.GradientDrawable Method setStroke(int, android.content.res.…
/frameworks/base/docs/html/guide/topics/resources/
Ddrawable-resource.jd1446 <dd>Resource pointer to a {@link android.graphics.drawable.GradientDrawable}.</dd>
/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.txt12856 public class GradientDrawable extends android.graphics.drawable.Drawable {
12857 ctor public GradientDrawable();
12858 ctor public GradientDrawable(android.graphics.drawable.GradientDrawable.Orientation, int[]);
12869 method public android.graphics.drawable.GradientDrawable.Orientation getOrientation();
12882 method public void setOrientation(android.graphics.drawable.GradientDrawable.Orientation);
12899 public static final class GradientDrawable.Orientation extends java.lang.Enum {
12900 …method public static android.graphics.drawable.GradientDrawable.Orientation valueOf(java.lang.Stri…
12901 method public static final android.graphics.drawable.GradientDrawable.Orientation[] values();
12902 enum_constant public static final android.graphics.drawable.GradientDrawable.Orientation BL_TR;
12903 …enum_constant public static final android.graphics.drawable.GradientDrawable.Orientation BOTTOM_TO…
[all …]
Dtest-current.txt12869 public class GradientDrawable extends android.graphics.drawable.Drawable {
12870 ctor public GradientDrawable();
12871 ctor public GradientDrawable(android.graphics.drawable.GradientDrawable.Orientation, int[]);
12882 method public android.graphics.drawable.GradientDrawable.Orientation getOrientation();
12895 method public void setOrientation(android.graphics.drawable.GradientDrawable.Orientation);
12912 public static final class GradientDrawable.Orientation extends java.lang.Enum {
12913 …method public static android.graphics.drawable.GradientDrawable.Orientation valueOf(java.lang.Stri…
12914 method public static final android.graphics.drawable.GradientDrawable.Orientation[] values();
12915 enum_constant public static final android.graphics.drawable.GradientDrawable.Orientation BL_TR;
12916 …enum_constant public static final android.graphics.drawable.GradientDrawable.Orientation BOTTOM_TO…
[all …]
Dsystem-current.txt13295 public class GradientDrawable extends android.graphics.drawable.Drawable {
13296 ctor public GradientDrawable();
13297 ctor public GradientDrawable(android.graphics.drawable.GradientDrawable.Orientation, int[]);
13308 method public android.graphics.drawable.GradientDrawable.Orientation getOrientation();
13321 method public void setOrientation(android.graphics.drawable.GradientDrawable.Orientation);
13338 public static final class GradientDrawable.Orientation extends java.lang.Enum {
13339 …method public static android.graphics.drawable.GradientDrawable.Orientation valueOf(java.lang.Stri…
13340 method public static final android.graphics.drawable.GradientDrawable.Orientation[] values();
13341 enum_constant public static final android.graphics.drawable.GradientDrawable.Orientation BL_TR;
13342 …enum_constant public static final android.graphics.drawable.GradientDrawable.Orientation BOTTOM_TO…
[all …]