Lines Matching defs:pos
294 for (int pos = startPos; mPendingMoves != 0;
295 pos = mPendingMoves > 0 ? pos + mNumRows: pos - mNumRows) {
296 View v = findViewByPosition(pos);
304 mFocusPosition = pos;
2105 int pos = sTwoInts[1];
2108 int maxScroll = getPrimarySystemScrollPositionOfChildMax(findViewByPosition(pos));
2137 int pos = sTwoInts[1];
2140 int minScroll = getPrimarySystemScrollPosition(findViewByPosition(pos));
2331 int pos = mFocusPosition + mFocusPositionOffset;
2332 if (positionStart <= pos) {
2352 int pos = mFocusPosition + mFocusPositionOffset;
2353 if (positionStart <= pos) {
2354 if (positionStart + itemCount > pos) {
2371 int pos = mFocusPosition + mFocusPositionOffset;
2372 if (fromPosition <= pos && pos < fromPosition + itemCount) {
2375 } else if (fromPosition < pos && toPosition > pos - itemCount) {
2378 } else if (fromPosition > pos && toPosition < pos) {
2491 int pos = getPositionByView(view);
2492 Grid.Location location = mGrid.getLocation(pos);
2557 int pos = getPositionByView(view);
2566 final int row = mGrid.getRowIndex(pos);
2575 mGrid.getItemPositionsInRows(mGrid.getFirstVisibleIndex(), pos)[row];
2592 mGrid.getItemPositionsInRows(pos, mGrid.getLastVisibleIndex())[row];
2811 boolean hasPreviousViewInSameRow(int pos) {
2812 if (mGrid == null || pos == NO_POSITION || mGrid.getFirstVisibleIndex() < 0) {
2818 final int focusedRow = mGrid.getLocation(pos).row;
2823 if (position < pos) {