Home
last modified time | relevance | path

Searched refs:setViewType (Results 1 – 25 of 45) sorted by relevance

12

/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/
DContextualCardsAdapterTest.java159 .setViewType(VIEW_TYPE_DEFERRED_SETUP) in getContextualCardList()
165 .setViewType(SliceContextualCardRenderer.VIEW_TYPE_FULL_WIDTH) in getContextualCardList()
175 .setViewType(VIEW_TYPE_FULL_WIDTH) in buildContextualCard()
184 .setViewType(ConditionContextualCardRenderer.VIEW_TYPE_FULL_WIDTH) in buildConditionContextualCard()
DContextualCardManagerTest.java585 .setViewType(VIEW_TYPE_FULL_WIDTH) in buildContextualCard()
604 .setViewType(VIEW_TYPE_FULL_WIDTH) in getContextualCardList()
611 .setViewType(VIEW_TYPE_FULL_WIDTH) in getContextualCardList()
617 .setViewType(VIEW_TYPE_FULL_WIDTH) in getContextualCardList()
624 .setViewType(VIEW_TYPE_FULL_WIDTH) in getContextualCardList()
630 .setViewType(VIEW_TYPE_FULL_WIDTH) in getContextualCardList()
642 .setViewType(VIEW_TYPE_FULL_WIDTH) in getDeferredSetupCardList()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/homepage/contextualcards/conditional/
DConditionContextualCardController.java171 expandedCards.set(lastIndex, card.mutate().setViewType( in getExpandedConditionalCards()
184 .setViewType(ConditionFooterContextualCardRenderer.VIEW_TYPE) in getConditionalFooterCard()
199 .setViewType(ConditionHeaderContextualCardRenderer.VIEW_TYPE) in getConditionalHeaderCard()
DRingerVibrateConditionController.java63 .setViewType(ConditionContextualCardRenderer.VIEW_TYPE_HALF_WIDTH) in buildContextualCard()
DRingerMutedConditionController.java61 .setViewType(ConditionContextualCardRenderer.VIEW_TYPE_HALF_WIDTH) in buildContextualCard()
DBackgroundDataConditionController.java76 .setViewType(ConditionContextualCardRenderer.VIEW_TYPE_HALF_WIDTH) in buildContextualCard()
DAirplaneModeConditionController.java82 .setViewType(ConditionContextualCardRenderer.VIEW_TYPE_HALF_WIDTH) in buildContextualCard()
DBatterySaverConditionController.java85 .setViewType(ConditionContextualCardRenderer.VIEW_TYPE_HALF_WIDTH) in buildContextualCard()
DNightDisplayConditionController.java85 .setViewType(ConditionContextualCardRenderer.VIEW_TYPE_HALF_WIDTH) in buildContextualCard()
DCellularDataConditionController.java92 .setViewType(ConditionContextualCardRenderer.VIEW_TYPE_HALF_WIDTH) in buildContextualCard()
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/conditional/
DConditionContextualCardController.java171 expandedCards.set(lastIndex, card.mutate().setViewType( in getExpandedConditionalCards()
184 .setViewType(ConditionFooterContextualCardRenderer.VIEW_TYPE) in getConditionalFooterCard()
199 .setViewType(ConditionHeaderContextualCardRenderer.VIEW_TYPE) in getConditionalHeaderCard()
DRingerVibrateConditionController.java63 .setViewType(ConditionContextualCardRenderer.VIEW_TYPE_HALF_WIDTH) in buildContextualCard()
DRingerMutedConditionController.java61 .setViewType(ConditionContextualCardRenderer.VIEW_TYPE_HALF_WIDTH) in buildContextualCard()
DBackgroundDataConditionController.java76 .setViewType(ConditionContextualCardRenderer.VIEW_TYPE_HALF_WIDTH) in buildContextualCard()
DNightDisplayConditionController.java85 .setViewType(ConditionContextualCardRenderer.VIEW_TYPE_HALF_WIDTH) in buildContextualCard()
DAirplaneModeConditionController.java82 .setViewType(ConditionContextualCardRenderer.VIEW_TYPE_HALF_WIDTH) in buildContextualCard()
DBatterySaverConditionController.java85 .setViewType(ConditionContextualCardRenderer.VIEW_TYPE_HALF_WIDTH) in buildContextualCard()
DCellularDataConditionController.java92 .setViewType(ConditionContextualCardRenderer.VIEW_TYPE_HALF_WIDTH) in buildContextualCard()
DGrayscaleConditionController.java101 .setViewType(ConditionContextualCardRenderer.VIEW_TYPE_HALF_WIDTH) in buildContextualCard()
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/conditional/
DConditionHeaderContextualCardRendererTest.java112 .setViewType(ConditionHeaderContextualCardRenderer.VIEW_TYPE) in generateConditionHeaderContextualCard()
126 .setViewType(ConditionContextualCardRenderer.VIEW_TYPE_HALF_WIDTH) in generateConditionCards()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/homepage/contextualcards/
DContextualCardManager.java298 result.set(index - 1, previous.mutate().setViewType( in getCardsWithSuggestionViewType()
300 result.set(index, current.mutate().setViewType( in getCardsWithSuggestionViewType()
316 result.set(index, card.mutate().setViewType( in getCardsWithDeferredSetupViewType()
DContextualCard.java234 mBuilder.setViewType(mViewType); in ContextualCard()
380 public Builder setViewType(@LayoutRes int viewType) { in setViewType() method in ContextualCard.Builder
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/
DContextualCardManager.java327 result.set(index - 1, previous.mutate().setViewType( in getCardsWithSuggestionViewType()
329 result.set(index, current.mutate().setViewType( in getCardsWithSuggestionViewType()
345 result.set(index, card.mutate().setViewType( in getCardsWithDeferredSetupViewType()
DContextualCard.java240 mBuilder.setViewType(mViewType); in ContextualCard()
389 public Builder setViewType(@LayoutRes int viewType) { in setViewType() method in ContextualCard.Builder
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/dirlist/
DTestItemDetails.java48 public void setViewType(int viewType) { in setViewType() method in TestItemDetails

12