Searched refs:focusedRect (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/core/java/android/view/ |
D | FocusFinder.java | 76 public View findNextFocusFromRect(ViewGroup root, Rect focusedRect, int direction) { in findNextFocusFromRect() argument 77 mFocusedRect.set(focusedRect); in findNextFocusFromRect() 81 private View findNextFocus(ViewGroup root, View focused, Rect focusedRect, int direction) { in findNextFocus() argument 94 next = findNextFocus(root, focused, focusedRect, direction, focusables); in findNextFocus() 113 private View findNextFocus(ViewGroup root, View focused, Rect focusedRect, in findNextFocus() argument 116 if (focusedRect == null) { in findNextFocus() 117 focusedRect = mFocusedRect; in findNextFocus() 120 focused.getFocusedRect(focusedRect); in findNextFocus() 121 root.offsetDescendantRectToMyCoords(focused, focusedRect); in findNextFocus() 123 if (focusedRect == null) { in findNextFocus() [all …]
|
/frameworks/base/core/java/android/widget/ |
D | ListView.java | 2435 Rect focusedRect = mTempRect; in handleHorizontalFocusWithinListItem() local 2437 currentFocus.getFocusedRect(focusedRect); in handleHorizontalFocusWithinListItem() 2438 offsetDescendantRectToMyCoords(currentFocus, focusedRect); in handleHorizontalFocusWithinListItem() 2439 offsetRectIntoDescendantCoords(nextFocus, focusedRect); in handleHorizontalFocusWithinListItem() 2441 focusedRect = null; in handleHorizontalFocusWithinListItem() 2443 if (nextFocus.requestFocus(direction, focusedRect)) { in handleHorizontalFocusWithinListItem()
|