Home
last modified time | relevance | path

Searched refs:getChildAdapterPosition (Results 1 – 25 of 51) sorted by relevance

123

/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/
DRecyclerViewAccessibilityLifecycleTest.java222 recyclerView.getChildAdapterPosition(view)); in notClearCustomViewDelegate()
247 recyclerView.getChildAdapterPosition(view)); in notClearCustomViewDelegate()
300 assertEquals(i, recyclerView.getChildAdapterPosition(view)); in clearItemDelegateWhenGoesToPool()
328 recyclerView.getChildAdapterPosition(view)); in clearItemDelegateWhenGoesToPool()
DScrollToPositionWithAutoMeasure.java75 int lastChildPos = recyclerView.getChildAdapterPosition(lastChild); in test()
DTestResizingRelayoutWithAutoMeasure.java164 int childAdapterPosition = recyclerView.getChildAdapterPosition(view); in capturePositions()
DGridLayoutManagerTest.java231 int focusIndex = recyclerView.getChildAdapterPosition(toFocus); in focusedChildStaysInViewWhenRecyclerViewShrinks()
285 focusIndex = recyclerView.getChildAdapterPosition(toFocus); in focusedChildStaysInViewWhenRecyclerViewShrinks()
770 final int lastPos = rv.getChildAdapterPosition(lastView); in movingAGroupOffScreenForAddedItems()
DLinearLayoutManagerTest.java119 int focusIndex = recyclerView.getChildAdapterPosition(toFocus); in focusedChildStaysInViewWhenRecyclerViewShrinks()
176 focusIndex = recyclerView.getChildAdapterPosition(toFocus); in focusedChildStaysInViewWhenRecyclerViewShrinks()
DBaseRecyclerViewInstrumentationTest.java463 if (position == mRecyclerView.getChildAdapterPosition(view)) { in smoothScrollToPosition()
DRecyclerViewLayoutTest.java2248 recyclerView.getChildAdapterPosition(tlm.getChildAt(i)), in adapterPositionInvalidation()
2254 recyclerView.getChildAdapterPosition(tlm.getChildAt(i)), in adapterPositionInvalidation()
/frameworks/support/recyclerview-selection/src/main/java/androidx/recyclerview/selection/
DGestureSelectionHelper.java253 ? mRecyclerView.getChildAdapterPosition(child) in getItemUnder()
277 : mRecyclerView.getChildAdapterPosition( in getLastGlidedItemPosition()
DBandPredicate.java83 ? mRecyclerView.getChildAdapterPosition(itemView) in canInitiate()
DDefaultBandHost.java84 return mRecyclerView.getChildAdapterPosition(mRecyclerView.getChildAt(index)); in getAdapterPositionAt()
/frameworks/support/preference/src/main/java/androidx/preference/
DPreferenceRecyclerViewAccessibilityDelegate.java55 int position = mRecyclerView.getChildAdapterPosition(host);
/frameworks/support/car/src/main/java/androidx/car/widget/
DPagedListView.java1289 int position = parent.getChildAdapterPosition(view); in getItemOffsets()
1364 int itemPosition = parent.getChildAdapterPosition(container); in onDrawOver()
1435 int pos = parent.getChildAdapterPosition(view); in getItemOffsets()
1466 int position = parent.getChildAdapterPosition(view); in getItemOffsets()
/frameworks/support/leanback/src/main/java/androidx/leanback/app/
DPlaybackFragment.java580 if (getVerticalGridView().getChildAdapterPosition(view) > 0) { in loadOtherRowAnimator()
1137 if (getVerticalGridView().getChildAdapterPosition(view) > 0) { in setSeekMode()
DPlaybackSupportFragment.java573 if (getVerticalGridView().getChildAdapterPosition(view) > 0) { in loadOtherRowAnimator()
1130 if (getVerticalGridView().getChildAdapterPosition(view) > 0) { in setSeekMode()
/frameworks/support/wear/src/main/java/androidx/wear/widget/drawer/
DWearableActionDrawerView.java384 mActionList.getChildAdapterPosition(v) - (hasTitle() ? 1 : 0);
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/widget/
DGridWidgetTest.java871 assertEquals(0, mGridView.getChildAdapterPosition( in testWrongInsertViewIndexInFastRelayout()
912 final int firstItemPos = mGridView.getChildAdapterPosition(mGridView.getChildAt(0)); in testMoveIntoPrelayoutItems2()
1206 int lastPos = mGridView.getChildAdapterPosition(mGridView.getChildAt( in testMoveItemToTheRight()
1221 if (mGridView.getChildAdapterPosition(v) >= 51) { in testMoveItemToTheRight()
1270 int firstPos = mGridView.getChildAdapterPosition(mGridView.getChildAt(0)); in testMoveItemToTheLeft()
1284 if (mGridView.getChildAdapterPosition(v) <= 1499) { in testMoveItemToTheLeft()
1417 position = mGridView.getChildAdapterPosition(mGridView.getChildAt( in testSetSelectedPosition()
1676 existing_position[0] = mGridView.getChildAdapterPosition( in testScrollInSmoothScrolling()
2312 final int focusToIndex = mGridView.getChildAdapterPosition(view); in testScrollAndInsert()
2366 final int focusToIndex = mGridView.getChildAdapterPosition(view); in testScrollAndInsertBeforeVisibleItem()
[all …]
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/app/
DPlaybackFragmentTest.java262 fragment.getVerticalGridView().getChildAdapterPosition(lastRow)); in alignmentRowToBottom()
DPlaybackSupportFragmentTest.java259 fragment.getVerticalGridView().getChildAdapterPosition(lastRow)); in alignmentRowToBottom()
DRowsFragmentTest.java338 final int lastRowPos = gridView.getChildAdapterPosition(lastRow); in prefetchChildItemsBeforeAttach()
DRowsSupportFragmentTest.java335 final int lastRowPos = gridView.getChildAdapterPosition(lastRow); in prefetchChildItemsBeforeAttach()
/frameworks/base/core/java/com/android/internal/widget/
DRecyclerView.java4227 return getChildAdapterPosition(child); in getChildPosition()
4236 public int getChildAdapterPosition(View child) { in getChildAdapterPosition() method in RecyclerView
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
DGridLayoutManager.java2199 int newAdapterPosition = mBaseGridView.getChildAdapterPosition(view); in onLayoutChildren()
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/
DRecyclerView.java4572 return getChildAdapterPosition(child); in getChildPosition()
4581 public int getChildAdapterPosition(@NonNull View child) { in getChildAdapterPosition() method in RecyclerView
/frameworks/support/v7/recyclerview/api_legacy/
D27.0.0.txt301 method public int getChildAdapterPosition(android.view.View);
D26.1.0.txt301 method public int getChildAdapterPosition(android.view.View);

123