Home
last modified time | relevance | path

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

12

/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
H A DNotificationBackgroundView.java26 import android.graphics.drawable.RippleDrawable;
125 if (mBackground instanceof RippleDrawable) { in setCustomBackground()
126 ((RippleDrawable) mBackground).setForceSoftware(true); in setCustomBackground()
187 if (mBackground instanceof RippleDrawable) { in setRippleColor()
188 RippleDrawable ripple = (RippleDrawable) mBackground; in setRippleColor()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/keyguard/
H A DNumPadAnimator.java24 import android.graphics.drawable.RippleDrawable;
41 private RippleDrawable mRipple;
46 NumPadAnimator(Context context, final RippleDrawable drawable, @StyleRes int style) { in NumPadAnimator()
48 mRipple = (RippleDrawable) drawable.mutate(); in NumPadAnimator()
H A DNumPadButton.java23 import android.graphics.drawable.RippleDrawable;
43 if (background instanceof RippleDrawable) { in NumPadButton()
44 mAnimator = new NumPadAnimator(context, (RippleDrawable) getBackground(), in NumPadButton()
H A DNumPadKey.java22 import android.graphics.drawable.RippleDrawable;
135 if (background instanceof RippleDrawable) { in NumPadKey()
136 mAnimator = new NumPadAnimator(context, (RippleDrawable) background, in NumPadKey()
/aosp12/frameworks/base/core/java/com/android/internal/widget/
H A DEmphasizedNotificationButton.java27 import android.graphics.drawable.RippleDrawable;
42 private final RippleDrawable mRipple;
61 mRipple = (RippleDrawable) getBackground(); in EmphasizedNotificationButton()
H A DNotificationActionListLayout.java23 import android.graphics.drawable.RippleDrawable;
248 if (child.getBackground() instanceof RippleDrawable) { in onViewAdded()
249 ((RippleDrawable)child.getBackground()).setForceSoftware(true); in onViewAdded()
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/widget/picker/
H A DWidgetsListDrawableFactory.java30 import android.graphics.drawable.RippleDrawable;
77 return new RippleDrawable(mRippleColor, /* content= */ stateList, /* mask= */ stateList); in createHeaderBackgroundDrawable()
92 return new RippleDrawable(mRippleColor, /* content= */ stateList, /* mask= */ stateList); in createContentBackgroundDrawable()
/aosp12/frameworks/base/graphics/java/android/graphics/drawable/
H A DRippleComponent.java26 protected final RippleDrawable mOwner;
40 public RippleComponent(RippleDrawable owner, Rect bounds) { in RippleComponent()
H A DRippleDrawable.java117 public class RippleDrawable extends LayerDrawable { class
237 RippleDrawable() { in RippleDrawable() method in RippleDrawable
249 public RippleDrawable(@NonNull ColorStateList color, @Nullable Drawable content, in RippleDrawable() method in RippleDrawable
537 final TypedArray a = obtainAttributes(r, theme, attrs, R.styleable.RippleDrawable); in inflate()
631 R.styleable.RippleDrawable); in applyTheme()
1324 public RippleState(LayerState orig, RippleDrawable owner, Resources res) { in RippleState()
1364 return new RippleDrawable(this, null); in newDrawable()
1369 return new RippleDrawable(this, res); in newDrawable()
1379 private RippleDrawable(RippleState state, Resources res) { in RippleDrawable() method in RippleDrawable
H A DRippleBackground.java46 public RippleBackground(RippleDrawable owner, Rect bounds, boolean isBounded) { in RippleBackground()
H A DDrawableInflater.java164 return new RippleDrawable(); in inflateFromTag()
H A DRippleForeground.java103 public RippleForeground(RippleDrawable owner, Rect bounds, float startingX, float startingY, in RippleForeground()
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/shortcuts/
H A DDeepShortcutView.java27 import android.graphics.drawable.RippleDrawable;
110 RippleDrawable drawable = new RippleDrawable(ColorStateList.valueOf(color), in tryUpdateTextBackground()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DFooterActionsView.kt23 import android.graphics.drawable.RippleDrawable
64 if (settingsButton.background is RippleDrawable) {
65 (settingsButton.background as RippleDrawable).setForceSoftware(true)
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DSmartReplyView.java17 import android.graphics.drawable.RippleDrawable;
732 if (drawable instanceof RippleDrawable) { in setButtonColors()
735 RippleDrawable ripple = (RippleDrawable) drawable; in setButtonColors()
/aosp12/frameworks/opt/car/setupwizard/library/main/src/com/android/car/setupwizardlib/
H A DCarSetupWizardLayout.java26 import android.graphics.drawable.RippleDrawable;
675 if (drawable instanceof RippleDrawable) { in getGradientDrawable()
676 drawable = ((RippleDrawable) drawable).getDrawable(0); in getGradientDrawable()
H A DCarSetupWizardBaseLayout.java27 import android.graphics.drawable.RippleDrawable;
789 if (drawable instanceof RippleDrawable) { in getGradientDrawable()
790 drawable = ((RippleDrawable) drawable).getDrawable(0); in getGradientDrawable()
/aosp12/packages/apps/TV/src/com/android/tv/ui/sidepanel/
H A DSideFragment.java21 import android.graphics.drawable.RippleDrawable;
349 if (view.getBackground() instanceof RippleDrawable) { in onClick()
/aosp12/packages/apps/PhoneCommon/src/com/android/phone/common/dialpad/
H A DDialpadView.java26 import android.graphics.drawable.RippleDrawable;
192 final RippleDrawable rippleBackground = (RippleDrawable) in setupKeypad()
/aosp12/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/
H A DPreviewFragment.java28 import android.graphics.drawable.RippleDrawable;
314 RippleDrawable ripple = (RippleDrawable) hideUiView.getBackground(); in setFullScreenActions()
/aosp12/packages/apps/Launcher3/quickstep/src/com/android/quickstep/interaction/
H A DTutorialController.java32 import android.graphics.drawable.RippleDrawable;
95 final RippleDrawable mRippleDrawable;
131 mRippleDrawable = (RippleDrawable) mRippleView.getBackground(); in TutorialController()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/
H A DQSTileViewImpl.kt27 import android.graphics.drawable.RippleDrawable
112 private lateinit var ripple: RippleDrawable
234 ripple = mContext.getDrawable(R.drawable.qs_tile_background) as RippleDrawable
/aosp12/packages/apps/Dialer/java/com/android/dialer/dialpadview/
H A DDialpadView.java25 import android.graphics.drawable.RippleDrawable;
193 final RippleDrawable rippleBackground = in setupKeypad()
194 (RippleDrawable) getContext().getDrawable(R.drawable.btn_dialpad_key); in setupKeypad()
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/
H A DMediaControlPanelTest.kt22 import android.graphics.drawable.RippleDrawable
152 val seamlessBackground = mock(RippleDrawable::class.java)
/aosp12/frameworks/base/config/
H A Ddirty-image-objects91 Landroid/graphics/drawable/RippleDrawable;

12