/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
D | ConversationPositionTracker.java | 197 final int newPosition; in calculatePosition() local 200 newPosition = listSize - 1; in calculatePosition() 202 newPosition = foundPosition; in calculatePosition() 207 if (isDataLoaded(cursor) && newPosition >= 0){ in calculatePosition() 210 newPosition); in calculatePosition() 211 cursor.moveToPosition(newPosition); in calculatePosition() 213 mConversation.position = newPosition; in calculatePosition() 215 return newPosition; in calculatePosition()
|
/packages/apps/Music/src/com/android/music/ |
D | SortCursor.java | 104 public boolean onMove(int oldPosition, int newPosition) in onMove() argument 106 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()
|
D | TrackBrowserActivity.java | 1179 public boolean onMove(int oldPosition, int newPosition) 1181 if (oldPosition == newPosition) 1184 if (mNowPlaying == null || mCursorIdxs == null || newPosition >= mNowPlaying.length) { 1192 long newid = mNowPlaying[newPosition]; 1195 mCurPos = newPosition;
|
/packages/apps/Calendar/src/com/android/calendar/agenda/ |
D | AgendaWindowAdapter.java | 997 int newPosition = -1; in onQueryComplete() local 1006 newPosition = findEventPositionNearestTime(goToTime, data.id); in onQueryComplete() 1007 if (newPosition >= 0) { in onQueryComplete() 1011 mAgendaListView.setSelectionFromTop(newPosition + OFF_BY_ONE_BUG, in onQueryComplete() 1024 "findEventPositionNearestTime: " + (newPosition + OFF_BY_ONE_BUG)); in onQueryComplete() 1030 if (mSelectedInstanceId == -1 && newPosition != -1 && in onQueryComplete() 1033 mSelectedInstanceId = findInstanceIdFromPosition(newPosition); in onQueryComplete() 1074 } else if (newPosition != -1) { in onQueryComplete() 1075 tempCursor = getCursorByPosition(newPosition); in onQueryComplete() 1076 tempCursorPosition = getCursorPositionByPosition(newPosition); in onQueryComplete() [all …]
|
/packages/apps/Browser/src/com/android/browser/provider/ |
D | BrowserProvider.java | 504 public boolean onMove(int oldPosition, int newPosition) { in onMove() argument 509 if (mHistoryCount == 0 && newPosition == 0) { in onMove() 512 if (newPosition == 0) { in onMove() 515 } else if (newPosition == 1) { in onMove() 519 newPosition--; in onMove() 521 if (mHistoryCount > newPosition) { in onMove() 522 mHistoryCursor.moveToPosition(newPosition); in onMove() 524 mSuggestCursor.moveToPosition(newPosition - mHistoryCount); in onMove()
|
D | BrowserProvider2.java | 2246 public boolean onMove(int oldPosition, int newPosition) { in onMove() argument 2247 return mSource.moveToPosition(newPosition); in onMove()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | ScrollerHelper.java | 89 int newPosition = Utils.clamp(finalPosition + distance, min, max); in startScroll() local 90 if (newPosition != currPosition) { in startScroll() 93 newPosition - currPosition, 0, 0); // dx, dy, duration in startScroll() 95 return finalPosition + distance - newPosition; in startScroll()
|
D | SlotView.java | 192 protected void onScrollPositionChanged(int newPosition) { in onScrollPositionChanged() argument 194 mListener.onScrollPositionChanged(newPosition, limit); in onScrollPositionChanged()
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
D | ModeListView.java | 1539 float newPosition = longestWidth - deltaX; in scroll() local 1541 newPosition = Math.min(newPosition, getMaxMovementBasedOnPosition((int) longestWidth, in scroll() 1543 newPosition = Math.max(newPosition, 0); in scroll() 1544 insertNewPosition(newPosition, mCurrentTime); in scroll() 1548 (int) newPosition)); in scroll()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | ReorderingCursorWrapper.java | 52 public boolean onMove(int oldPosition, int newPosition) { in onMove() argument 53 return mCursor.moveToPosition(mPositionMap[newPosition]); in onMove()
|
/packages/apps/Mms/src/com/android/mms/ |
D | SuggestionsProvider.java | 201 public boolean onMove(int oldPosition, int newPosition) { in onMove() argument 202 return ((CrossProcessCursor)mDatabaseCursor).onMove(oldPosition, newPosition); in onMove()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/ |
D | BinaryDictDecoderUtils.java | 46 public void position(int newPosition); in position() argument
|
/packages/apps/Email/src/com/android/email/provider/ |
D | ContentCache.java | 399 public boolean onMove(int oldPosition, int newPosition) { in onMove() argument
|
/packages/apps/Camera2/src/com/android/camera/widget/ |
D | FilmstripView.java | 2421 boolean newPosition = mScroller.computeScrollOffset(); 2422 if (!newPosition) {
|