Home
last modified time | relevance | path

Searched refs:mCardType (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/
DContextualCard.java56 private final int mCardType; field in ContextualCard
77 return mCardType; in getCardType()
143 mCardType = builder.mCardType; in ContextualCard()
163 mCardType = c.getInt(c.getColumnIndex(CardDatabaseHelper.CardColumns.TYPE)); in ContextualCard()
164 mBuilder.setCardType(mCardType); in ContextualCard()
183 mViewType = getViewTypeByCardType(mCardType); in ContextualCard()
223 private int mCardType; field in ContextualCard.Builder
245 mCardType = cardType; in setCardType()
DContextualCardLookupTable.java44 final int mCardType; field in ContextualCardLookupTable.ControllerRendererMapping
52 mCardType = cardType; in ControllerRendererMapping()
60 return Comparator.comparingInt((ControllerRendererMapping mapping) -> mapping.mCardType) in compareTo()
104 if (mapping.mCardType == cardType) { in getCardControllerClass()
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/
DControllerRendererPoolTest.java83 mPool.getController(mContext, mapping.mCardType).getClass()).isEqualTo( in getController_hasSupportedCardType_shouldReturnCorrespondingController()
93 mapping -> mPool.getController(mContext, mapping.mCardType)); in getController_hasSupportedCardType_shouldHaveTwoControllersInPool()
/packages/apps/Settings/tests/unit/src/com/android/settings/homepage/contextualcards/
DContextualCardLookupTableTest.java59 assertThat(ContextualCardLookupTable.getCardControllerClass(mapping.mCardType)) in getCardControllerClass_hasSupportedCardType_shouldGetCorrespondingController()