/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 | 191 protected void onScrollPositionChanged(int newPosition) { in onScrollPositionChanged() argument 193 mListener.onScrollPositionChanged(newPosition, limit); in onScrollPositionChanged()
|
/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/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/Contacts/src/com/android/contacts/calllog/ |
D | ExtendedCursor.java | 125 public boolean onMove(int oldPosition, int newPosition) { in onMove() argument 126 return mCursor.moveToPosition(newPosition); in onMove()
|
/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 | 2194 public boolean onMove(int oldPosition, int newPosition) { in onMove() argument 2195 return mSource.moveToPosition(newPosition); in onMove()
|
/packages/apps/Calendar/src/com/android/calendar/agenda/ |
D | AgendaWindowAdapter.java | 959 int newPosition = -1; in onQueryComplete() local 968 newPosition = findEventPositionNearestTime(goToTime, data.id); in onQueryComplete() 969 if (newPosition >= 0) { in onQueryComplete() 973 mAgendaListView.setSelectionFromTop(newPosition + OFF_BY_ONE_BUG, in onQueryComplete() 983 "findEventPositionNearestTime: " + (newPosition + OFF_BY_ONE_BUG)); in onQueryComplete() 989 if (mSelectedInstanceId == -1 && newPosition != -1 && in onQueryComplete() 992 mSelectedInstanceId = findInstanceIdFromPosition(newPosition); in onQueryComplete() 1033 } else if (newPosition != -1) { in onQueryComplete() 1034 tempCursor = getCursorByPosition(newPosition); in onQueryComplete() 1035 tempCursorPosition = getCursorPositionByPosition(newPosition); in onQueryComplete() [all …]
|
/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/apps/Email/src/com/android/email/provider/ |
D | ContentCache.java | 398 public boolean onMove(int oldPosition, int newPosition) { in onMove() argument
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/ |
D | BinaryDictInputOutput.java | 64 public void position(int newPosition); in position() argument
|
/packages/apps/VideoEditor/src/com/android/videoeditor/service/ |
D | ApiService.java | 4628 final int newPosition = mediaItems.indexOf(movedMediaItem); in applyThemeAfterMove() local 4629 if (newPosition > originalItemPosition) { // Moved forward in applyThemeAfterMove()
|