Home
last modified time | relevance | path

Searched refs:mRipple (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/java/com/android/internal/widget/
DEmphasizedNotificationButton.java37 private final RippleDrawable mRipple; field in EmphasizedNotificationButton
57 mRipple = (RippleDrawable) background.getDrawable(); in EmphasizedNotificationButton()
61 mRipple.mutate(); in EmphasizedNotificationButton()
66 mRipple.setColor(color); in setRippleColor()
72 GradientDrawable inner = (GradientDrawable) mRipple.getDrawable(0); in setButtonBackground()
79 GradientDrawable inner = (GradientDrawable) mRipple.getDrawable(0); in setHasStroke()
/frameworks/base/graphics/java/android/graphics/drawable/
DRippleDrawable.java141 private RippleForeground mRipple; field in RippleDrawable
215 if (mRipple != null) { in jumpToCurrentState()
216 mRipple.end(); in jumpToCurrentState()
315 if (mRipple != null) { in onBoundsChange()
316 mRipple.onBoundsChange(); in onBoundsChange()
538 if (mRipple == null || mBackground == null) { in setHotspot()
544 if (mRipple != null) { in setHotspot()
545 mRipple.move(x, y); in setHotspot()
560 if (mRipple == null) { in tryRippleEnter()
572 mRipple = new RippleForeground(this, mHotspotBounds, x, y, mForceSoftware); in tryRippleEnter()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DRotationButtonController.java452 mRoot.postOnAnimationDelayed(mRipple, RIPPLE_OFFSET_MS); in start()
453 mRoot.postOnAnimationDelayed(mRipple, RIPPLE_INTERVAL_MS); in start()
454 mRoot.postOnAnimationDelayed(mRipple, 2 * RIPPLE_INTERVAL_MS); in start()
455 mRoot.postOnAnimationDelayed(mRipple, 3 * RIPPLE_INTERVAL_MS); in start()
456 mRoot.postOnAnimationDelayed(mRipple, 4 * RIPPLE_INTERVAL_MS); in start()
460 if (mRoot != null) mRoot.removeCallbacks(mRipple); in stop()
463 private final Runnable mRipple = new Runnable() { field in RotationButtonController.ViewRippler
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DKeyButtonView.java77 private final KeyButtonRipple mRipple; field in KeyButtonView
131 mRipple = new KeyButtonRipple(context, this); in KeyButtonView()
134 setBackground(mRipple); in KeyButtonView()
316 mRipple.setType(keyButtonDrawable.hasOvalBg() ? KeyButtonRipple.Type.OVAL in setImageDrawable()
370 mRipple.abortDelayedRipple(); in abortCurrentGesture()
385 mRipple.setDarkIntensity(darkIntensity); in setDarkIntensity()
390 mRipple.setDelayTouchFeedback(shouldDelay); in setDelayTouchFeedback()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/
DQSTileBaseView.java59 protected RippleDrawable mRipple; field in QSTileBaseView
139 mRipple = tileBackground; in setRipple()
150 mRipple.setHotspotBounds(cx - rad, cy - rad, cx + rad, cy + rad); in updateRippleSize()
170 if (mRipple != null) { in onLayout()
258 setBackground(clickable && mShowRippleEffect ? mRipple : null); in setClickable()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt20165 Landroid/graphics/drawable/RippleDrawable;->mRipple:Landroid/graphics/drawable/RippleForeground;