/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/ |
D | ItemAnimatorV2ApiTest.java | 62 final RecyclerView.ViewHolder target = mRecyclerView.findViewHolderForAdapterPosition(9); in changeMovedOutside() 100 mRecyclerView.findViewHolderForAdapterPosition(1); in changeMovedOutsideWithPredictiveAndTwoViewHolders() 153 final RecyclerView.ViewHolder target = mRecyclerView.findViewHolderForAdapterPosition(0); in changeMovedOutsideWithPredictive() 194 RecyclerView.ViewHolder vh = mRecyclerView.findViewHolderForAdapterPosition(2); in simpleAdd() 202 RecyclerView.ViewHolder other = mRecyclerView.findViewHolderForAdapterPosition(i); in simpleAdd() 206 RecyclerView.ViewHolder other = mRecyclerView.findViewHolderForAdapterPosition(i); in simpleAdd() 215 RecyclerView.ViewHolder vh = mRecyclerView.findViewHolderForAdapterPosition(2); in simpleRemove() 227 RecyclerView.ViewHolder other = mRecyclerView.findViewHolderForAdapterPosition(i); in simpleRemove() 231 RecyclerView.ViewHolder other = mRecyclerView.findViewHolderForAdapterPosition(i); in simpleRemove() 240 RecyclerView.ViewHolder vh = mRecyclerView.findViewHolderForAdapterPosition(2); in simpleUpdate() [all …]
|
D | ScrollToPositionWithAutoMeasure.java | 81 assertThat(recyclerView.findViewHolderForAdapterPosition(targetPos), in test() 85 recyclerView.findViewHolderForAdapterPosition(targetPos).itemView); in test() 91 assertThat(recyclerView.findViewHolderForAdapterPosition(targetPos), in test() 94 recyclerView.findViewHolderForAdapterPosition(targetPos); in test()
|
D | LinearLayoutManagerTest.java | 254 RecyclerView.ViewHolder toFocus = mRecyclerView.findViewHolderForAdapterPosition( in topUnfocusableViewsVisibility() 273 toFocus = mRecyclerView.findViewHolderForAdapterPosition(focusIndex); in topUnfocusableViewsVisibility() 276 toVisible = mRecyclerView.findViewHolderForAdapterPosition(visibleIndex); in topUnfocusableViewsVisibility() 339 RecyclerView.ViewHolder toFocus = mRecyclerView.findViewHolderForAdapterPosition( in bottomUnfocusableViewsVisibility() 358 toFocus = mRecyclerView.findViewHolderForAdapterPosition(focusIndex); in bottomUnfocusableViewsVisibility() 361 toVisible = mRecyclerView.findViewHolderForAdapterPosition(visibleIndex); in bottomUnfocusableViewsVisibility() 425 RecyclerView.ViewHolder toFocus = mRecyclerView.findViewHolderForAdapterPosition( in leftUnfocusableViewsVisibility() 444 toFocus = mRecyclerView.findViewHolderForAdapterPosition(focusIndex); in leftUnfocusableViewsVisibility() 447 toVisible = mRecyclerView.findViewHolderForAdapterPosition(visibleIndex); in leftUnfocusableViewsVisibility() 510 RecyclerView.ViewHolder toFocus = mRecyclerView.findViewHolderForAdapterPosition( in rightUnfocusableViewsVisibility() [all …]
|
D | RecyclerViewFocusRecoveryTest.java | 143 RecyclerView.ViewHolder newVh = mRecyclerView.findViewHolderForAdapterPosition(3); in testFocusRecoveryInChange() 302 FocusViewHolder newVh = cast(mRecyclerView.findViewHolderForAdapterPosition(6)); in testFocusRecoveryAfterChangingFocusableFlag() 444 FocusViewHolder fvh = cast(mRecyclerView.findViewHolderForAdapterPosition(0)); in assertFocusAfterLayout() 463 ? cast(mRecyclerView.findViewHolderForAdapterPosition( in assertFocusAfterLayout() 466 ? cast(mRecyclerView.findViewHolderForAdapterPosition( in assertFocusAfterLayout() 468 cast(mRecyclerView.findViewHolderForAdapterPosition(0))); in assertFocusAfterLayout() 539 RecyclerView.ViewHolder newVh = mRecyclerView.findViewHolderForAdapterPosition(3); in testFocusRecoveryInTypeChange() 654 RecyclerView.ViewHolder otherVh = mRecyclerView.findViewHolderForAdapterPosition(4); in testDoNotRecoverViaPositionOnNewDataSet() 696 final RecyclerView.ViewHolder oldVh = mRecyclerView.findViewHolderForAdapterPosition(pos); in focusVh()
|
D | GridLayoutManagerTest.java | 161 View viewToFocus = recyclerView.findViewHolderForAdapterPosition(1).itemView; in focusSearchFailure() 233 toFocus = recyclerView.findViewHolderForAdapterPosition(focusIndex).itemView; in focusedChildStaysInViewWhenRecyclerViewShrinks() 287 toFocus = recyclerView.findViewHolderForAdapterPosition(focusIndex).itemView; in focusedChildStaysInViewWhenRecyclerViewShrinks() 364 RecyclerView.ViewHolder toFocus = recyclerView.findViewHolderForAdapterPosition(focusIndex); in topUnfocusableViewsVisibility() 388 toFocus = recyclerView.findViewHolderForAdapterPosition(focusIndex); in topUnfocusableViewsVisibility() 390 toVisible = recyclerView.findViewHolderForAdapterPosition(visibleIndex); in topUnfocusableViewsVisibility() 454 RecyclerView.ViewHolder toFocus = recyclerView.findViewHolderForAdapterPosition(focusIndex); in bottomUnfocusableViewsVisibility() 478 toFocus = recyclerView.findViewHolderForAdapterPosition(focusIndex); in bottomUnfocusableViewsVisibility() 480 toVisible = recyclerView.findViewHolderForAdapterPosition(visibleIndex); in bottomUnfocusableViewsVisibility() 544 RecyclerView.ViewHolder toFocus = recyclerView.findViewHolderForAdapterPosition(focusIndex); in leftUnfocusableViewsVisibility() [all …]
|
D | LinearLayoutManagerWrapContentWithAspectRatioTest.java | 154 View itemView1 = recyclerView.findViewHolderForAdapterPosition(0).itemView; in wrapContentAffectsOtherOrientation() 160 View itemView2 = recyclerView.findViewHolderForAdapterPosition(1).itemView; in wrapContentAffectsOtherOrientation() 166 View itemView3 = recyclerView.findViewHolderForAdapterPosition(2).itemView; in wrapContentAffectsOtherOrientation()
|
D | StaggeredGridLayoutManagerTest.java | 454 View viewToFocus = mRecyclerView.findViewHolderForAdapterPosition(1).itemView; in focusSearchFailure() 564 RecyclerView.ViewHolder toFocus = mRecyclerView.findViewHolderForAdapterPosition( in topUnfocusableViewsVisibility() 591 toVisible = mRecyclerView.findViewHolderForAdapterPosition(i); in topUnfocusableViewsVisibility() 677 RecyclerView.ViewHolder toFocus = mRecyclerView.findViewHolderForAdapterPosition( in bottomUnfocusableViewsVisibility() 704 toVisible = mRecyclerView.findViewHolderForAdapterPosition(i); in bottomUnfocusableViewsVisibility() 786 RecyclerView.ViewHolder toFocus = mRecyclerView.findViewHolderForAdapterPosition( in leftUnfocusableViewsVisibility() 813 toVisible = mRecyclerView.findViewHolderForAdapterPosition(i); in leftUnfocusableViewsVisibility() 894 RecyclerView.ViewHolder toFocus = mRecyclerView.findViewHolderForAdapterPosition( in rightUnfocusableViewsVisibility() 921 toVisible = mRecyclerView.findViewHolderForAdapterPosition(i); in rightUnfocusableViewsVisibility() 1026 mRecyclerView.findViewHolderForAdapterPosition(fullSpanIndex)); in temporaryGapHandling()
|
D | ItemTouchHelperTest.java | 153 .findViewHolderForAdapterPosition(1); in attachToNullRecycleViewDuringLongPress() 182 .findViewHolderForAdapterPosition(1); in attachToAnotherRecycleViewDuringLongPress() 201 .findViewHolderForAdapterPosition(1); in basicSwipeTest()
|
D | FocusSearchNavigationTest.java | 140 RecyclerView.ViewHolder viewHolder = mRecyclerView.findViewHolderForAdapterPosition(i); in focusSearchForward() 163 lastViewHolder = mRecyclerView.findViewHolderForAdapterPosition(--i); in focusSearchBackwards() 169 RecyclerView.ViewHolder viewHolder = mRecyclerView.findViewHolderForAdapterPosition(i); in focusSearchBackwards()
|
D | LinearLayoutManagerBaseConfigSetTest.java | 237 final RecyclerView.ViewHolder vh = mRecyclerView.findViewHolderForAdapterPosition(500); in dontRecycleViewsTranslatedOutOfBoundsFromStart() 271 final RecyclerView.ViewHolder vh = mRecyclerView.findViewHolderForAdapterPosition(500); in dontRecycleViewsTranslatedOutOfBoundsFromEnd()
|
D | LinearLayoutManagerPrepareForDropTest.java | 185 assertSame(fromChild, mRecyclerView.findViewHolderForAdapterPosition(toPos).itemView); in prepareForDropTest()
|
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/app/ |
D | HeadersSupportFragmentTest.java | 68 gridView.findViewHolderForAdapterPosition(0); in defaultScale() 96 gridView.findViewHolderForAdapterPosition(0); in disableScale() 123 gridView.findViewHolderForAdapterPosition(0); in disableScaleInConstructor()
|
D | HeadersFragmentTest.java | 71 gridView.findViewHolderForAdapterPosition(0); in defaultScale() 99 gridView.findViewHolderForAdapterPosition(0); in disableScale() 126 gridView.findViewHolderForAdapterPosition(0); in disableScaleInConstructor()
|
D | RowsFragmentTest.java | 156 View row0 = gridView.findViewHolderForAdapterPosition(0).itemView; in defaultAlignment() 163 View row1 = gridView.findViewHolderForAdapterPosition(1).itemView; in defaultAlignment() 202 assertNotNull(gridView.findViewHolderForAdapterPosition(7)); in selectBeforeSetAdapter() 236 assertNotNull(gridView.findViewHolderForAdapterPosition(7)); in selectBeforeAddData() 264 assertNotNull(gridView.findViewHolderForAdapterPosition(7)); in selectAfterAddData() 307 assertNotNull(gridView.findViewHolderForAdapterPosition(7)); in restoreSelection() 348 gridView.findViewHolderForAdapterPosition(lastRowPos + 1); in prefetchChildItemsBeforeAttach()
|
D | RowsSupportFragmentTest.java | 153 View row0 = gridView.findViewHolderForAdapterPosition(0).itemView; in defaultAlignment() 160 View row1 = gridView.findViewHolderForAdapterPosition(1).itemView; in defaultAlignment() 199 assertNotNull(gridView.findViewHolderForAdapterPosition(7)); in selectBeforeSetAdapter() 233 assertNotNull(gridView.findViewHolderForAdapterPosition(7)); in selectBeforeAddData() 261 assertNotNull(gridView.findViewHolderForAdapterPosition(7)); in selectAfterAddData() 304 assertNotNull(gridView.findViewHolderForAdapterPosition(7)); in restoreSelection() 345 gridView.findViewHolderForAdapterPosition(lastRowPos + 1); in prefetchChildItemsBeforeAttach()
|
/frameworks/support/car/src/androidTest/java/androidx/car/widget/ |
D | SubheaderListItemTest.java | 87 .findViewHolderForAdapterPosition(position); in getViewHolderAtPosition() 92 .findViewHolderForAdapterPosition(position); in getTextViewHolderAtPosition()
|
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/widget/ |
D | GridWidgetTest.java | 1152 RecyclerView.ViewHolder vh = mGridView.findViewHolderForAdapterPosition(i); in testDontPruneMovingItem() 1204 RecyclerView.ViewHolder moveViewHolder = mGridView.findViewHolderForAdapterPosition(51); in testMoveItemToTheRight() 1268 RecyclerView.ViewHolder moveViewHolder = mGridView.findViewHolderForAdapterPosition(1499); in testMoveItemToTheLeft() 1698 assertTrue(mGridView.findViewHolderForAdapterPosition(existing_position[0]) in testScrollInSmoothScrolling() 1864 mGridView.findViewHolderForAdapterPosition(0).itemView.getRight()); in testItemMovedHorizontalRtl() 1898 assertEquals(topPadding, mGridView.findViewHolderForAdapterPosition(0).itemView in testScrollSecondaryCannotScroll() 1904 assertEquals(topPadding, mGridView.findViewHolderForAdapterPosition(300).itemView in testScrollSecondaryCannotScroll() 1941 assertEquals(topPadding, mGridView.findViewHolderForAdapterPosition(0).itemView.getTop()); in testScrollSecondaryNeedScroll() 1944 view = mGridView.findViewHolderForAdapterPosition(4).itemView; in testScrollSecondaryNeedScroll() 1948 view = mGridView.findViewHolderForAdapterPosition(8).itemView; in testScrollSecondaryNeedScroll() [all …]
|
/frameworks/support/car/src/androidTest/java/androidx/car/drawer/ |
D | CarDrawerTest.java | 99 .findViewHolderForAdapterPosition(position); in getViewHolderAtPositionInDrawer()
|
/frameworks/support/recyclerview-selection/src/main/java/androidx/recyclerview/selection/ |
D | DefaultBandHost.java | 153 return mRecyclerView.findViewHolderForAdapterPosition(pos) != null; in hasView()
|
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/ |
D | RecyclerViewParallax.java | 150 : recyclerView.findViewHolderForAdapterPosition(mAdapterPosition); in updateValue()
|
/frameworks/support/leanback/src/main/java/androidx/leanback/app/ |
D | VerticalGridFragment.java | 157 if (mGridViewHolder.getGridView().findViewHolderForAdapterPosition(mSelectedPosition) in showOrHideTitle()
|
D | VerticalGridSupportFragment.java | 152 if (mGridViewHolder.getGridView().findViewHolderForAdapterPosition(mSelectedPosition) in showOrHideTitle()
|
D | PlaybackFragment.java | 114 .findViewHolderForAdapterPosition(0); in resetFocus() 259 verticalView.findViewHolderForAdapterPosition(0); 544 .findViewHolderForAdapterPosition(0); in loadControlRowAnimator()
|
D | PlaybackSupportFragment.java | 109 .findViewHolderForAdapterPosition(0); in resetFocus() 252 verticalView.findViewHolderForAdapterPosition(0); 537 .findViewHolderForAdapterPosition(0); in loadControlRowAnimator()
|
D | RowsSupportFragment.java | 275 verticalView.findViewHolderForAdapterPosition(position)); in getRowViewHolder() 584 .findViewHolderForAdapterPosition(position)); in findRowViewHolderByPosition()
|