Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/widget/
DLinearLayoutManager.java1218 int targetPos = anchorPos; in collectInitialPrefetchPositions() local
1220 if (targetPos >= 0 && targetPos < adapterItemCount) { in collectInitialPrefetchPositions()
1221 layoutPrefetchRegistry.addPosition(targetPos, 0); in collectInitialPrefetchPositions()
1225 targetPos += direction; in collectInitialPrefetchPositions()
2006 final int targetPos = getPosition(target); in prepareForDrop() local
2007 final int dropDirection = myPos < targetPos ? LayoutState.ITEM_DIRECTION_TAIL in prepareForDrop()
2011 scrollToPositionWithOffset(targetPos, in prepareForDrop()
2016 scrollToPositionWithOffset(targetPos, in prepareForDrop()
2022 scrollToPositionWithOffset(targetPos, mOrientationHelper.getDecoratedStart(target)); in prepareForDrop()
2024 scrollToPositionWithOffset(targetPos, in prepareForDrop()
/frameworks/base/core/java/android/widget/
DAbsListView.java7586 private void scrollToVisible(int targetPos, int boundPos, int duration) {
7593 if (targetPos < firstPos || targetPos > lastPos) {
7594 Log.w(TAG, "scrollToVisible called with targetPos " + targetPos +
7602 final View targetChild = getChildAt(targetPos - firstPos);