Searched refs:toPosition (Results 1 – 8 of 8) sorted by relevance
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/localepicker/ |
D | LocaleDragAndDropAdapter.java | 190 void onItemMove(int fromPosition, int toPosition) { in onItemMove() argument 191 if (fromPosition >= 0 && toPosition >= 0) { in onItemMove() 194 mFeedItemList.add(toPosition, saved); in onItemMove() 199 "Negative position in onItemMove %d -> %d", fromPosition, toPosition)); in onItemMove() 202 notifyItemChanged(toPosition); in onItemMove() 203 notifyItemMoved(fromPosition, toPosition); in onItemMove()
|
/packages/apps/Settings/src/com/android/settings/localepicker/ |
D | LocaleDragAndDropAdapter.java | 190 void onItemMove(int fromPosition, int toPosition) { in onItemMove() argument 191 if (fromPosition >= 0 && toPosition >= 0) { in onItemMove() 194 mFeedItemList.add(toPosition, saved); in onItemMove() 199 "Negative position in onItemMove %d -> %d", fromPosition, toPosition)); in onItemMove() 202 notifyItemChanged(toPosition); in onItemMove() 203 notifyItemMoved(fromPosition, toPosition); in onItemMove()
|
/packages/apps/Dialer/java/com/android/dialer/speeddial/ |
D | SpeedDialAdapter.java | 235 public void onItemMove(int fromPosition, int toPosition) { 236 if (toPosition == 0) { 242 speedDialUiItems.add(toPosition - 2, speedDialUiItems.remove(fromPosition - 2)); 243 notifyItemMoved(fromPosition, toPosition);
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/dirlist/ |
D | TestDocumentsAdapter.java | 71 public void onItemRangeMoved(int fromPosition, int toPosition, int itemCount) { in TestDocumentsAdapter()
|
/packages/apps/Dialer/java/com/android/dialer/speeddial/draghelper/ |
D | SpeedDialItemTouchHelperCallback.java | 152 void onItemMove(int fromPosition, int toPosition); in onItemMove() argument
|
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/ |
D | DirectoryAddonsAdapter.java | 319 public void onItemRangeMoved(int fromPosition, int toPosition, int itemCount) {
|
/packages/apps/Settings/src/com/android/settings/ |
D | SettingsPreferenceFragment.java | 111 public void onItemRangeMoved(int fromPosition, int toPosition, int itemCount) {
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/ |
D | SettingsPreferenceFragment.java | 111 public void onItemRangeMoved(int fromPosition, int toPosition, int itemCount) {
|