Home
last modified time | relevance | path

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

12

/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()
91 void showFeedbackDialog(ContextualCard card) { in showFeedbackDialog()
109 private String getSimpleCardName(ContextualCard card) { in getSimpleCardName()
DSliceContextualCardRenderer.java98 public void bindView(RecyclerView.ViewHolder holder, ContextualCard card) { in bindView()
166 private void initDismissalActions(RecyclerView.ViewHolder holder, ContextualCard card) { in initDismissalActions()
DSliceHalfCardRendererHelper.java56 void bindView(RecyclerView.ViewHolder holder, ContextualCard card, Slice slice) { in bindView()
DSliceFullCardRendererHelper.java48 void bindView(RecyclerView.ViewHolder holder, ContextualCard card, Slice slice) { in bindView()
/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()
DContextualCardsAdapter.java72 final ContextualCard card = mContextualCards.get(position); in getItemViewType() local
86 final ContextualCard card = mContextualCards.get(position); in onBindViewHolder() local
142 final ContextualCard card = mContextualCards.get(position).mutate() in onSwiped() local
DContextualCardLoader.java114 final ContextualCard card = new ContextualCard(cursor); in loadInBackground() local
216 final ContextualCard card = cardFuture.get(); in filterEligibleCards() local
227 private boolean isLargeCard(ContextualCard card) { in isLargeCard()
DEligibleCardChecker.java50 EligibleCardChecker(Context context, ContextualCard card) { in EligibleCardChecker()
86 boolean isCardEligibleToDisplay(ContextualCard card) { in isCardEligibleToDisplay()
DContextualCardRenderer.java41 void bindView(RecyclerView.ViewHolder holder, ContextualCard card); in bindView()
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/slices/
DSliceContextualCardRendererTest.java149 final ContextualCard card = buildContextualCard( in bindView_isPendingDismiss_shouldShowDismissalView() local
160 final ContextualCard card = buildContextualCard( in bindView_isPendingDismiss_shouldAddViewHolderToSet() local
171 final ContextualCard card = buildContextualCard(TEST_SLICE_URI); in bindView_beforeSuccessfulSliceBinding_shouldHideSwipeBackground() local
182 final ContextualCard card = buildContextualCard(TEST_SLICE_URI); in bindView_reuseViewHolder_shouldHideSwipeBackgroundBeforeSliceBinding() local
198 final ContextualCard card = buildContextualCard( in viewClick_keepCard_shouldShowSlice() local
212 final ContextualCard card = buildContextualCard( in viewClick_keepCard_shouldRemoveViewHolderFromSet() local
226 final ContextualCard card = buildContextualCard( in viewClick_removeCard_shouldRemoveViewHolderFromSet() local
258 final ContextualCard card = buildContextualCard( in onStop_cardIsInDismissalView_shouldResetToSliceView() local
/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 bindView_closeButton_shouldSetListener() local
108 final ContextualCard card = buildContextualCard(); in viewClick_shouldInvokeControllerPrimaryClick() local
128 final ContextualCard card = buildContextualCard(); in viewClick_closeButton_shouldInvokeControllerDismissClick() local
DLegacySuggestionContextualCardControllerTest.java127 final ContextualCard card = buildContextualCard("test1"); in onDismiss_shouldCallUpdateAdapter() local
/packages/apps/Settings/tests/unit/src/com/android/settings/homepage/contextualcards/
DContextualCardsDiffCallbackTest.java82 final ContextualCard card = getContextualCard("test1").mutate() in areContentsTheSame_sliceWithToggle_returnFalse() local
91 final ContextualCard card = getContextualCard("test1").mutate() in areContentsTheSame_stickySlice_returnFalse() local
100 final ContextualCard card = getContextualCard("test1").mutate() in areContentsTheSame_importantSlice_returnFalse() local
/packages/apps/ThemePicker/src/com/android/customization/picker/
DBasePreviewAdapter.java78 CardView card = (CardView) mInflater.inflate(mPreviewCardResId, container, false); in instantiateItem() local
93 View card = ((PreviewPage) object).card; in destroyItem() local
106 protected CardView card; field in BasePreviewAdapter.PreviewPage
115 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
DConditionFooterContextualCardRenderer.java52 public void bindView(RecyclerView.ViewHolder holder, ContextualCard card) { in bindView()
/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_shouldHaveEmptySsid() 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/apps/Settings/src/com/android/settings/homepage/contextualcards/legacysuggestion/
DLegacySuggestionContextualCardController.java80 public void onPrimaryClick(ContextualCard card) { in onPrimaryClick()
89 public void onActionClick(ContextualCard card) { in onActionClick()
94 public void onDismissed(ContextualCard card) { in onDismissed()
DLegacySuggestionContextualCardRenderer.java53 public void bindView(RecyclerView.ViewHolder holder, ContextualCard card) { in bindView()
/packages/apps/Settings/protos/
Dcontextual_card_list.proto7 repeated ContextualCard card = 1; field

12