Searched refs:targetPos (Results 1 – 2 of 2) sorted by relevance
1218 int targetPos = anchorPos; in collectInitialPrefetchPositions() local1220 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() local2007 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()
7586 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);