Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/widget/
DEmphasizedNotificationButton.java22 import android.graphics.drawable.GradientDrawable;
72 GradientDrawable inner = (GradientDrawable) mRipple.getDrawable(0); in setButtonBackground()
79 GradientDrawable inner = (GradientDrawable) mRipple.getDrawable(0); in setHasStroke()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationBackgroundView.java25 import android.graphics.drawable.GradientDrawable;
270 GradientDrawable gradientDrawable = in updateBackgroundRadii()
271 (GradientDrawable) ((LayerDrawable) mBackground).getDrawable(0); in updateBackgroundRadii()
295 GradientDrawable gradientDrawable = in setExpandAnimationRunning()
296 (GradientDrawable) ((LayerDrawable) mBackground).getDrawable(0); in setExpandAnimationRunning()
/frameworks/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/opt/car/setupwizard/library/main/src/com/android/car/setupwizardlib/
DCarSetupWizardBaseLayout.java27 import android.graphics.drawable.GradientDrawable;
652 GradientDrawable gradientDrawable = getGradientDrawable(button); in setButtonRadius()
710 private GradientDrawable getGradientDrawable(Button button) { in getGradientDrawable()
721 return (GradientDrawable) drawable; in getGradientDrawable()
727 private GradientDrawable getGradientDrawableFromInsetDrawable(InsetDrawable insetDrawable) { in getGradientDrawableFromInsetDrawable()
728 if (insetDrawable.getDrawable() instanceof GradientDrawable) { in getGradientDrawableFromInsetDrawable()
729 return (GradientDrawable) insetDrawable.getDrawable(); in getGradientDrawableFromInsetDrawable()
DCarSetupWizardLayout.java25 import android.graphics.drawable.GradientDrawable;
649 GradientDrawable gradientDrawable = getGradientDrawable(button); in setButtonRadius()
669 private GradientDrawable getGradientDrawable(Button button) { in getGradientDrawable()
680 return (GradientDrawable) drawable; in getGradientDrawable()
686 private GradientDrawable getGradientDrawableFromInsetDrawable(InsetDrawable insetDrawable) { in getGradientDrawableFromInsetDrawable()
687 return (GradientDrawable) insetDrawable.getDrawable(); in getGradientDrawableFromInsetDrawable()
/frameworks/base/tests/UiBench/src/com/android/test/uibench/
DSlowNestedRecyclerViewActivity.java21 import android.graphics.drawable.GradientDrawable;
95 GradientDrawable bg = new GradientDrawable(); in onCreateViewHolder()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DSizeCompatModeActivityController.java25 import android.graphics.drawable.GradientDrawable;
190 GradientDrawable mask = new GradientDrawable(); in RestartActivityButton()
191 mask.setShape(GradientDrawable.OVAL); in RestartActivityButton()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationShellCmdTest.java39 import android.graphics.drawable.GradientDrawable;
92 final GradientDrawable grad = new GradientDrawable(GradientDrawable.Orientation.TL_BR, in createTestBitmap()
/frameworks/base/core/java/android/content/res/
DGradientColor.java36 import android.graphics.drawable.GradientDrawable;
102 private int mGradientType = GradientDrawable.LINEAR_GRADIENT;
238 && mGradientType == GradientDrawable.RADIAL_GRADIENT) { in validateXmlContent()
472 if (mGradientType == GradientDrawable.LINEAR_GRADIENT) { in onColorsChange()
476 if (mGradientType == GradientDrawable.RADIAL_GRADIENT) { in onColorsChange()
/frameworks/opt/setupwizard/library/recyclerview/test/instrumentation/src/com/android/setupwizardlib/items/
DRecyclerItemAdapterTest.java32 import android.graphics.drawable.GradientDrawable;
154 assertTrue(layerDrawable.getDrawable(0) instanceof GradientDrawable); in testCreateViewHolderWithExistingBackground() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DSmartReplyView.java15 import android.graphics.drawable.GradientDrawable;
862 if (background instanceof GradientDrawable) { in setButtonColors()
863 GradientDrawable gradientDrawable = (GradientDrawable) background; in setButtonColors()
882 if (background instanceof GradientDrawable) { in setCornerRadius()
883 GradientDrawable gradientDrawable = (GradientDrawable) background; in setCornerRadius()
/frameworks/base/graphics/java/android/graphics/drawable/
DGradientDrawable.java99 public class GradientDrawable extends Drawable { class
209 public GradientDrawable() { in GradientDrawable() method in GradientDrawable
217 public GradientDrawable(Orientation orientation, @ColorInt int[] colors) { in GradientDrawable() method in GradientDrawable
1389 final TypedArray a = obtainAttributes(r, theme, attrs, R.styleable.GradientDrawable);
1411 state.mThemeAttrs, R.styleable.GradientDrawable);
2147 return new GradientDrawable(this, null); in newDrawable()
2162 return new GradientDrawable(state, res); in newDrawable()
2359 private GradientDrawable(@NonNull GradientState state, @Nullable Resources res) { in GradientDrawable() method in GradientDrawable
DDrawableInflater.java169 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/config/
Ddirty-image-objects88 android.graphics.drawable.GradientDrawable
Dboot-image-profile.txt6452 HSPLandroid/graphics/drawable/GradientDrawable$GradientState;-><init>(Landroid/graphics/drawable/Gr…
6453 HSPLandroid/graphics/drawable/GradientDrawable$GradientState;-><init>(Landroid/graphics/drawable/Gr…
6454 HSPLandroid/graphics/drawable/GradientDrawable$GradientState;->applyDensityScaling(II)V
6455 HSPLandroid/graphics/drawable/GradientDrawable$GradientState;->canApplyTheme()Z
6456 HSPLandroid/graphics/drawable/GradientDrawable$GradientState;->computeOpacity()V
6457 HSPLandroid/graphics/drawable/GradientDrawable$GradientState;->getChangingConfigurations()I
6458 HSPLandroid/graphics/drawable/GradientDrawable$GradientState;->newDrawable()Landroid/graphics/drawa…
6459 HSPLandroid/graphics/drawable/GradientDrawable$GradientState;->newDrawable(Landroid/content/res/Res…
6460 HSPLandroid/graphics/drawable/GradientDrawable$Orientation;-><init>(Ljava/lang/String;I)V
6461 HSPLandroid/graphics/drawable/GradientDrawable$Orientation;->values()[Landroid/graphics/drawable/Gr…
[all …]
Dpreloaded-classes1307 android.graphics.drawable.GradientDrawable$1
1308 android.graphics.drawable.GradientDrawable$GradientState
1309 android.graphics.drawable.GradientDrawable$Orientation
1310 android.graphics.drawable.GradientDrawable
Dhiddenapi-greylist-max-o.txt19847 Landroid/graphics/drawable/GradientDrawable$GradientState;-><init>(Landroid/graphics/drawable/Gradi…
19848 Landroid/graphics/drawable/GradientDrawable$GradientState;-><init>(Landroid/graphics/drawable/Gradi…
19849 Landroid/graphics/drawable/GradientDrawable$GradientState;->applyDensityScaling(II)V
19850 Landroid/graphics/drawable/GradientDrawable$GradientState;->computeOpacity()V
19851 Landroid/graphics/drawable/GradientDrawable$GradientState;->mAttrCorners:[I
19852 Landroid/graphics/drawable/GradientDrawable$GradientState;->mAttrGradient:[I
19853 Landroid/graphics/drawable/GradientDrawable$GradientState;->mAttrPadding:[I
19854 Landroid/graphics/drawable/GradientDrawable$GradientState;->mAttrSize:[I
19855 Landroid/graphics/drawable/GradientDrawable$GradientState;->mAttrSolid:[I
19856 Landroid/graphics/drawable/GradientDrawable$GradientState;->mAttrStroke:[I
[all …]
/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/non-updatable-api/
Dcurrent.txt15506 public class GradientDrawable extends android.graphics.drawable.Drawable {
15507 ctor public GradientDrawable();
15508 …ctor public GradientDrawable(android.graphics.drawable.GradientDrawable.Orientation, @ColorInt int…
15521 method public android.graphics.drawable.GradientDrawable.Orientation getOrientation();
15540 method public void setOrientation(android.graphics.drawable.GradientDrawable.Orientation);
15560 public enum GradientDrawable.Orientation {
15561 enum_constant public static final android.graphics.drawable.GradientDrawable.Orientation BL_TR;
15562 …enum_constant public static final android.graphics.drawable.GradientDrawable.Orientation BOTTOM_TO…
15563 enum_constant public static final android.graphics.drawable.GradientDrawable.Orientation BR_TL;
15564 …enum_constant public static final android.graphics.drawable.GradientDrawable.Orientation LEFT_RIGH…
[all …]
/frameworks/base/api/
Dcurrent.txt15506 public class GradientDrawable extends android.graphics.drawable.Drawable {
15507 ctor public GradientDrawable();
15508 …ctor public GradientDrawable(android.graphics.drawable.GradientDrawable.Orientation, @ColorInt int…
15521 method public android.graphics.drawable.GradientDrawable.Orientation getOrientation();
15540 method public void setOrientation(android.graphics.drawable.GradientDrawable.Orientation);
15560 public enum GradientDrawable.Orientation {
15561 enum_constant public static final android.graphics.drawable.GradientDrawable.Orientation BL_TR;
15562 …enum_constant public static final android.graphics.drawable.GradientDrawable.Orientation BOTTOM_TO…
15563 enum_constant public static final android.graphics.drawable.GradientDrawable.Orientation BR_TL;
15564 …enum_constant public static final android.graphics.drawable.GradientDrawable.Orientation LEFT_RIGH…
[all …]