Home
last modified time | relevance | path

Searched refs:oldItemPosition (Results 1 – 5 of 5) sorted by relevance

/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/
DSearchResultDiffCallback.java49 public boolean areItemsTheSame(int oldItemPosition, int newItemPosition) { in areItemsTheSame() argument
50 return mOldList.get(oldItemPosition).equals(mNewList.get(newItemPosition)); in areItemsTheSame()
54 public boolean areContentsTheSame(int oldItemPosition, int newItemPosition) { in areContentsTheSame() argument
55 return mOldList.get(oldItemPosition).equals(mNewList.get(newItemPosition)); in areContentsTheSame()
/packages/apps/Launcher3/src/com/android/launcher3/widget/picker/
DWidgetsDiffCallback.java51 public boolean areItemsTheSame(int oldItemPosition, int newItemPosition) { in areItemsTheSame() argument
53 WidgetsListBaseEntry oldItem = mOldEntries.get(oldItemPosition); in areItemsTheSame()
60 public boolean areContentsTheSame(int oldItemPosition, int newItemPosition) { in areContentsTheSame() argument
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/option/ui/adapter/
DOptionItemAdapter.kt65 oldItemPosition: Int, in setItems()
68 val oldItem = oldItems[oldItemPosition] in setItems()
74 oldItemPosition: Int, in setItems()
77 val oldItem = oldItems[oldItemPosition] in setItems()
/packages/apps/Car/Notification/src/com/android/car/notification/
DCarNotificationDiff.java78 public boolean areItemsTheSame(int oldItemPosition, int newItemPosition) { in areItemsTheSame() argument
79 NotificationGroup oldItem = mOldList.get(oldItemPosition); in areItemsTheSame()
154 public boolean areContentsTheSame(int oldItemPosition, int newItemPosition) { in areContentsTheSame() argument
155 NotificationGroup oldItem = mOldList.get(oldItemPosition); in areContentsTheSame()
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DAlphabeticalAppsList.java487 public boolean areItemsTheSame(int oldItemPosition, int newItemPosition) { in areItemsTheSame() argument
488 return mOldList.get(oldItemPosition).isSameAs(mNewList.get(newItemPosition)); in areItemsTheSame()
492 public boolean areContentsTheSame(int oldItemPosition, int newItemPosition) { in areContentsTheSame() argument
493 return mOldList.get(oldItemPosition).isContentSame(mNewList.get(newItemPosition)); in areContentsTheSame()