/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/sizecompatui/ |
D | SizeCompatRestartButton.java | 22 import android.graphics.drawable.GradientDrawable; 67 final GradientDrawable mask = new GradientDrawable(); in onFinishInflate() 68 mask.setShape(GradientDrawable.OVAL); in onFinishInflate()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
D | NotificationBackgroundView.java | 24 import android.graphics.drawable.GradientDrawable; 232 GradientDrawable gradientDrawable = in updateBackgroundRadii() 233 (GradientDrawable) ((LayerDrawable) mBackground).getDrawable(0); in updateBackgroundRadii() 253 GradientDrawable gradientDrawable = in setExpandAnimationRunning() 254 (GradientDrawable) ((LayerDrawable) mBackground).getDrawable(0); in setExpandAnimationRunning()
|
/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/animation/ |
D | GhostedViewLaunchAnimatorController.kt | 9 import android.graphics.drawable.GradientDrawable 210 private fun findGradientDrawable(drawable: Drawable): GradientDrawable? { in findGradientDrawable() 211 if (drawable is GradientDrawable) { in findGradientDrawable() 222 if (maybeGradient is GradientDrawable) { in findGradientDrawable() 329 if (drawable is GradientDrawable) { in applyBackgroundRadii() 344 (drawable.getDrawable(i) as? GradientDrawable)?.cornerRadii = radii in applyBackgroundRadii()
|
D | ActivityLaunchAnimator.kt | 17 import android.graphics.drawable.GradientDrawable in <lambda>() 489 val windowBackgroundLayer = GradientDrawable().apply { in <lambda>() 622 drawable: GradientDrawable, in <lambda>()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | EmphasizedNotificationButton.java | 25 import android.graphics.drawable.GradientDrawable; 43 private final GradientDrawable mBackground; 64 mBackground = (GradientDrawable) inset.getDrawable(); in EmphasizedNotificationButton()
|
D | ConversationLayout.java | 37 import android.graphics.drawable.GradientDrawable; 311 GradientDrawable ring = (GradientDrawable) mImportanceRingView.getDrawable(); in setIsImportantConversation() 313 GradientDrawable bg = (GradientDrawable) mConversationIconBadgeBg.getDrawable(); in setIsImportantConversation()
|
/frameworks/layoutlib/bridge/src/android/graphics/drawable/ |
D | GradientDrawable_Delegate.java | 22 import android.graphics.drawable.GradientDrawable.GradientState; 40 /*package*/ static Path buildRing(GradientDrawable thisDrawable, GradientState st) { in buildRing()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | NumPadAnimator.java | 23 import android.graphics.drawable.GradientDrawable; 40 private GradientDrawable mBackground; 49 mBackground = (GradientDrawable) mRipple.findDrawableByLayerId(R.id.background); in NumPadAnimator()
|
/frameworks/base/tests/UiBench/src/com/android/test/uibench/ |
D | SlowNestedRecyclerViewActivity.java | 21 import android.graphics.drawable.GradientDrawable; 95 GradientDrawable bg = new GradientDrawable(); in onCreateViewHolder()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/ |
D | PeopleSpaceActivity.java | 32 import android.graphics.drawable.GradientDrawable; 93 GradientDrawable shape = (GradientDrawable) item.getBackground(); in buildActivity()
|
/frameworks/opt/car/setupwizard/library/main/src/com/android/car/setupwizardlib/ |
D | CarSetupWizardBaseLayout.java | 25 import android.graphics.drawable.GradientDrawable; 725 GradientDrawable gradientDrawable = getGradientDrawable(button); in setButtonRadius() 783 private GradientDrawable getGradientDrawable(Button button) { in getGradientDrawable() 794 return (GradientDrawable) drawable; in getGradientDrawable() 800 private GradientDrawable getGradientDrawableFromInsetDrawable(InsetDrawable insetDrawable) { in getGradientDrawableFromInsetDrawable() 801 if (insetDrawable.getDrawable() instanceof GradientDrawable) { in getGradientDrawableFromInsetDrawable() 802 return (GradientDrawable) insetDrawable.getDrawable(); in getGradientDrawableFromInsetDrawable()
|
D | CarSetupWizardLayout.java | 24 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/services/tests/uiservicestests/src/com/android/server/notification/ |
D | NotificationShellCmdTest.java | 39 import android.graphics.drawable.GradientDrawable; 92 final GradientDrawable grad = new GradientDrawable(GradientDrawable.Orientation.TL_BR, in createTestBitmap()
|
/frameworks/base/core/java/android/content/res/ |
D | GradientColor.java | 36 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/base/packages/SystemUI/tests/src/com/android/systemui/controls/ui/ |
D | ControlViewHolderTest.kt | 22 import android.graphics.drawable.GradientDrawable 115 private val DRAWABLE = GradientDrawable()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/ |
D | ControlViewHolder.kt | 30 import android.graphics.drawable.GradientDrawable 115 private val baseLayer: GradientDrawable 144 baseLayer = ld.findDrawableByLayerId(R.id.background) as GradientDrawable 357 val oldClipColor = if (clipDrawable is GradientDrawable) { in startBackgroundAnimation() 406 if (clipDrawable is GradientDrawable) { in applyBackgroundChange()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/floatingmenu/ |
D | AccessibilityFloatingMenuViewTest.java | 41 import android.graphics.drawable.GradientDrawable; 196 final GradientDrawable gradientDrawable = in onTargetsChanged_singleTarget_expectedRadii() 197 (GradientDrawable) layerDrawable.getDrawable(0); in onTargetsChanged_singleTarget_expectedRadii() 219 final GradientDrawable gradientDrawable = in setSizeType_alignRightAndLargeSize_expectedRadii() 220 (GradientDrawable) layerDrawable.getDrawable(0); in setSizeType_alignRightAndLargeSize_expectedRadii()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/ |
D | BaseTooltipView.java | 31 import android.graphics.drawable.GradientDrawable; 215 final GradientDrawable gradientDrawable = (GradientDrawable) mTextView.getBackground(); in updateTextView()
|
D | AccessibilityFloatingMenuView.java | 40 import android.graphics.drawable.GradientDrawable; 698 private GradientDrawable getMenuGradientDrawable() { in getMenuGradientDrawable() 699 return (GradientDrawable) getMenuLayerDrawable().getDrawable(INDEX_MENU_ITEM); in getMenuGradientDrawable()
|
/frameworks/opt/setupwizard/library/recyclerview/test/instrumentation/src/com/android/setupwizardlib/items/ |
D | RecyclerItemAdapterTest.java | 32 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/ |
D | SmartReplyView.java | 14 import android.graphics.drawable.GradientDrawable; 656 if (background instanceof GradientDrawable) { in setButtonColors() 657 GradientDrawable gradientDrawable = (GradientDrawable) background; in setButtonColors()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | GradientDrawable.java | 99 public class GradientDrawable extends Drawable { class 220 public GradientDrawable() { in GradientDrawable() method in GradientDrawable 228 public GradientDrawable(Orientation orientation, @ColorInt int[] colors) { in GradientDrawable() method in GradientDrawable 1403 final TypedArray a = obtainAttributes(r, theme, attrs, R.styleable.GradientDrawable); 1425 state.mThemeAttrs, R.styleable.GradientDrawable); 2203 return new GradientDrawable(this, null); 2218 return new GradientDrawable(state, res); 2333 private GradientDrawable(@NonNull GradientState state, @Nullable Resources res) {
|
D | DrawableInflater.java | 170 return new GradientDrawable(); in inflateFromTag()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/egg/ |
D | MLand.java | 33 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/packages/SystemUI/tests/src/com/android/systemui/media/ |
D | MediaControlPanelTest.kt | 21 import android.graphics.drawable.GradientDrawable 151 whenever(seamlessBackground.getDrawable(0)).thenReturn(mock(GradientDrawable::class.java)) in setUp()
|