Searched refs:oldIndex (Results 1 – 6 of 6) sorted by relevance
/packages/apps/Launcher3/src/com/android/launcher3/folder/ |
D | PreviewItemManager.java | 388 int oldIndex = oldItems.indexOf(newItems.get(newIndex)); 389 if (oldIndex >= 0 && newIndex != oldIndex) { 391 updateTransitionParam(p, newItems.get(newIndex), oldIndex, newIndex, numItems); 400 int oldIndex = oldItems.indexOf(item); 401 PreviewItemDrawingParams p = computePreviewItemDrawingParams(oldIndex, numItems, null); 402 updateTransitionParam(p, item, oldIndex, EXIT_INDEX, numItems);
|
/packages/apps/TV/src/com/android/tv/dvr/ui/ |
D | SortedArrayAdapter.java | 168 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/ |
D | InputPointersTests.java | 333 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/modules/StatsD/statsd/src/metrics/parsing_utils/ |
D | config_update_utils.cpp | 348 const int oldIndex = oldConditionTrackerIt->second; in updateConditions() local 349 newConditionTrackers.push_back(oldConditionTrackers[oldIndex]); in updateConditions() 627 const int oldIndex = oldMetricProducerIt->second; in updateMetric() local 628 sp<MetricProducer> producer = oldMetricProducers[oldIndex]; in updateMetric()
|
/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 | 1048 final int oldIndex = mDragOutlineCurrent; in visualizeDropLocation() local 1049 mDragOutlineAnims[oldIndex].animateOut(); in visualizeDropLocation() 1050 mDragOutlineCurrent = (oldIndex + 1) % mDragOutlines.length; in visualizeDropLocation() 1101 final int oldIndex = mDragOutlineCurrent; in clearDragOutlines() local 1102 mDragOutlineAnims[oldIndex].animateOut(); in clearDragOutlines()
|