Home
last modified time | relevance | path

Searched defs:card (Results 1 – 25 of 56) sorted by relevance

123

/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/homepage/contextualcards/
DContextualCardController.java27 void onPrimaryClick(ContextualCard card); in onPrimaryClick()
29 void onActionClick(ContextualCard card); in onActionClick()
31 void onDismissed(ContextualCard card); in onDismissed()
DContextualCardFeatureProvider.java28 void logContextualCardDismiss(ContextualCard card); in logContextualCardDismiss()
35 void logContextualCardClick(ContextualCard card, int sliceRow, int tapTarget, int uiPosition); in logContextualCardClick()
DEligibleCardChecker.java46 EligibleCardChecker(Context context, ContextualCard card) { in EligibleCardChecker()
82 boolean isCardEligibleToDisplay(ContextualCard card) { in isCardEligibleToDisplay()
DContextualCardLoader.java114 final ContextualCard card = new ContextualCard(cursor); in loadInBackground() local
199 final ContextualCard card = cardFuture.get(ELIGIBILITY_CHECKER_TIMEOUT_MS, in filterEligibleCards() local
217 private boolean isLargeCard(ContextualCard card) { in isLargeCard()
DContextualCardsAdapter.java72 final ContextualCard card = mContextualCards.get(position); in getItemViewType() local
86 final ContextualCard card = mContextualCards.get(position); in onBindViewHolder() local
146 final ContextualCard card = mContextualCards.get(position).mutate() in onSwiped() local
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/
DContextualCardController.java27 void onPrimaryClick(ContextualCard card); in onPrimaryClick()
29 void onActionClick(ContextualCard card); in onActionClick()
31 void onDismissed(ContextualCard card); in onDismissed()
DContextualCardLoader.java114 final ContextualCard card = new ContextualCard(cursor); in loadInBackground() local
172 final ContextualCard card = cardFuture.get(ELIGIBILITY_CHECKER_TIMEOUT_MS, in filterEligibleCards() local
184 private boolean isLargeCard(ContextualCard card) { in isLargeCard()
DContextualCardsAdapter.java72 final ContextualCard card = mContextualCards.get(position); in getItemViewType() local
86 final ContextualCard card = mContextualCards.get(position); in onBindViewHolder() local
146 final ContextualCard card = mContextualCards.get(position).mutate() in onSwiped() local
DEligibleCardChecker.java51 EligibleCardChecker(Context context, ContextualCard card) { in EligibleCardChecker()
87 boolean isCardEligibleToDisplay(ContextualCard card) { in isCardEligibleToDisplay()
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/slices/
DSliceContextualCardController.java59 public void onPrimaryClick(ContextualCard card) { in onPrimaryClick()
64 public void onActionClick(ContextualCard card) { in onActionClick()
69 public void onDismissed(ContextualCard card) { in onDismissed()
90 void showFeedbackDialog(ContextualCard card) { in showFeedbackDialog()
108 private String getSimpleCardName(ContextualCard card) { in getSimpleCardName()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/homepage/contextualcards/slices/
DSliceContextualCardController.java59 public void onPrimaryClick(ContextualCard card) { in onPrimaryClick()
64 public void onActionClick(ContextualCard card) { in onActionClick()
69 public void onDismissed(ContextualCard card) { in onDismissed()
90 void showFeedbackDialog(ContextualCard card) { in showFeedbackDialog()
108 private String getSimpleCardName(ContextualCard card) { in getSimpleCardName()
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/slices/
DSliceContextualCardRendererTest.java122 final ContextualCard card = buildContextualCard( in bindView_isPendingDismiss_shouldShowDismissalView() local
133 final ContextualCard card = buildContextualCard( in bindView_isPendingDismiss_shouldAddViewHolderToSet() local
144 final ContextualCard card = buildContextualCard(TEST_SLICE_URI); in bindView_beforeSuccessfulSliceBinding_shouldHideSwipeBackground() local
155 final ContextualCard card = buildContextualCard(TEST_SLICE_URI); in bindView_reuseViewHolder_shouldHideSwipeBackgroundBeforeSliceBinding() local
168 final ContextualCard card = buildContextualCard(TEST_SLICE_URI); in bindView_deferredSetupCard_shouldNotCrash() local
180 final ContextualCard card = buildContextualCard( in viewClick_keepCard_shouldShowSlice() local
194 final ContextualCard card = buildContextualCard( in viewClick_keepCard_shouldRemoveViewHolderFromSet() local
208 final ContextualCard card = buildContextualCard( in viewClick_removeCard_shouldRemoveViewHolderFromSet() local
240 final ContextualCard card = buildContextualCard( in onStop_cardIsInDismissalView_shouldResetToSliceView() local
/packages/apps/ThemePicker/src/com/android/customization/picker/
DBasePreviewAdapter.java76 CardView card = (CardView) mInflater.inflate(mPreviewCardResId, container, false); in instantiateItem() local
91 View card = ((PreviewPage) object).card; in destroyItem() local
104 protected CardView card; field in BasePreviewAdapter.PreviewPage
110 public void setCard(CardView card) { in setCard()
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/conditional/
DConditionContextualCardRenderer.java63 final ConditionalContextualCard card = (ConditionalContextualCard) contextualCard; in bindView() local
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()
DConditionContextualCardController.java88 final ConditionalContextualCard card = (ConditionalContextualCard) contextualCard; in onPrimaryClick() local
94 final ConditionalContextualCard card = (ConditionalContextualCard) contextualCard; in onActionClick() local
169 final ConditionalContextualCard card = in getExpandedConditionalCards() local
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/homepage/contextualcards/conditional/
DConditionContextualCardRenderer.java63 final ConditionalContextualCard card = (ConditionalContextualCard) contextualCard; in bindView() local
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()
DConditionContextualCardController.java88 final ConditionalContextualCard card = (ConditionalContextualCard) contextualCard; in onPrimaryClick() local
94 final ConditionalContextualCard card = (ConditionalContextualCard) contextualCard; in onActionClick() local
169 final ConditionalContextualCard card = in getExpandedConditionalCards() local
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/conditional/
DHotspotConditionControllerTest.java58 final ContextualCard card = mController.buildContextualCard(); in buildContextualCard_hasWifiAp_shouldHaveWifiApSsid() local
65 final ContextualCard card = mController.buildContextualCard(); in buildContextualCard_noWifiAp_shouldHaveDefaultSsid() local
DDndConditionalCardControllerTest.java77 final ContextualCard card = mController.buildContextualCard(); in buildContextualCard_allSoundsMuted_shouldHavePhoneMutedSummary() local
87 final ContextualCard card = mController.buildContextualCard(); in buildContextualCard_allowSomeSounds_shouldHaveWittExceptionsSummary() local
DConditionFooterContextualCardRendererTest.java64 final ContextualCard card = generateConditionFooterContextualCard(); in bindView_shouldSetClickListener() local
82 final ContextualCard card = generateConditionFooterContextualCard(); in bindView_clickView_shouldSetTrueToIsConditionExpanded() local
DConditionContextualCardRendererTest.java70 final ContextualCard card = buildConditionContextualCard(); in bindView_shouldSetListener() local
89 final ContextualCard card = buildConditionContextualCard(); in viewClick_shouldInvokeControllerPrimaryClick() local
DConditionHeaderContextualCardRendererTest.java72 final ContextualCard card = generateConditionHeaderContextualCard(); in bindView_shouldSetClickListener() local
90 final ContextualCard card = generateConditionHeaderContextualCard(); in bindView_clickView_shouldSetTrueToIsConditionExpanded() local
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/homepage/contextualcards/legacysuggestion/
DLegacySuggestionContextualCardController.java76 public void onPrimaryClick(ContextualCard card) { in onPrimaryClick()
85 public void onActionClick(ContextualCard card) { in onActionClick()
90 public void onDismissed(ContextualCard card) { in onDismissed()
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/legacysuggestion/
DLegacySuggestionContextualCardController.java76 public void onPrimaryClick(ContextualCard card) { in onPrimaryClick()
85 public void onActionClick(ContextualCard card) { in onActionClick()
90 public void onDismissed(ContextualCard card) { in onDismissed()
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/legacysuggestion/
DLegacySuggestionContextualCardRendererTest.java71 final ContextualCard card = buildContextualCard(); in bindView_shouldSetListener() local
89 final ContextualCard card = buildContextualCard(); in viewClick_shouldInvokeControllerPrimaryClick() local

123