Home
last modified time | relevance | path

Searched refs:mFocusPosition (Results 1 – 2 of 2) sorted by relevance

/frameworks/support/recyclerview-selection/src/androidTest/java/androidx/recyclerview/selection/testing/
DTestFocusDelegate.java28 private int mFocusPosition; field in TestFocusDelegate
32 mFocusPosition = RecyclerView.NO_POSITION; in clearFocus()
39 mFocusPosition = item.getPosition(); in focusItem()
44 return mFocusPosition; in getFocusedPosition()
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
DGridLayoutManager.java231 if (mFocusPosition != getTargetPosition()) { in onStopInternal()
233 mFocusPosition = getTargetPosition(); in onStopInternal()
317 int startPos = mPendingMoves > 0 ? mFocusPosition + mNumRows : in consumePendingMovesBeforeLayout()
318 mFocusPosition - mNumRows; in consumePendingMovesBeforeLayout()
329 mFocusPosition = pos; in consumePendingMovesBeforeLayout()
355 setTargetPosition(mFocusPosition); in consumePendingMovesAfterLayout()
565 int mFocusPosition = NO_POSITION; field in GridLayoutManager
988 View view = mFocusPosition == NO_POSITION ? null : findViewByPosition(mFocusPosition); in dispatchChildSelected()
992 mChildSelectedListener.onChildSelected(mBaseGridView, view, mFocusPosition, in dispatchChildSelected()
995 fireOnChildViewHolderSelected(mBaseGridView, vh, mFocusPosition, mSubFocusPosition); in dispatchChildSelected()
[all …]