Searched refs:firstPosition (Results 1 – 5 of 5) sorted by relevance
900 final int firstPosition = target.getFirstVisiblePosition(); in canTargetScrollVertically() local901 final int lastPosition = firstPosition + childCount; in canTargetScrollVertically()913 if (firstPosition <= 0) { in canTargetScrollVertically()
2084 final int firstPosition = mFirstPosition; in computeVerticalScrollOffset() local2086 if (firstPosition >= 0 && childCount > 0) { in computeVerticalScrollOffset()2092 return Math.max(firstPosition * 100 - (top * 100) / height + in computeVerticalScrollOffset()2098 if (firstPosition == 0) { in computeVerticalScrollOffset()2100 } else if (firstPosition + childCount == count) { in computeVerticalScrollOffset()2103 index = firstPosition + childCount / 2; in computeVerticalScrollOffset()2105 return (int) (firstPosition + childCount * (index / (float) count)); in computeVerticalScrollOffset()4603 final int firstPosition = mFirstPosition; in addTouchables() local4612 if (adapter.isEnabled(firstPosition + i)) { in addTouchables()5149 final int firstPosition = mFirstPosition;[all …]
1779 final int firstPosition = mFirstPosition; in layoutChildren() local1783 recycleBin.addScrapView(getChildAt(i), firstPosition+i); in layoutChildren()1786 recycleBin.fillActiveViews(childCount, firstPosition); in layoutChildren()3052 final int firstPosition = mFirstPosition; in lookForSelectablePositionOnScreen() local3056 firstPosition; in lookForSelectablePositionOnScreen()3060 if (startPos < firstPosition) { in lookForSelectablePositionOnScreen()3061 startPos = firstPosition; in lookForSelectablePositionOnScreen()3068 && getChildAt(pos - firstPosition).getVisibility() == View.VISIBLE) { in lookForSelectablePositionOnScreen()3073 int last = firstPosition + getChildCount() - 1; in lookForSelectablePositionOnScreen()3076 firstPosition + getChildCount() - 1; in lookForSelectablePositionOnScreen()[all …]
507 int firstPosition = mFirstPosition; in detachOffScreenChildren() local521 mRecycler.put(firstPosition + n, child); in detachOffScreenChildren()537 mRecycler.put(firstPosition + n, child); in detachOffScreenChildren()
1278 final int firstPosition = mFirstPosition; in layoutChildren() local1283 recycleBin.addScrapView(getChildAt(i), firstPosition+i); in layoutChildren()1286 recycleBin.fillActiveViews(childCount, firstPosition); in layoutChildren()