Home
last modified time | relevance | path

Searched refs:hovered (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/graphics/java/android/graphics/drawable/
DRippleBackground.java66 public void setState(boolean focused, boolean hovered, boolean pressed) { in setState() argument
71 hovered = hovered && !pressed; in setState()
73 if (mHovered != hovered || mFocused != focused) { in setState()
74 mHovered = hovered; in setState()
DRippleDrawable.java255 boolean hovered = false; in onStateChange()
265 hovered = true; in onStateChange()
270 setBackgroundActive(hovered, focused, pressed); in onStateChange()
286 private void setBackgroundActive(boolean hovered, boolean focused, boolean pressed) { in setBackgroundActive() argument
287 if (mBackground == null && (hovered || focused)) { in setBackgroundActive()
292 mBackground.setState(focused, hovered, pressed); in setBackgroundActive()
/frameworks/base/core/java/android/view/
DView.java15139 public void setHovered(boolean hovered) { in setHovered() argument
15140 if (hovered) { in setHovered()
15167 public void onHoverChanged(boolean hovered) { in onHoverChanged() argument