Searched refs:focusSearch (Results 1 - 25 of 37) sorted by relevance

12

/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
H A DGuidedActionItemContainer.java41 public View focusSearch(View focused, int direction) { method in class:GuidedActionItemContainer
43 return super.focusSearch(focused, direction);
45 View view = super.focusSearch(focused, direction);
H A DBrowseFrameLayout.java116 public View focusSearch(View focused, int direction) { method in class:BrowseFrameLayout
123 return super.focusSearch(focused, direction);
H A DPlaybackTransportRowView.java34 * View for PlaybackTransportRowPresenter that has a custom focusSearch.
93 public View focusSearch(View focused, int direction) { method in class:PlaybackTransportRowView
94 // when focusSearch vertically, return the next immediate focusable child
119 return super.focusSearch(focused, direction);
H A DBaseGridView.java864 public View focusSearch(int direction) { method in class:BaseGridView
866 // focusSearch(int) is called when GridView itself is focused.
867 // Calling focusSearch(view, int) to get next sibling of current selected child.
870 return focusSearch(view, direction);
873 // otherwise, go to mParent to perform focusSearch
874 return super.focusSearch(direction);
/frameworks/support/leanback/src/main/java/androidx/leanback/app/
H A DGuidedStepRootLayout.java49 public View focusSearch(View focused, int direction) { method in class:GuidedStepRootLayout
50 View newFocus = super.focusSearch(focused, direction);
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/
H A DRecyclerViewFocusTest.java59 View actualView = mRecyclerView.focusSearch(currentlyFocusedView, View.FOCUS_FORWARD);
69 mRecyclerView.focusSearch(currentlyFocusedView, View.FOCUS_FORWARD);
80 mRecyclerView.focusSearch(currentlyFocusedView, View.FOCUS_FORWARD);
88 mRecyclerView.focusSearch(null, View.FOCUS_FORWARD);
205 View actualResult = mRecyclerView.focusSearch(currentlyFocusedView, direction);
215 mRecyclerView.focusSearch(currentlyFocusedView, direction);
224 mRecyclerView.focusSearch(currentlyFocusedView, direction);
H A DRecyclerViewBasicTest.java89 private void focusSearch() { method in class:RecyclerViewBasicTest
90 mRecyclerView.focusSearch(1);
119 focusSearch();
535 assertEquals(expected, focusAdapter.mTopRight.focusSearch(View.FOCUS_FORWARD));
540 assertSame(expected, focusAdapter.mBottomLeft.focusSearch(View.FOCUS_FORWARD));
543 assertNull(focusAdapter.mBottomRight.focusSearch(View.FOCUS_FORWARD));
544 assertNull(focusAdapter.mTopLeft.focusSearch(View.FOCUS_BACKWARD));
H A DFocusSearchNavigationTest.java181 View next = focusSearch(view, focusDir);
189 private View focusSearch(final View view, final int focusDir) throws Throwable { method in class:FocusSearchNavigationTest
194 result[0] = view.focusSearch(focusDir);
H A DLinearLayoutManagerTest.java260 // visible after focusSearch.
270 focusSearch(mRecyclerView.getFocusedChild(), View.FOCUS_UP, true);
345 // visible after focusSearch.
355 focusSearch(mRecyclerView.getFocusedChild(), View.FOCUS_DOWN, true);
431 // visible after focusSearch.
441 focusSearch(mRecyclerView.getFocusedChild(), View.FOCUS_LEFT, true);
516 // visible after focusSearch.
526 focusSearch(mRecyclerView.getFocusedChild(), View.FOCUS_RIGHT, true);
606 final View nextView = focusSearch(mRecyclerView.getFocusedChild(), View.FOCUS_DOWN, true);
621 // Calling focusSearch shoul
[all...]
H A DBaseRecyclerViewInstrumentationTest.java151 public View focusSearch(final View focused, final int direction) throws Throwable { method in class:BaseRecyclerViewInstrumentationTest
152 return focusSearch(focused, direction, false);
155 public View focusSearch(final View focused, final int direction, boolean waitForScroll) method in class:BaseRecyclerViewInstrumentationTest
161 View view = focused.focusSearch(direction);
H A DGridLayoutManagerTest.java167 focusSearch(focusedView, scrollDown ? View.FOCUS_DOWN : View.FOCUS_UP);
370 // visible after focusSearch.
385 focusSearch(recyclerView.getFocusedChild(), View.FOCUS_UP, true);
460 // visible after focusSearch.
475 focusSearch(recyclerView.getFocusedChild(), View.FOCUS_DOWN, true);
550 // visible after focusSearch.
565 focusSearch(recyclerView.getFocusedChild(), View.FOCUS_LEFT, true);
640 // visible after focusSearch.
655 focusSearch(recyclerView.getFocusedChild(), View.FOCUS_RIGHT, true);
H A DStaggeredGridLayoutManagerTest.java383 focusSearch(subChildToFocus, View.FOCUS_FORWARD);
388 focusSearch(focusedChild, View.FOCUS_FORWARD);
472 focusSearch(focusedView, View.FOCUS_RIGHT);
484 focusSearch(focused, dir);
570 // The VH of the unfocusable item that just became fully visible after focusSearch.
683 // The VH of the unfocusable item that just became fully visible after focusSearch.
792 // The VH of the unfocusable item that just became fully visible after focusSearch.
900 // The VH of the unfocusable item that just became fully visible after focusSearch.
H A DRecyclerViewLayoutTest.java127 rv.focusSearch(rv.getChildAt(0), View.FOCUS_FORWARD);
895 View newFocused = focusSearch(viewAbove, View.FOCUS_FORWARD);
897 newFocused = focusSearch(rv.getChildAt(0), View.FOCUS_FORWARD);
1258 recyclerView.focusSearch(recyclerView.getChildAt(1), View.FOCUS_DOWN);
1290 recyclerView.focusSearch(toFocus.itemView, View.FOCUS_DOWN);
1337 focusSearch(recyclerView, c, View.FOCUS_DOWN);
1341 focusSearch(c, View.FOCUS_DOWN);
1346 public View focusSearch(final ViewGroup parent, final View focused, final int direction) method in class:RecyclerViewLayoutTest
1352 result[0] = parent.focusSearch(focused, direction);
/frameworks/base/core/java/android/accessibilityservice/
H A DIAccessibilityServiceConnection.aidl54 String[] focusSearch(int accessibilityWindowId, long accessibilityNodeId, int direction,
/frameworks/base/core/java/android/view/accessibility/
H A DIAccessibilityInteractionConnection.aidl51 void focusSearch(long accessibilityNodeId, int direction, in Region bounds, int interactionId,
H A DAccessibilityInteractionClient.java550 public AccessibilityNodeInfo focusSearch(int connectionId, int accessibilityWindowId, method in class:AccessibilityInteractionClient
559 packageNames = connection.focusSearch(accessibilityWindowId,
/frameworks/base/core/tests/coretests/src/android/widget/focus/
H A DRequestFocusTest.java121 View focusCandidate = clearingFocusButton.getRootView().getParent().focusSearch(null,
164 View focusCandidate = clearingFocusButton.getRootView().getParent().focusSearch(null,
/frameworks/base/core/tests/coretests/src/android/view/accessibility/
H A DAccessibilityServiceConnectionImpl.java59 public String[] focusSearch(int accessibilityWindowId, long accessibilityNodeId, int direction, method in class:AccessibilityServiceConnectionImpl
/frameworks/base/core/java/android/view/
H A DViewParent.java175 public View focusSearch(View v, int direction); method in interface:ViewParent
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/
H A DPipAccessibilityInteractionConnection.java157 public void focusSearch(long accessibilityNodeId, int direction, Region interactiveRegion, method in class:PipAccessibilityInteractionConnection
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/widget/
H A DPlaybackTransportRowPresenterTest.java240 view.focusSearch(View.FOCUS_RIGHT)));
254 view.focusSearch(View.FOCUS_RIGHT)));
267 assertSame(mViewHolder.mProgressBar, view.focusSearch(View.FOCUS_DOWN));
281 mViewHolder.mProgressBar.focusSearch(View.FOCUS_UP).requestFocus();
299 mViewHolder.mProgressBar.focusSearch(View.FOCUS_DOWN).requestFocus();
316 assertSame(mViewHolder.mProgressBar, view.focusSearch(View.FOCUS_UP));
/frameworks/base/core/java/android/widget/
H A DTabHost.java384 && mCurrentView.findFocus().focusSearch(directionShouldChangeFocus) == null) {
H A DSimpleMonthView.java439 nextFocus = nextFocus.focusSearch(focusChangeDirection);
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
H A DAbstractAccessibilityServiceConnection.java654 public String[] focusSearch(int accessibilityWindowId, long accessibilityNodeId, method in class:AbstractAccessibilityServiceConnection
690 connection.getRemote().focusSearch(accessibilityNodeId, direction,
/frameworks/support/compat/src/main/java/androidx/core/view/accessibility/
H A DAccessibilityNodeInfoCompat.java1469 public AccessibilityNodeInfoCompat focusSearch(int direction) { method in class:AccessibilityNodeInfoCompat
1471 return AccessibilityNodeInfoCompat.wrapNonNullInstance(mInfo.focusSearch(direction));

Completed in 215 milliseconds

12