Home
last modified time | relevance | path

Searched refs:oldIndex (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/folder/
DPreviewItemManager.java359 int oldIndex = oldItems.indexOf(newItems.get(newIndex));
360 if (oldIndex >= 0 && newIndex != oldIndex) {
362 updateTransitionParam(p, newItems.get(newIndex), oldIndex, newIndex, numItems);
371 int oldIndex = oldItems.indexOf(item);
372 PreviewItemDrawingParams p = computePreviewItemDrawingParams(oldIndex, numItems, null);
373 updateTransitionParam(p, item, oldIndex, EXIT_INDEX, numItems);
/packages/apps/TV/src/com/android/tv/dvr/ui/
DSortedArrayAdapter.java168 int oldIndex = indexWithId(item); in change() local
169 if (oldIndex != -1) { in change()
170 T old = (T) get(oldIndex); in change()
172 replace(oldIndex, item); in change()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/common/
DInputPointersTests.java333 final int oldIndex = i + shiftAmount; in testShift() local
334 final int x = oldIndex; in testShift()
335 final int y = oldIndex * 2; in testShift()
336 final int pointerId = oldIndex * 3; in testShift()
337 final int time = oldIndex * 4; in testShift()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DPhotoPage.java480 int oldIndex = mCurrentIndex; in onCreate()
488 if (oldIndex == 0 && mCurrentIndex > 0 in onCreate()
495 } else if (oldIndex == 2 && mCurrentIndex == 1) { in onCreate()
499 } else if (oldIndex >= 1 && mCurrentIndex == 0) { in onCreate()
/packages/apps/Launcher3/src/com/android/launcher3/
DCellLayout.java967 final int oldIndex = mDragOutlineCurrent; in visualizeDropLocation() local
968 mDragOutlineAnims[oldIndex].animateOut(); in visualizeDropLocation()
969 mDragOutlineCurrent = (oldIndex + 1) % mDragOutlines.length; in visualizeDropLocation()
1038 final int oldIndex = mDragOutlineCurrent; in clearDragOutlines() local
1039 mDragOutlineAnims[oldIndex].animateOut(); in clearDragOutlines()