Home
last modified time | relevance | path

Searched refs:ConditionalContextualCard (Results 1 – 22 of 22) sorted by relevance

/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/conditional/
DConditionContextualCardController.java88 final ConditionalContextualCard card = (ConditionalContextualCard) contextualCard; in onPrimaryClick()
94 final ConditionalContextualCard card = (ConditionalContextualCard) contextualCard; in onActionClick()
169 final ConditionalContextualCard card = in getExpandedConditionalCards()
170 (ConditionalContextualCard) expandedCards.get(lastIndex); in getExpandedConditionalCards()
DConditionalContextualCard.java29 public class ConditionalContextualCard extends ContextualCard { class
38 private ConditionalContextualCard(Builder builder) { in ConditionalContextualCard() method in ConditionalContextualCard
90 public ConditionalContextualCard build() { in build()
92 return new ConditionalContextualCard(this); in build()
DConditionContextualCardRenderer.java63 final ConditionalContextualCard card = (ConditionalContextualCard) contextualCard; in bindView()
74 private void initializePrimaryClick(ConditionalCardHolder view, ConditionalContextualCard card, in initializePrimaryClick()
86 private void initializeView(ConditionalCardHolder view, ConditionalContextualCard card) { in initializeView()
92 private void initializeActionButton(ConditionalCardHolder view, ConditionalContextualCard card, in initializeActionButton()
DRingerVibrateConditionController.java51 return new ConditionalContextualCard.Builder() in buildContextualCard()
DRingerMutedConditionController.java50 return new ConditionalContextualCard.Builder() in buildContextualCard()
DBackgroundDataConditionController.java67 return new ConditionalContextualCard.Builder() in buildContextualCard()
DNightDisplayConditionController.java74 return new ConditionalContextualCard.Builder() in buildContextualCard()
DBatterySaverConditionController.java76 return new ConditionalContextualCard.Builder() in buildContextualCard()
DAirplaneModeConditionController.java75 return new ConditionalContextualCard.Builder() in buildContextualCard()
DGrayscaleConditionController.java91 return new ConditionalContextualCard.Builder() in buildContextualCard()
DDndConditionCardController.java94 return new ConditionalContextualCard.Builder() in buildContextualCard()
DHotspotConditionController.java93 return new ConditionalContextualCard.Builder() in buildContextualCard()
DCellularDataConditionController.java93 return new ConditionalContextualCard.Builder() in buildContextualCard()
DWorkModeConditionController.java87 return new ConditionalContextualCard.Builder() in buildContextualCard()
/packages/apps/Settings/tests/unit/src/com/android/settings/homepage/contextualcards/conditional/
DConditionalContextualCardTest.java19 import static com.android.settings.homepage.contextualcards.conditional.ConditionalContextualCard
36 new ConditionalContextualCard.Builder() in newInstance_changeCardType_shouldCrash()
43 assertThat(new ConditionalContextualCard.Builder().build().getCardType()) in getCardType_shouldAlwaysBeConditional()
49 assertThat(new ConditionalContextualCard.Builder().build().getRankingScore()) in getRankingScore_shouldAlwaysBeUnsupportedScore()
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/conditional/
DConditionContextualCardControllerTest.java97 final ContextualCard fakeConditionalCard = new ConditionalContextualCard.Builder().build(); in onConditionsChanged_listenerIsSet_shouldUpdateData()
110 final ContextualCard fakeConditionalCard = new ConditionalContextualCard.Builder().build(); in onConditionsChanged_listenerNotSet_shouldNotUpdateData()
212 conditionCards.add(new ConditionalContextualCard.Builder() in generateConditionCards()
DAbnormalRingerConditionControllerBaseTest.java86 return new ConditionalContextualCard.Builder().build(); in buildContextualCard()
DConditionManagerTest.java58 new ConditionalContextualCard.Builder() in setUp()
DConditionContextualCardRendererTest.java107 return new ConditionalContextualCard.Builder() in buildConditionContextualCard()
DConditionHeaderContextualCardRendererTest.java119 conditionCards.add(new ConditionalContextualCard.Builder() in generateConditionCards()
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/
DContextualCardManagerTest.java55 import com.android.settings.homepage.contextualcards.conditional.ConditionalContextualCard;
225 cards.add(new ConditionalContextualCard.Builder().build()); in sortCards_hasConditionalAndSliceCards_conditionalShouldAlwaysBeTheLast()
254 mManager.mContextualCards.add(new ConditionalContextualCard.Builder().build()); in onContextualCardUpdated_emptyMapWithExistingCards_shouldOnlyKeepConditionalCard()
425 mManager.mContextualCards.add(new ConditionalContextualCard.Builder().build()); in onWindowFocusChanged_hasFocusAndHasConditionals_startMonitoringConditionCard()
444 mManager.mContextualCards.add(new ConditionalContextualCard.Builder().build()); in onWindowFocusChanged_loseFocusAndHasConditionals_stopMonitoringConditionCard()
DContextualCardsAdapterTest.java33 import com.android.settings.homepage.contextualcards.conditional.ConditionalContextualCard;
176 return new ConditionalContextualCard.Builder() in buildConditionContextualCard()