FocusFinder

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.

Methods

public static FocusFinder getInstance() source
public final View findNextFocus(ViewGroup root, View focused, int direction) source
public View findNextFocusFromRect(ViewGroup root, Rect focusedRect, int direction) source
public View findNearestTouchable(ViewGroup root, int x, int y, int direction, int[] deltas) source

Made 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.