Home
last modified time | relevance | path

Searched refs:setSelectedPosition (Results 1 – 25 of 63) sorted by relevance

123

/frameworks/base/core/tests/coretests/src/android/widget/listview/arrowscroll/
DListInterleaveFocusablesTest.java64 mListUtil.setSelectedPosition(2); in testGoingDownFromUnFocusableSelectedToFocusableWithOtherFocusableAbove()
73 mListUtil.setSelectedPosition(2); in testGoingUpFromUnFocusableSelectedToFocusableWithOtherFocusableAbove()
85 mListUtil.setSelectedPosition(3); in testGoingDownFromFocusableToUnfocusableWhenFocusableIsBelow()
94 mListUtil.setSelectedPosition(6); in testGoingUpFromFocusableToUnfocusableWhenFocusableIsBelow()
/frameworks/support/leanback/src/main/java/androidx/leanback/app/
DBaseRowFragment.java122 mVerticalGridView.setSelectedPosition(mSelectedPosition); in performLateSelection()
149 mVerticalGridView.setSelectedPosition(mSelectedPosition); in setAdapterAndSelection()
213 public void setSelectedPosition(int position) { in setSelectedPosition() method in BaseRowFragment
214 setSelectedPosition(position, true); in setSelectedPosition()
228 public void setSelectedPosition(int position, boolean smooth) { in setSelectedPosition() method in BaseRowFragment
240 mVerticalGridView.setSelectedPosition(position); in setSelectedPosition()
DBaseRowSupportFragment.java117 mVerticalGridView.setSelectedPosition(mSelectedPosition); in performLateSelection()
144 mVerticalGridView.setSelectedPosition(mSelectedPosition); in setAdapterAndSelection()
208 public void setSelectedPosition(int position) { in setSelectedPosition() method in BaseRowSupportFragment
209 setSelectedPosition(position, true); in setSelectedPosition()
223 public void setSelectedPosition(int position, boolean smooth) { in setSelectedPosition() method in BaseRowSupportFragment
235 mVerticalGridView.setSelectedPosition(position); in setSelectedPosition()
DRowsSupportFragment.java505 public void setSelectedPosition(int rowPosition, boolean smooth, in setSelectedPosition() method in RowsSupportFragment
534 verticalView.setSelectedPosition(rowPosition, task); in setSelectedPosition()
662 public void setSelectedPosition(int rowPosition, in setSelectedPosition() method in RowsSupportFragment.MainFragmentRowsAdapter
665 getFragment().setSelectedPosition(rowPosition, smooth, rowHolderTask); in setSelectedPosition()
669 public void setSelectedPosition(int rowPosition, boolean smooth) { in setSelectedPosition() method in RowsSupportFragment.MainFragmentRowsAdapter
670 getFragment().setSelectedPosition(rowPosition, smooth); in setSelectedPosition()
DRowsFragment.java510 public void setSelectedPosition(int rowPosition, boolean smooth, in setSelectedPosition() method in RowsFragment
539 verticalView.setSelectedPosition(rowPosition, task); in setSelectedPosition()
669 public void setSelectedPosition(int rowPosition, in setSelectedPosition() method in RowsFragment.MainFragmentRowsAdapter
672 getFragment().setSelectedPosition(rowPosition, smooth, rowHolderTask); in setSelectedPosition()
676 public void setSelectedPosition(int rowPosition, boolean smooth) { in setSelectedPosition() method in RowsFragment.MainFragmentRowsAdapter
677 getFragment().setSelectedPosition(rowPosition, smooth); in setSelectedPosition()
DBrowseSupportFragment.java528 public void setSelectedPosition(int rowPosition, in setSelectedPosition() method in BrowseSupportFragment.MainFragmentRowsAdapter
536 public void setSelectedPosition(int rowPosition, boolean smooth) { in setSelectedPosition() method in BrowseSupportFragment.MainFragmentRowsAdapter
1523 mHeadersSupportFragment.setSelectedPosition(position, smooth); in setSelection()
1527 mMainFragmentRowsAdapter.setSelectedPosition(position, smooth); in setSelection()
1572 public void setSelectedPosition(int position) { in setSelectedPosition() method in BrowseSupportFragment
1573 setSelectedPosition(position, true); in setSelectedPosition()
1598 public void setSelectedPosition(int position, boolean smooth) { in setSelectedPosition() method in BrowseSupportFragment
1615 public void setSelectedPosition(int rowPosition, boolean smooth, in setSelectedPosition() method in BrowseSupportFragment
1624 mMainFragmentRowsAdapter.setSelectedPosition(rowPosition, smooth, rowHolderTask); in setSelectedPosition()
DBrowseFragment.java544 public void setSelectedPosition(int rowPosition, in setSelectedPosition() method in BrowseFragment.MainFragmentRowsAdapter
552 public void setSelectedPosition(int rowPosition, boolean smooth) { in setSelectedPosition() method in BrowseFragment.MainFragmentRowsAdapter
1545 mHeadersFragment.setSelectedPosition(position, smooth); in setSelection()
1549 mMainFragmentRowsAdapter.setSelectedPosition(position, smooth); in setSelection()
1594 public void setSelectedPosition(int position) { in setSelectedPosition() method in BrowseFragment
1595 setSelectedPosition(position, true); in setSelectedPosition()
1620 public void setSelectedPosition(int position, boolean smooth) { in setSelectedPosition() method in BrowseFragment
1637 public void setSelectedPosition(int rowPosition, boolean smooth, in setSelectedPosition() method in BrowseFragment
1646 mMainFragmentRowsAdapter.setSelectedPosition(rowPosition, smooth, rowHolderTask); in setSelectedPosition()
DVerticalGridFragment.java231 public void setSelectedPosition(int position) { in setSelectedPosition() method in VerticalGridFragment
242 mGridViewHolder.getGridView().setSelectedPosition(mSelectedPosition); in updateAdapter()
DVerticalGridSupportFragment.java226 public void setSelectedPosition(int position) { in setSelectedPosition() method in VerticalGridSupportFragment
237 mGridViewHolder.getGridView().setSelectedPosition(mSelectedPosition); in updateAdapter()
DPlaybackFragment.java130 mRowsFragment.setSelectedPosition(mPosition, mSmooth); in run()
722 public void setSelectedPosition(int position) { in setSelectedPosition() method in PlaybackFragment
723 setSelectedPosition(position, true); in setSelectedPosition()
729 public void setSelectedPosition(int position, boolean smooth) { in setSelectedPosition() method in PlaybackFragment
1128 getVerticalGridView().setSelectedPosition(0); in setSeekMode()
DPlaybackSupportFragment.java125 mRowsSupportFragment.setSelectedPosition(mPosition, mSmooth); in run()
715 public void setSelectedPosition(int position) { in setSelectedPosition() method in PlaybackSupportFragment
716 setSelectedPosition(position, true); in setSelectedPosition()
722 public void setSelectedPosition(int position, boolean smooth) { in setSelectedPosition() method in PlaybackSupportFragment
1121 getVerticalGridView().setSelectedPosition(0); in setSeekMode()
DDetailsSupportFragment.java294 mRowsSupportFragment.setSelectedPosition(mPosition, mSmooth); in run()
573 public void setSelectedPosition(int position) { in setSelectedPosition() method in DetailsSupportFragment
574 setSelectedPosition(position, true); in setSelectedPosition()
580 public void setSelectedPosition(int position, boolean smooth) { in setSelectedPosition() method in DetailsSupportFragment
DDetailsFragment.java299 mRowsFragment.setSelectedPosition(mPosition, mSmooth); in run()
578 public void setSelectedPosition(int position) { in setSelectedPosition() method in DetailsFragment
579 setSelectedPosition(position, true); in setSelectedPosition()
585 public void setSelectedPosition(int position, boolean smooth) { in setSelectedPosition() method in DetailsFragment
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/widget/
DGridWidgetTest.java155 private void setSelectedPosition(final int position, final int scrollExtra) throws Throwable { in setSelectedPosition() method in GridWidgetTest
160 mGridView.setSelectedPosition(position, scrollExtra); in setSelectedPosition()
166 private void setSelectedPosition(final int position) throws Throwable { in setSelectedPosition() method in GridWidgetTest
167 setSelectedPosition(position, 0); in setSelectedPosition()
911 setSelectedPosition(999); in testMoveIntoPrelayoutItems2()
1146 mGridView.setSelectedPosition(50); in testDontPruneMovingItem()
1200 mGridView.setSelectedPosition(50); in testMoveItemToTheRight()
1264 mGridView.setSelectedPosition(1500); in testMoveItemToTheLeft()
1425 mGridView.setSelectedPosition(position); in testSetSelectedPosition()
1691 mGridView.setSelectedPosition(existing_position[0]); in testScrollInSmoothScrolling()
[all …]
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
DBaseGridView.java676 public void setSelectedPosition(int position) { in setSelectedPosition() method in BaseGridView
694 public void setSelectedPosition(int position, int scrollExtra) { in setSelectedPosition() method in BaseGridView
759 public void setSelectedPosition(final int position, final ViewHolderTask task) { in setSelectedPosition() method in BaseGridView
777 setSelectedPosition(position); in setSelectedPosition()
/frameworks/base/core/tests/coretests/src/android/util/
DListUtil.java46 public final void setSelectedPosition(final int pos) { in setSelectedPosition() method in ListUtil
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/app/
DRowsFragmentTest.java122 fragment.setSelectedPosition(row, true, in selectAndWaitFragmentAnimation()
175 setSelectedPosition(7, false); in onCreate()
212 setSelectedPosition(7, false); in onCreate()
250 setSelectedPosition(7, false); in onCreate()
282 setSelectedPosition(7, false); in onCreate()
1228 fragment.setSelectedPosition(3, true); in mixedBrowseFragmentRestoreToSampleRowsFragment()
1248 mainFragment.setSelectedPosition(1, true, in mixedBrowseFragmentRestoreToSampleRowsFragment()
1297 fragment.setSelectedPosition(4, true); in mixedBrowseFragmentRestoreToSampleFragment()
DRowsSupportFragmentTest.java119 fragment.setSelectedPosition(row, true, in selectAndWaitFragmentAnimation()
172 setSelectedPosition(7, false); in onCreate()
209 setSelectedPosition(7, false); in onCreate()
247 setSelectedPosition(7, false); in onCreate()
279 setSelectedPosition(7, false); in onCreate()
1225 fragment.setSelectedPosition(3, true); in mixedBrowseSupportFragmentRestoreToSampleRowsSupportFragment()
1245 mainFragment.setSelectedPosition(1, true, in mixedBrowseSupportFragmentRestoreToSampleRowsSupportFragment()
1294 fragment.setSelectedPosition(4, true); in mixedBrowseSupportFragmentRestoreToSampleFragment()
DDetailsTestSupportFragment.java120 setSelectedPosition(0, true); in setItem()
DDetailsTestFragment.java123 setSelectedPosition(0, true); in setItem()
/frameworks/support/samples/SupportLeanbackDemos/src/main/java/com/example/android/leanback/
DHorizontalGridTestActivity.java95 mHorizontalGridView.setSelectedPosition(position); in onNewIntent()
DDetailsFragment.java198 setSelectedPosition(0, false); in updateAdapter()
DDetailsSupportFragment.java201 setSelectedPosition(0, false); in updateAdapter()
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/picker/
DPicker.java300 columnView.setSelectedPosition(column.getCurrentValue() - column.getMinValue()); in setColumnAt()
321 columnView.setSelectedPosition(position); in setColumnValue()
/frameworks/support/leanback/api_legacy/
D27.0.0.txt46 method public void setSelectedPosition(int);
47 method public void setSelectedPosition(int, boolean);
62 method public void setSelectedPosition(int);
63 method public void setSelectedPosition(int, boolean);
147 method public void setSelectedPosition(int);
148 method public void setSelectedPosition(int, boolean);
149 …method public void setSelectedPosition(int, boolean, android.support.v17.leanback.widget.Presenter…
211 …method public void setSelectedPosition(int, boolean, android.support.v17.leanback.widget.Presenter…
212 method public void setSelectedPosition(int, boolean);
247 method public void setSelectedPosition(int);
[all …]

123