Searched refs:focusIndex (Results 1 – 5 of 5) sorted by relevance
122 int focusIndex = mRecyclerView.getChildAdapterPosition(toFocus); in editTextVisibility() local135 assertThat("Child at position " + focusIndex + " should be focused", in editTextVisibility()141 assertTrue("Child view at adapter pos " + focusIndex + " should be fully visible.", in editTextVisibility()155 assertThat("Child at position " + focusIndex + " should be focused", in editTextVisibility()157 assertTrue("Child view at adapter pos " + focusIndex + " should be fully visible.", in editTextVisibility()162 focusIndex = mRecyclerView.getChildAdapterPosition(toFocus); in editTextVisibility()173 assertTrue("Child view at adapter pos " + focusIndex + " should be fully visible.", in editTextVisibility()227 int focusIndex = 0; in topUnfocusableViewsVisibility() local228 View newFocused = mRecyclerView.getChildAt(focusIndex); in topUnfocusableViewsVisibility()231 focusIndex); in topUnfocusableViewsVisibility()[all …]
224 int focusIndex = mRecyclerView.getChildAdapterPosition(toFocus); in editTextVisibility() local225 focusIndex = (focusIndex / spanCount) * spanCount + 1; in editTextVisibility()226 toFocus = mRecyclerView.findViewHolderForAdapterPosition(focusIndex).itemView; in editTextVisibility()227 assertTrue(focusIndex >= 1 && focusIndex < itemCount); in editTextVisibility()240 assertThat("Child at position " + focusIndex + " should be focused", in editTextVisibility()242 assertTrue("Child view at adapter pos " + focusIndex + " should be fully visible.", in editTextVisibility()256 assertTrue("Child view at adapter pos " + focusIndex + " should be fully visible.", in editTextVisibility()261 focusIndex = mRecyclerView.getChildAdapterPosition(toFocus); in editTextVisibility()262 focusIndex = (focusIndex / spanCount) * spanCount + (spanCount - 1); in editTextVisibility()263 toFocus = mRecyclerView.findViewHolderForAdapterPosition(focusIndex).itemView; in editTextVisibility()[all …]
480 int focusIndex = 1; in topUnfocusableViewsVisibility() local482 focusIndex); in topUnfocusableViewsVisibility()593 int focusIndex = 1; in bottomUnfocusableViewsVisibility() local595 focusIndex); in bottomUnfocusableViewsVisibility()702 int focusIndex = 1; in leftUnfocusableViewsVisibility() local704 focusIndex); in leftUnfocusableViewsVisibility()810 int focusIndex = 1; in rightUnfocusableViewsVisibility() local812 focusIndex); in rightUnfocusableViewsVisibility()
3428 int focusIndex = recyclerView.indexOfChild(view); in getChildDrawingOrder() local3431 if (i < focusIndex) { in getChildDrawingOrder()3434 return focusIndex + childCount - 1 - i; in getChildDrawingOrder()3436 return focusIndex; in getChildDrawingOrder()
2136 int focusIndex = mGridView.getSelectedPosition(); in testPendingSmoothScrollAndRemove() local2137 int topEdge = mGridView.getLayoutManager().findViewByPosition(focusIndex).getTop(); in testPendingSmoothScrollAndRemove()2147 mGridView.getLayoutManager().findViewByPosition(focusIndex).getTop()); in testPendingSmoothScrollAndRemove()