Home
last modified time | relevance | path

Searched refs:toPosition (Results 1 – 15 of 15) sorted by relevance

/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/androidTest/java/com/android/car/ui/recyclerview/
DTestDelegatingContentLimitingAdapter.java86 public void moveItem(int fromPosition, int toPosition) { in moveItem() argument
88 if (fromPosition > toPosition) { in moveItem()
90 mItems.add(toPosition, item); in moveItem()
92 mItems.add(toPosition, item); in moveItem()
95 notifyItemMoved(fromPosition, toPosition); in moveItem()
/packages/apps/Settings/src/com/android/settings/localepicker/
DLocaleDragAndDropAdapter.java190 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/
DSpeedDialAdapter.java235 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/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/recyclerview/
DCarUiListItemAdapterAdapterV1.java67 public void onItemMoved(int fromPosition, int toPosition) {
68 CarUiListItemAdapterAdapterV1.super.notifyItemMoved(fromPosition, toPosition);
DRecyclerViewAdapterAdapterV1.java89 public void onItemRangeMoved(int fromPosition, int toPosition, int itemCount) {
92 observer.onItemMoved(fromPosition + i, toPosition + i);
DDelegatingContentLimitingAdapter.java159 public void onItemRangeMoved(int fromPosition, int toPosition, int itemCount) { in onItemRangeMoved() argument
DDefaultScrollBar.java314 public void onItemRangeMoved(int fromPosition, int toPosition, int itemCount) {
/packages/apps/Car/libs/car-ui-lib/referencedesign/sharedlibrary/src/main/java/com/chassis/car/ui/sharedlibrary/recyclerview/
DAdapterWrapper.java68 public void onItemMoved(int fromPosition, int toPosition) {
69 AdapterWrapper.super.notifyItemMoved(fromPosition, toPosition);
DListItemAdapter.java99 public void onItemRangeMoved(int fromPosition, int toPosition, int itemCount) {
102 observer.onItemMoved(fromPosition + i, toPosition + i);
/packages/apps/Car/libs/car-ui-lib/oem-apis/src/main/java/com/android/car/ui/sharedlibrary/oemapis/recyclerview/
DAdapterDataObserverOEMV1.java39 void onItemMoved(int fromPosition, int toPosition); in onItemMoved() argument
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/dirlist/
DTestDocumentsAdapter.java71 public void onItemRangeMoved(int fromPosition, int toPosition, int itemCount) { in TestDocumentsAdapter()
/packages/apps/Dialer/java/com/android/dialer/speeddial/draghelper/
DSpeedDialItemTouchHelperCallback.java152 void onItemMove(int fromPosition, int toPosition); in onItemMove() argument
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DDirectoryAddonsAdapter.java321 public void onItemRangeMoved(int fromPosition, int toPosition, int itemCount) {
/packages/apps/Settings/src/com/android/settings/
DSettingsPreferenceFragment.java106 public void onItemRangeMoved(int fromPosition, int toPosition, int itemCount) {
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/dashboard/
DPermissionUsageV2Fragment.java178 public void onItemRangeMoved(int fromPosition, int toPosition, int itemCount) { in onCreateAdapter()