Searched refs:currentList (Results 1 – 6 of 6) sorted by relevance
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/widget/picker/ |
D | WidgetsDiffReporterTest.java | 111 ArrayList<WidgetsListBaseEntry> currentList = new ArrayList<>( in listNotChanged_shouldNotInvokeAnyCallbacks() local 115 mWidgetsDiffReporter.process(currentList, currentList, COMPARATOR); in listNotChanged_shouldNotInvokeAnyCallbacks() 120 assertThat(currentList).containsExactly(mHeaderA, mHeaderB, mHeaderC); in listNotChanged_shouldNotInvokeAnyCallbacks() 126 ArrayList<WidgetsListBaseEntry> currentList = new ArrayList<>(); in headersOnly_emptyListToNonEmpty_shouldInvokeNotifyDataSetChanged() local 134 mWidgetsDiffReporter.process(currentList, newList, COMPARATOR); in headersOnly_emptyListToNonEmpty_shouldInvokeNotifyDataSetChanged() 139 assertThat(currentList).containsExactlyElementsIn(newList); in headersOnly_emptyListToNonEmpty_shouldInvokeNotifyDataSetChanged() 145 ArrayList<WidgetsListBaseEntry> currentList = new ArrayList<>( in headersOnly_nonEmptyToEmptyList_shouldInvokeNotifyDataSetChanged() local 151 mWidgetsDiffReporter.process(currentList, newList, COMPARATOR); in headersOnly_nonEmptyToEmptyList_shouldInvokeNotifyDataSetChanged() 156 assertThat(currentList).isEmpty(); in headersOnly_nonEmptyToEmptyList_shouldInvokeNotifyDataSetChanged() 162 ArrayList<WidgetsListBaseEntry> currentList = new ArrayList<>( in headersOnly_itemAddedAndRemovedInTheNewList_shouldInvokeCorrectCallbacks() local [all …]
|
D | WidgetsListAdapterTest.java | 179 List<WidgetsListBaseEntry> currentList = List.of( in setWidgets_hodgepodge_shouldInvokeExpectedDataObserverCallbacks() local 186 mAdapter.setWidgets(currentList); in setWidgets_hodgepodge_shouldInvokeExpectedDataObserverCallbacks()
|
/packages/apps/Car/Settings/src/com/android/car/settings/profiles/ |
D | ProfilesBasePreferenceController.java | 109 private boolean profileListsAreDifferent(List<Preference> currentList, in profileListsAreDifferent() argument 111 if (currentList.size() != newList.size()) { in profileListsAreDifferent() 115 for (int i = 0; i < currentList.size(); i++) { in profileListsAreDifferent() 117 if (preferencesAreDifferent(currentList.get(i), newList.get(i))) { in profileListsAreDifferent()
|
/packages/apps/Car/Media/src/com/android/car/media/browse/ |
D | BrowseAdapter.java | 61 void onListChanged(List<BrowseViewData> previousList, List<BrowseViewData> currentList); in onListChanged() argument 200 @NonNull List<BrowseViewData> currentList) { in onCurrentListChanged() argument 201 super.onCurrentListChanged(previousList, currentList); in onCurrentListChanged() 203 mOnListChangedListener.onListChanged(previousList, currentList); in onCurrentListChanged()
|
D | LimitedBrowseAdapter.java | 50 mBrowseAdapter.setOnListChangedListener(((previousList, currentList) -> { in LimitedBrowseAdapter() argument 51 updateUnderlyingDataChanged(currentList.size(), validateAnchor()); in LimitedBrowseAdapter()
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/storage/ |
D | FavoriteNumberRepository.java | 276 List<Contact> currentList = getValue(); in setValue() local 277 if (currentList != null) { in setValue() 278 for (Contact contact : currentList) { in setValue()
|