java.lang.Object | |
↳ | android.view.FocusFinder |
The algorithm used for finding the next focusable view in a given direction from a view that currently has focus.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
Find the nearest touchable view to the specified view.
|
||||||||||
|
Find the next view to take focus in root's descendants, starting from the view
that currently is focused.
|
||||||||||
|
Find the next view to take focus in root's descendants, searching from
a particular rectangle in root's coordinates.
|
||||||||||
|
Get the focus finder for this thread.
|
[Expand]
Inherited Methods
|
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Find the nearest touchable view to the specified view.
root | The root of the tree in which to search |
---|---|
x | X coordinate from which to start the search |
y | Y coordinate from which to start the search |
direction | Direction to look |
deltas |
Offset from the
|
Find the next view to take focus in root's descendants, starting from the view that currently is focused.
root | Contains focused. Cannot be null. |
---|---|
focused | Has focus now. |
direction | Direction to look. |
Find the next view to take focus in root's descendants, searching from a particular rectangle in root's coordinates.
root | Contains focusedRect. Cannot be null. |
---|---|
focusedRect | The starting point of the search. |
direction | Direction to look. |