/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/conditional/ |
D | ConditionContextualCardController.java | 88 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()
|
D | ConditionalContextualCard.java | 29 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()
|
D | ConditionContextualCardRenderer.java | 63 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()
|
D | RingerVibrateConditionController.java | 51 return new ConditionalContextualCard.Builder() in buildContextualCard()
|
D | RingerMutedConditionController.java | 50 return new ConditionalContextualCard.Builder() in buildContextualCard()
|
D | BackgroundDataConditionController.java | 67 return new ConditionalContextualCard.Builder() in buildContextualCard()
|
D | NightDisplayConditionController.java | 74 return new ConditionalContextualCard.Builder() in buildContextualCard()
|
D | BatterySaverConditionController.java | 76 return new ConditionalContextualCard.Builder() in buildContextualCard()
|
D | AirplaneModeConditionController.java | 75 return new ConditionalContextualCard.Builder() in buildContextualCard()
|
D | GrayscaleConditionController.java | 91 return new ConditionalContextualCard.Builder() in buildContextualCard()
|
D | DndConditionCardController.java | 94 return new ConditionalContextualCard.Builder() in buildContextualCard()
|
D | HotspotConditionController.java | 93 return new ConditionalContextualCard.Builder() in buildContextualCard()
|
D | CellularDataConditionController.java | 93 return new ConditionalContextualCard.Builder() in buildContextualCard()
|
D | WorkModeConditionController.java | 87 return new ConditionalContextualCard.Builder() in buildContextualCard()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/homepage/contextualcards/conditional/ |
D | ConditionalContextualCardTest.java | 19 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/ |
D | ConditionContextualCardControllerTest.java | 97 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()
|
D | AbnormalRingerConditionControllerBaseTest.java | 86 return new ConditionalContextualCard.Builder().build(); in buildContextualCard()
|
D | ConditionManagerTest.java | 58 new ConditionalContextualCard.Builder() in setUp()
|
D | ConditionContextualCardRendererTest.java | 107 return new ConditionalContextualCard.Builder() in buildConditionContextualCard()
|
D | ConditionHeaderContextualCardRendererTest.java | 119 conditionCards.add(new ConditionalContextualCard.Builder() in generateConditionCards()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/ |
D | ContextualCardManagerTest.java | 55 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()
|
D | ContextualCardsAdapterTest.java | 33 import com.android.settings.homepage.contextualcards.conditional.ConditionalContextualCard; 176 return new ConditionalContextualCard.Builder() in buildConditionContextualCard()
|