Home
last modified time | relevance | path

Searched refs:oldPosition (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Music/src/com/android/music/
DSortCursor.java104 public boolean onMove(int oldPosition, int newPosition) in onMove() argument
106 if (oldPosition == newPosition) in onMove()
141 if (newPosition < oldPosition || oldPosition == -1) { in onMove()
146 oldPosition = 0; in onMove()
148 if (oldPosition < 0) { in onMove()
149 oldPosition = 0; in onMove()
154 for(int i = oldPosition; i <= newPosition; i++) { in onMove()
DTrackBrowserActivity.java1179 public boolean onMove(int oldPosition, int newPosition)
1181 if (oldPosition == newPosition)
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DFrequentContactsCursorBuilder.java91 int oldPosition = mFrequentContactsCursor.getPosition(); in build() local
99 mFrequentContactsCursor.moveToPosition(oldPosition); in build()
107 oldPosition = mAllContactsCursor.getPosition(); in build()
132 mAllContactsCursor.moveToPosition(oldPosition); in build()
/packages/apps/TV/src/com/android/tv/menu/
DMenuLayoutManager.java383 final int oldPosition = mSelectedPosition; in setSelectedPositionSmooth() local
404 boolean scrollDown = position > oldPosition; in setSelectedPositionSmooth()
409 MenuRow oldRow = mMenuRows.get(oldPosition); in setSelectedPositionSmooth()
410 MenuRowView oldView = mMenuRowViews.get(oldPosition); in setSelectedPositionSmooth()
417 Rect oldLayoutRect = layouts.get(oldPosition); in setSelectedPositionSmooth()
541 nextPosition = findNextVisiblePosition(oldPosition); in setSelectedPositionSmooth()
553 if (view.getVisibility() == View.VISIBLE && i != oldPosition && i != position in setSelectedPositionSmooth()
576 mMenuRowViews.get(oldPosition).onDeselected(); in setSelectedPositionSmooth()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DReorderingCursorWrapper.java52 public boolean onMove(int oldPosition, int newPosition) { in onMove() argument
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DBlobCache.java491 long oldPosition = file.getFilePointer(); in getBlob() local
537 file.seek(oldPosition); in getBlob()
/packages/apps/Email/provider_src/com/android/email/provider/
DContentCache.java399 public boolean onMove(int oldPosition, int newPosition) { in onMove() argument