Home
last modified time | relevance | path

Searched refs:getCardType (Results 1 – 18 of 18) sorted by relevance

/aosp12/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/
H A DContextualCardManager.java144 setupController(card.getCardType()); in loadCardControllers()
205 .filter(card -> conditionalCardTypes.contains(card.getCardType())) in onContextualCardUpdated()
209 .filter(card -> !cardTypes.contains(card.getCardType())) in onContextualCardUpdated()
245 .collect(groupingBy(ContextualCard::getCardType))); in onFinishCardLoading()
255 .collect(groupingBy(ContextualCard::getCardType))); in onFinishCardLoading()
289 .getController(mContext, card.getCardType()); in onWindowFocusChanged()
H A DContextualCardController.java25 int getCardType(); in getCardType() method
H A DContextualCard.java76 public int getCardType() { in getCardType() method in ContextualCard
/aosp12/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/conditional/
H A DConditionContextualCardRenderer.java82 card.getCardType()).onPrimaryClick(card); in initializePrimaryClick()
106 mControllerRendererPool.getController(mContext, card.getCardType()) in initializeActionButton()
H A DConditionFooterContextualCard.java34 public int getCardType() { in getCardType() method in ConditionFooterContextualCard
H A DConditionalContextualCard.java47 public int getCardType() { in getCardType() method in ConditionalContextualCard
H A DConditionHeaderContextualCard.java42 public int getCardType() { in getCardType() method in ConditionHeaderContextualCard
H A DConditionContextualCardController.java72 public int getCardType() { in getCardType() method in ConditionContextualCardController
/aosp12/packages/apps/Settings/tests/unit/src/com/android/settings/homepage/contextualcards/conditional/
H A DConditionFooterContextualCardTest.java40 assertThat(new ConditionFooterContextualCard.Builder().build().getCardType()) in getCardType_shouldAlwaysBeConditionalFooter()
H A DConditionHeaderContextualCardTest.java40 assertThat(new ConditionHeaderContextualCard.Builder().build().getCardType()) in getCardType_shouldAlwaysBeConditionalHeader()
H A DConditionalContextualCardTest.java43 assertThat(new ConditionalContextualCard.Builder().build().getCardType()) in getCardType_shouldAlwaysBeConditional()
/aosp12/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/legacysuggestion/
H A DLegacySuggestionContextualCard.java36 public int getCardType() { in getCardType() method in LegacySuggestionContextualCard
H A DLegacySuggestionContextualCardRenderer.java56 .getController(mContext, card.getCardType()); in bindView()
H A DLegacySuggestionContextualCardController.java75 public int getCardType() { in getCardType() method in LegacySuggestionContextualCardController
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/legacysuggestion/
H A DLegacySuggestionContextualCardTest.java44 assertThat(new LegacySuggestionContextualCard.Builder().build().getCardType()) in getCardType_shouldAlwaysBeSuggestionType()
/aosp12/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/slices/
H A DSliceContextualCardRenderer.java175 mControllerRendererPool.getController(mContext, card.getCardType()).onDismissed(card); in initDismissalActions()
195 card.getCardType()).onDismissed(card); in initDismissalActions()
H A DSliceContextualCardController.java54 public int getCardType() { in getCardType() method in SliceContextualCardController
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/
H A DContextualCardManagerTest.java147 .map(ContextualCardController::getCardType) in constructor_hasSettingsCustomCards_shouldSetUpCustomControllers()
230 assertThat(sortedCards.get(cards.size() - 1).getCardType()) in sortCards_hasConditionalAndSliceCards_conditionalShouldAlwaysBeTheLast()
263 assertThat(mManager.mContextualCards.get(0).getCardType()) in onContextualCardUpdated_emptyMapWithExistingCards_shouldOnlyKeepConditionalCard()
275 assertThat(mManager.mContextualCards.get(0).getCardType()) in onContextualCardUpdated_hasEmptyMap_shouldKeepConditionalHeaderCard()
287 assertThat(mManager.mContextualCards.get(0).getCardType()) in onContextualCardUpdated_hasEmptyMap_shouldKeepConditionalFooterCard()