Home
last modified time | relevance | path

Searched refs:newItemPosition (Results 1 – 2 of 2) 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/Car/Notification/src/com/android/car/notification/
DCarNotificationDiff.java66 public boolean areItemsTheSame(int oldItemPosition, int newItemPosition) { in areItemsTheSame() argument
68 NotificationGroup newItem = mNewList.get(newItemPosition); in areItemsTheSame()
139 public boolean areContentsTheSame(int oldItemPosition, int newItemPosition) { in areContentsTheSame() argument
141 NotificationGroup newItem = mNewList.get(newItemPosition); in areContentsTheSame()