Searched refs:oldIndex (Results 1 – 7 of 7) sorted by relevance
/packages/apps/Launcher3/src/com/android/launcher3/folder/ |
D | PreviewItemManager.java | 317 int oldIndex = oldParams.indexOf(newParams.get(newIndex)); 318 if (oldIndex >= 0 && newIndex != oldIndex) { 320 updateTransitionParam(p, newParams.get(newIndex), oldIndex, newIndex); 329 int oldIndex = oldParams.indexOf(item); 330 PreviewItemDrawingParams p = computePreviewItemDrawingParams(oldIndex, numItems, null); 331 updateTransitionParam(p, item, oldIndex, mIcon.mPreviewLayoutRule.getExitIndex());
|
/packages/services/Car/tests/InstrumentClusterRendererSample/src/com/android/car/cluster/sample/ |
D | CardPanel.java | 91 int oldIndex = mOrderedChildren.indexOf(child); in moveChildBehindTheTop() local 92 if (oldIndex == -1) { in moveChildBehindTheTop() 97 if (newIndex == oldIndex) { in moveChildBehindTheTop() 104 mOrderedChildren.set(oldIndex, tmpChild); in moveChildBehindTheTop()
|
/packages/apps/TV/src/com/android/tv/dvr/ui/ |
D | SortedArrayAdapter.java | 172 int oldIndex = indexWithId(item); in change() local 173 if (oldIndex != -1) { in change() 174 T old = (T) get(oldIndex); in change() 176 replace(oldIndex, item); in change()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/common/ |
D | InputPointersTests.java | 313 final int oldIndex = i + shiftAmount; in testShift() local 314 final int x = oldIndex; in testShift() 315 final int y = oldIndex * 2; in testShift() 316 final int pointerId = oldIndex * 3; in testShift() 317 final int time = oldIndex * 4; in testShift()
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | PhotoPage.java | 480 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/ |
D | CellLayout.java | 1004 final int oldIndex = mDragOutlineCurrent; in visualizeDropLocation() local 1005 mDragOutlineAnims[oldIndex].animateOut(); in visualizeDropLocation() 1006 mDragOutlineCurrent = (oldIndex + 1) % mDragOutlines.length; in visualizeDropLocation() 1074 final int oldIndex = mDragOutlineCurrent; in clearDragOutlines() local 1075 mDragOutlineAnims[oldIndex].animateOut(); in clearDragOutlines()
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | CellLayout.java | 1263 final int oldIndex = mDragOutlineCurrent; in visualizeDropLocation() local 1264 mDragOutlineAnims[oldIndex].animateOut(); in visualizeDropLocation() 1265 mDragOutlineCurrent = (oldIndex + 1) % mDragOutlines.length; in visualizeDropLocation() 1278 final int oldIndex = mDragOutlineCurrent; in clearDragOutlines() local 1279 mDragOutlineAnims[oldIndex].animateOut(); in clearDragOutlines()
|