Lines Matching defs:position
25 * position. This class takes advantage of similar functionality that exists
51 * Brings the specified position to view by optionally performing a jump-scroll maneuver:
52 * first it jumps to some position near the one requested and then does a smooth
53 * scroll to the requested position. This creates an impression of full smooth
57 public void requestPositionToScreen(int position, boolean smoothScroll) {
58 mRequestedScrollPosition = position;
70 final int position = mRequestedScrollPosition;
75 if (position >= firstPosition && position <= lastPosition) {
81 setSelectionFromTop(position, offset);
83 // Since we have changed the scrolling position, we need to redo child layout
89 // We will first position the list a couple of screens before or after
93 if (position < firstPosition) {
94 preliminaryPosition = position + twoScreens;
103 preliminaryPosition = position - twoScreens;
114 smoothScrollToPositionFromTop(position, offset);