Home
last modified time | relevance | path

Searched refs:FocusFinder (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/widget/focus/
DLinearLayoutGridTest.java21 import android.view.FocusFinder;
48 FocusFinder.getInstance().findNextFocus( in testGoDownFromMiddle()
57 FocusFinder.getInstance().findNextFocus( in testGoUpFromMiddle()
66 FocusFinder.getInstance().findNextFocus( in testGoRightFromMiddle()
75 FocusFinder.getInstance().findNextFocus( in testGoLeftFromMiddle()
DVerticalFocusSearchTest.java23 import android.view.FocusFinder;
56 return FocusFinder.getInstance() in findNextFocus()
/frameworks/base/core/java/android/view/
DFocusFinderHelper.java27 private FocusFinder mFocusFinder;
32 public FocusFinderHelper(FocusFinder focusFinder) { in FocusFinderHelper()
53 return FocusFinder.majorAxisDistance(direction, source, dest); in majorAxisDistance()
57 return FocusFinder.majorAxisDistanceToFarEdge(direction, source, dest); in majorAxisDistanceToFarEdge()
DFocusFinder.java29 public class FocusFinder { class
31 private static final ThreadLocal<FocusFinder> tlFocusFinder =
32 new ThreadLocal<FocusFinder>() {
34 protected FocusFinder initialValue() {
35 return new FocusFinder();
42 public static FocusFinder getInstance() { in getInstance()
54 private FocusFinder() {} in FocusFinder() method in FocusFinder
DViewGroup.java853 return FocusFinder.getInstance().findNextFocus(this, focused, direction); in focusSearch()
DViewRootImpl.java5495 return FocusFinder.getInstance().findNextFocus((ViewGroup) mView, focused, direction); in focusSearch()
/frameworks/base/core/tests/coretests/src/android/widget/listview/focus/
DListButtonsDiagonalAcrossItemsTest.java23 import android.view.FocusFinder;
73 FocusFinder.getInstance().findNextFocus(mListView, mLeftButton, View.FOCUS_RIGHT)); in testPreconditions()
76 FocusFinder.getInstance().findNextFocus(mListView, mCenterButton, View.FOCUS_RIGHT)); in testPreconditions()
79 FocusFinder.getInstance().findNextFocus(mListView, mCenterButton, View.FOCUS_LEFT)); in testPreconditions()
DListHorizontalFocusWithinItemWinsTest.java23 import android.view.FocusFinder;
56FocusFinder.getInstance().findNextFocus(mListView, mTopLeftButton, View.FOCUS_RIGHT)); in testPreconditions()
59FocusFinder.getInstance().findNextFocus(mListView, mTopRightButton, View.FOCUS_LEFT)); in testPreconditions()
/frameworks/base/core/java/android/widget/
DHorizontalScrollView.java30 import android.view.FocusFinder;
364 View nextFocused = FocusFinder.getInstance().findNextFocus(this, in executeKeyEvent()
1082 View nextFocused = FocusFinder.getInstance().findNextFocus(this, currentFocused, direction); in arrowScroll()
1448 FocusFinder.getInstance().findNextFocus(this, null, direction) : in onRequestFocusInDescendants()
1449 FocusFinder.getInstance().findNextFocusFromRect(this, in onRequestFocusInDescendants()
DScrollView.java34 import android.view.FocusFinder;
397 View nextFocused = FocusFinder.getInstance().findNextFocus(this, in executeKeyEvent()
1101 View nextFocused = FocusFinder.getInstance().findNextFocus(this, currentFocused, direction); in arrowScroll()
1478 FocusFinder.getInstance().findNextFocus(this, null, direction) : in onRequestFocusInDescendants()
1479 FocusFinder.getInstance().findNextFocusFromRect(this, in onRequestFocusInDescendants()
DListView.java39 import android.view.FocusFinder;
2431 final View nextFocus = FocusFinder.getInstance().findNextFocus( in handleHorizontalFocusWithinListItem()
2451 final View globalNextFocus = FocusFinder.getInstance().findNextFocus( in handleHorizontalFocusWithinListItem()
2920 newFocus = FocusFinder.getInstance().findNextFocus(this, oldFocus, direction); in arrowScrollFocused()
2942 newFocus = FocusFinder.getInstance().findNextFocusFromRect(this, mTempRect, direction); in arrowScrollFocused()
/frameworks/support/v4/java/android/support/v4/widget/
DNestedScrollView.java42 import android.view.FocusFinder;
484 View nextFocused = FocusFinder.getInstance().findNextFocus(this, in executeKeyEvent()
1159 View nextFocused = FocusFinder.getInstance().findNextFocus(this, currentFocused, direction); in arrowScroll()
1504 FocusFinder.getInstance().findNextFocus(this, null, direction) : in onRequestFocusInDescendants()
1505 FocusFinder.getInstance().findNextFocusFromRect(this, in onRequestFocusInDescendants()
/frameworks/base/core/tests/coretests/src/android/view/
DFocusFinderTest.java31 mFocusFinder = new FocusFinderHelper(FocusFinder.getInstance()); in setUp()
/frameworks/support/v4/java/android/support/v4/view/
DViewPager.java41 import android.view.FocusFinder;
2630 View nextFocused = FocusFinder.getInstance().findNextFocus(this, currentFocused,
/frameworks/base/core/java/com/android/internal/widget/
DViewPager.java33 import android.view.FocusFinder;
2503 View nextFocused = FocusFinder.getInstance().findNextFocus(this, currentFocused,
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
DRecyclerView.java54 import android.view.FocusFinder;
1927 final FocusFinder ff = FocusFinder.getInstance(); in focusSearch()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DGridLayoutManager.java40 import android.view.FocusFinder;
/frameworks/base/
Dpreloaded-classes1795 android.view.FocusFinder
1796 android.view.FocusFinder$1
1797 android.view.FocusFinder$SequentialFocusComparator
/frameworks/base/docs/html/
Dsitemap.txt1190 http://developer.android.com/reference/android/view/FocusFinder.html
/frameworks/base/api/
Dcurrent.txt34675 public class FocusFinder {
34679 method public static android.view.FocusFinder getInstance();
Dsystem-current.txt36967 public class FocusFinder {
36971 method public static android.view.FocusFinder getInstance();