Home
last modified time | relevance | path

Searched refs:mRipple (Results 1 – 5 of 5) 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.java139 private RippleForeground mRipple; field in RippleDrawable
212 if (mRipple != null) { in jumpToCurrentState()
213 mRipple.end(); in jumpToCurrentState()
312 if (mRipple != null) { in onBoundsChange()
313 mRipple.onBoundsChange(); in onBoundsChange()
535 if (mRipple == null || mBackground == null) { in setHotspot()
541 if (mRipple != null) { in setHotspot()
542 mRipple.move(x, y); in setHotspot()
557 if (mRipple == null) { in tryRippleEnter()
569 mRipple = new RippleForeground(this, mHotspotBounds, x, y, mForceSoftware); in tryRippleEnter()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DKeyButtonView.java70 private final KeyButtonRipple mRipple; field in KeyButtonView
116 mRipple = new KeyButtonRipple(context, this); in KeyButtonView()
118 setBackground(mRipple); in KeyButtonView()
317 mRipple.abortDelayedRipple(); in abortCurrentGesture()
331 mRipple.setDarkIntensity(darkIntensity); in setDarkIntensity()
336 mRipple.setDelayTouchFeedback(shouldDelay); in setDelayTouchFeedback()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/
DQSTileBaseView.java52 protected RippleDrawable mRipple; field in QSTileBaseView
122 mRipple = tileBackground; in setRipple()
133 mRipple.setHotspotBounds(cx - rad, cy - rad, cx + rad, cy + rad); in updateRippleSize()
153 if (mRipple != null) { in onLayout()
228 setBackground(clickable ? mRipple : null); in setClickable()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNavigationBarFragment.java1144 mRoot.postOnAnimationDelayed(mRipple, RIPPLE_OFFSET_MS); in start()
1145 mRoot.postOnAnimationDelayed(mRipple, RIPPLE_INTERVAL_MS); in start()
1146 mRoot.postOnAnimationDelayed(mRipple, 2*RIPPLE_INTERVAL_MS); in start()
1147 mRoot.postOnAnimationDelayed(mRipple, 3*RIPPLE_INTERVAL_MS); in start()
1148 mRoot.postOnAnimationDelayed(mRipple, 4*RIPPLE_INTERVAL_MS); in start()
1152 if (mRoot != null) mRoot.removeCallbacks(mRipple); in stop()
1155 private final Runnable mRipple = new Runnable() { field in NavigationBarFragment.ViewRippler