Home
last modified time | relevance | path

Searched refs:gradientDrawable (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/bubbles/
DDismissView.kt85 private var gradientDrawable: GradientDrawable? = null variable
122 gradientDrawable = createGradient(color = config.floatingGradientColorResId) in setup()
123 setBackgroundDrawable(gradientDrawable) in setup()
141 val gradientDrawable = checkExists(gradientDrawable) ?: return in show() constant
144 val alphaAnim = ObjectAnimator.ofInt(gradientDrawable, GRADIENT_ALPHA, in show()
145 gradientDrawable.alpha, 255) in show()
161 val gradientDrawable = checkExists(gradientDrawable) ?: return in hide() constant
163 val alphaAnim = ObjectAnimator.ofInt(gradientDrawable, GRADIENT_ALPHA, in hide()
164 gradientDrawable.alpha, 0) in hide()
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/
DDragToInteractView.kt91 private var gradientDrawable: GradientDrawable? = null variable
151 gradientDrawable = createGradient(color = config.floatingGradientColorResId) in setup()
152 background = gradientDrawable in setup()
186 val gradientDrawable = checkExists(gradientDrawable) ?: return in show() constant
190 ObjectAnimator.ofInt(gradientDrawable, GRADIENT_ALPHA, gradientDrawable.alpha, 255) in show()
209 val gradientDrawable = checkExists(gradientDrawable) ?: return in hide() constant
212 ObjectAnimator.ofInt(gradientDrawable, GRADIENT_ALPHA, gradientDrawable.alpha, 0) in hide()
DMenuEduTooltipView.java182 final GradientDrawable gradientDrawable = (GradientDrawable) mMessageView.getBackground(); in updateMessageView() local
183 gradientDrawable.setCornerRadius(mTextViewCornerRadius); in updateMessageView()
184 gradientDrawable.setColor(mColorAccentPrimary); in updateMessageView()
DMenuView.java184 final GradientDrawable gradientDrawable = getContainerViewGradient(); in onEdgeChanged() local
185 gradientDrawable.setStroke(mMenuViewAppearance.getMenuStrokeWidth(), in onEdgeChanged()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardPinBasedInputViewController.java157 if (!(stateDrawable instanceof GradientDrawable gradientDrawable)) return; in setKeyboardBasedFocusOutline()
161 gradientDrawable.setStroke(0, color); in setKeyboardBasedFocusOutline()
165 gradientDrawable.setStroke(strokeWidthInDP, color); in setKeyboardBasedFocusOutline()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationBackgroundView.java299 GradientDrawable gradientDrawable = (GradientDrawable) layerDrawable.getDrawable(i); in updateBackgroundRadii() local
300 gradientDrawable.setCornerRadii(mCornerRadii); in updateBackgroundRadii()
330 GradientDrawable gradientDrawable = in setExpandAnimationRunning() local
334 gradientDrawable.setAntiAlias(!running); in setExpandAnimationRunning()
/frameworks/opt/car/setupwizard/library/main/src/com/android/car/setupwizardlib/
DCarSetupWizardLayout.java646 GradientDrawable gradientDrawable = getGradientDrawable(button); in setButtonRadius() local
647 if (gradientDrawable != null) { in setButtonRadius()
648 gradientDrawable.setCornerRadius(radius); in setButtonRadius()
DCarSetupWizardBaseLayout.java857 GradientDrawable gradientDrawable = getGradientDrawable(button); in setButtonRadius() local
858 if (gradientDrawable != null) { in setButtonRadius()
859 gradientDrawable.setCornerRadius(radius); in setButtonRadius()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DSmartReplyView.java755 GradientDrawable gradientDrawable = (GradientDrawable) background; in setButtonColors() local
756 gradientDrawable.setColor(mCurrentBackgroundColor); in setButtonColors()
757 gradientDrawable.setStroke(mStrokeWidth, mCurrentStrokeColor); in setButtonColors()