Lines Matching refs:active
275 private void setRippleActive(boolean active) {
276 if (mRippleActive != active) {
277 mRippleActive = active;
278 if (active) {
286 private void setBackgroundActive(boolean active, boolean focused) {
287 if (mBackgroundActive != active) {
288 mBackgroundActive = active;
289 if (active) {
549 * Creates an active hotspot at the specified location.
569 * Attempts to start an enter animation for the active hotspot. Fails if
600 * Attempts to start an exit animation for the active hotspot. Fails if
601 * there is no active hotspot.
615 * Cancels and removes the active ripple, all exiting ripples, and the
847 final RippleForeground active = mRipple;
850 if (active == null && count <= 0 && (background == null || !background.isVisible())) {
902 if (active != null) {
903 active.draw(canvas, p);