Home
last modified time | relevance | path

Searched refs:cardsToUpdate (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/
DContextualCardsAdapterTest.java121 final Map<Integer, List<ContextualCard>> cardsToUpdate = new ArrayMap<>(); in onContextualCardUpdated_emptyList_shouldClearCardList() local
123 cardsToUpdate.put(ContextualCard.CardType.DEFAULT, newCardList); in onContextualCardUpdated_emptyList_shouldClearCardList()
125 mAdapter.onContextualCardUpdated(cardsToUpdate); in onContextualCardUpdated_emptyList_shouldClearCardList()
133 final Map<Integer, List<ContextualCard>> cardsToUpdate = new ArrayMap<>(); in onContextualCardUpdated_newCardList_shouldUpdateCardList() local
136 cardsToUpdate.put(ContextualCard.CardType.DEFAULT, newCardList); in onContextualCardUpdated_newCardList_shouldUpdateCardList()
138 mAdapter.onContextualCardUpdated(cardsToUpdate); in onContextualCardUpdated_newCardList_shouldUpdateCardList()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/homepage/contextualcards/
DContextualCardManager.java196 final Map<Integer, List<ContextualCard>> cardsToUpdate = new ArrayMap<>(); in onContextualCardUpdated() local
197 cardsToUpdate.put(ContextualCard.CardType.DEFAULT, mContextualCards); in onContextualCardUpdated()
198 mListener.onContextualCardUpdated(cardsToUpdate); in onContextualCardUpdated()
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/
DContextualCardManager.java199 final Map<Integer, List<ContextualCard>> cardsToUpdate = new ArrayMap<>(); in onContextualCardUpdated() local
200 cardsToUpdate.put(ContextualCard.CardType.DEFAULT, mContextualCards); in onContextualCardUpdated()
201 mListener.onContextualCardUpdated(cardsToUpdate); in onContextualCardUpdated()