Searched refs:fromPosition (Results 1 – 9 of 9) sorted by relevance
/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() 192 final LocaleStore.LocaleInfo saved = mFeedItemList.get(fromPosition); in onItemMove() 193 mFeedItemList.remove(fromPosition); in onItemMove() 199 "Negative position in onItemMove %d -> %d", fromPosition, toPosition)); in onItemMove() 201 notifyItemChanged(fromPosition); // to update the numbers in onItemMove() 203 notifyItemMoved(fromPosition, toPosition); in onItemMove()
|
/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() 192 final LocaleStore.LocaleInfo saved = mFeedItemList.get(fromPosition); in onItemMove() 193 mFeedItemList.remove(fromPosition); in onItemMove() 199 "Negative position in onItemMove %d -> %d", fromPosition, toPosition)); in onItemMove() 201 notifyItemChanged(fromPosition); // to update the numbers 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) { 242 speedDialUiItems.add(toPosition - 2, speedDialUiItems.remove(fromPosition - 2)); 243 notifyItemMoved(fromPosition, toPosition); 307 int fromPosition = fromViewHolder.getAdapterPosition(); 309 SpeedDialUiItem removedItem = speedDialUiItems.remove(fromPosition - 2);
|
/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/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/ |
D | BinaryDictEncoderUtils.java | 166 static int writeUIntToBuffer(final byte[] buffer, final int fromPosition, final int value, in writeUIntToBuffer() argument 168 int position = fromPosition; in writeUIntToBuffer()
|
/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) {
|