Home
last modified time | relevance | path

Searched refs:cardType (Results 1 – 19 of 19) sorted by relevance

/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/
DContextualCardLookupTable.java50 ControllerRendererMapping(@CardType int cardType, @LayoutRes int viewType, in ControllerRendererMapping() argument
53 mCardType = cardType; in ControllerRendererMapping()
105 @CardType int cardType) { in getCardControllerClass()
107 if (mapping.mCardType == cardType) { in getCardControllerClass()
DContextualCardManager.java116 for (@ContextualCard.CardType int cardType : SETTINGS_CARDS) { in ContextualCardManager()
117 setupController(cardType); in ContextualCardManager()
138 void setupController(@ContextualCard.CardType int cardType) { in setupController() argument
140 cardType); in setupController()
142 Log.w(TAG, "Cannot find ContextualCardController for type " + cardType); in setupController()
DContextualCard.java268 private int getViewTypeByCardType(int cardType) { in getViewTypeByCardType() argument
269 if (cardType == CardType.SLICE) { in getViewTypeByCardType()
304 public Builder setCardType(int cardType) { in setCardType() argument
305 mCardType = cardType; in setCardType()
DControllerRendererPool.java55 @ContextualCard.CardType int cardType) { in getController() argument
57 ContextualCardLookupTable.getCardControllerClass(cardType); in getController()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/homepage/contextualcards/
DContextualCardLookupTable.java50 ControllerRendererMapping(@CardType int cardType, @LayoutRes int viewType, in ControllerRendererMapping() argument
53 mCardType = cardType; in ControllerRendererMapping()
105 @CardType int cardType) { in getCardControllerClass()
107 if (mapping.mCardType == cardType) { in getCardControllerClass()
DContextualCardManager.java113 for (@ContextualCard.CardType int cardType : SETTINGS_CARDS) { in ContextualCardManager()
114 setupController(cardType); in ContextualCardManager()
135 void setupController(@ContextualCard.CardType int cardType) { in setupController() argument
137 cardType); in setupController()
139 Log.w(TAG, "Cannot find ContextualCardController for type " + cardType); in setupController()
DContextualCard.java260 private int getViewTypeByCardType(int cardType) { in getViewTypeByCardType() argument
261 if (cardType == CardType.SLICE) { in getViewTypeByCardType()
295 public Builder setCardType(int cardType) { in setCardType() argument
296 mCardType = cardType; in setCardType()
DControllerRendererPool.java55 @ContextualCard.CardType int cardType) { in getController() argument
57 ContextualCardLookupTable.getCardControllerClass(cardType); in getController()
/packages/apps/Contacts/src/com/android/contacts/logging/
DLogger.java85 public static void logQuickContactEvent(String referrer, int contactType, int cardType, in logQuickContactEvent() argument
92 event.cardType = cardType; in logQuickContactEvent()
DQuickContactEvent.java32 public int cardType; field in QuickContactEvent
84 .add("cardType", cardType) in toString()
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/conditional/
DConditionContextualCardControllerTest.java109 for (@CardType int cardType : conditionalCards.keySet()) { in getConditionalCards_hasEmptyConditionCards_shouldReturnThreeEmptyList()
110 assertThat(conditionalCards.get(cardType)).isEmpty(); in getConditionalCards_hasEmptyConditionCards_shouldReturnThreeEmptyList()
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/conditional/
DConditionFooterContextualCard.java41 public Builder setCardType(int cardType) { in setCardType() argument
DConditionalContextualCard.java85 public Builder setCardType(int cardType) { in setCardType() argument
DConditionHeaderContextualCard.java79 public Builder setCardType(int cardType) { in setCardType() argument
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/homepage/contextualcards/conditional/
DConditionFooterContextualCard.java41 public Builder setCardType(int cardType) { in setCardType() argument
DConditionalContextualCard.java85 public Builder setCardType(int cardType) { in setCardType() argument
DConditionHeaderContextualCard.java79 public Builder setCardType(int cardType) { in setCardType() argument
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/legacysuggestion/
DLegacySuggestionContextualCard.java51 public Builder setCardType(int cardType) { in setCardType() argument
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/homepage/contextualcards/legacysuggestion/
DLegacySuggestionContextualCard.java51 public Builder setCardType(int cardType) { in setCardType() argument