Class of android.view · FocusFinder.java · Android's reference
public class FocusFinder
The next focusable view in a direction: the nearest one whose center lies that way.
public static FocusFinder getInstance() sourcepublic final View findNextFocus(ViewGroup root, View focused, int direction) sourcepublic View findNextFocusFromRect(ViewGroup root, Rect focusedRect, int direction) sourcepublic View findNearestTouchable(ViewGroup root, int x, int y, int direction, int[] deltas) sourceMade from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.