Home
last modified time | relevance | path

Searched refs:mNewList (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Car/Launcher/libs/appgrid/lib/src/com/android/car/carlauncher/
DLauncherItemDiffCallback.java29 private final List<LauncherItem> mNewList; field in LauncherItemDiffCallback
33 mNewList = newList; in LauncherItemDiffCallback()
43 return mNewList.size(); in getNewListSize()
48 return mOldList.get(oldListPosition).areContentsTheSame(mNewList.get(newListPosition)); in areItemsTheSame()
53 return mOldList.get(oldListPosition).areContentsTheSame(mNewList.get(newListPosition)); in areContentsTheSame()
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/
DSearchResultDiffCallback.java30 private List<? extends SearchResult> mNewList; field in SearchResultDiffCallback
35 mNewList = newList; in SearchResultDiffCallback()
45 return mNewList.size(); in getNewListSize()
50 return mOldList.get(oldItemPosition).equals(mNewList.get(newItemPosition)); in areItemsTheSame()
55 return mOldList.get(oldItemPosition).equals(mNewList.get(newItemPosition)); in areContentsTheSame()
/packages/apps/Car/Notification/src/com/android/car/notification/
DCarNotificationDiff.java46 private final List<NotificationGroup> mNewList; field in CarNotificationDiff
59 mNewList = newList; in CarNotificationDiff()
74 return getContentLimitedListSize(mNewList.size()); in getNewListSize()
80 NotificationGroup newItem = mNewList.get(newItemPosition); in areItemsTheSame()
156 NotificationGroup newItem = mNewList.get(newItemPosition); in areContentsTheSame()
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DAlphabeticalAppsList.java469 private final List<AdapterItem> mNewList; field in AlphabeticalAppsList.MyDiffCallback
473 mNewList = newList; in MyDiffCallback()
483 return mNewList.size(); in getNewListSize()
488 return mOldList.get(oldItemPosition).isSameAs(mNewList.get(newItemPosition)); in areItemsTheSame()
493 return mOldList.get(oldItemPosition).isContentSame(mNewList.get(newItemPosition)); in areContentsTheSame()