Searched refs:newPosition (Results 1 – 8 of 8) sorted by relevance
127 public boolean onMove(int oldPosition, int newPosition) { in onMove() argument128 if (oldPosition == newPosition) in onMove()139 int cache_entry = newPosition % ROWCACHESIZE; in onMove()141 if (mRowNumCache[cache_entry] == newPosition) { in onMove()165 if (newPosition < oldPosition || oldPosition == -1) { in onMove()180 for (int i = oldPosition; i <= newPosition; i++) { in onMove()193 if (i == newPosition) { in onMove()201 for (int i = oldPosition; i <= newPosition; i++) { in onMove()215 if (i == newPosition) { in onMove()225 mRowNumCache[cache_entry] = newPosition; in onMove()
104 public boolean onMove(int oldPosition, int newPosition) in onMove() argument106 if (oldPosition == newPosition) in onMove()117 int cache_entry = newPosition % ROWCACHESIZE; in onMove()119 if (mRowNumCache[cache_entry] == newPosition) { in onMove()141 if (newPosition < oldPosition || oldPosition == -1) { in onMove()154 for(int i = oldPosition; i <= newPosition; i++) { in onMove()167 if (i == newPosition) break; in onMove()173 mRowNumCache[cache_entry] = newPosition; in onMove()
1178 public boolean onMove(int oldPosition, int newPosition)1180 if (oldPosition == newPosition)1183 if (mNowPlaying == null || mCursorIdxs == null || newPosition >= mNowPlaying.length) {1191 long newid = mNowPlaying[newPosition];1194 mCurPos = newPosition;
52 public boolean onMove(int oldPosition, int newPosition) { in onMove() argument53 return mCursor.moveToPosition(mPositionMap[newPosition]); in onMove()
444 public boolean onMove(int oldPosition, int newPosition) { in onMove() argument449 if (mHistoryCount == 0 && newPosition == 0) { in onMove()452 if (newPosition == 0) { in onMove()455 } else if (newPosition == 1) { in onMove()459 newPosition--; in onMove()461 if (mHistoryCount > newPosition) { in onMove()462 mHistoryCursor.moveToPosition(newPosition); in onMove()464 mSuggestCursor.moveToPosition(newPosition - mHistoryCount); in onMove()
214 public boolean onMove(int oldPosition, int newPosition) { in onMove() argument215 return ((CrossProcessCursor)mDatabaseCursor).onMove(oldPosition, newPosition); in onMove()
691 int newPosition = findDayPositionNearestTime(goToTime); in onQueryComplete() local692 if (newPosition >= 0) { in onQueryComplete()693 mAgendaListView.setSelection(newPosition + OFF_BY_ONE_BUG); in onQueryComplete()697 "findDayPositionNearestTime: " + (newPosition + OFF_BY_ONE_BUG)); in onQueryComplete()
1154 public boolean onMove(int oldPosition, int newPosition) { in onMove() argument1155 return mCursor.onMove(oldPosition, newPosition); in onMove()