/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/legacysuggestion/ |
D | LegacySuggestionContextualCardRendererTest.java | 72 final View cardView = LayoutInflater.from(mActivity).inflate(card.getViewType(), in bindView_shouldSetListener() 75 card.getViewType()); in bindView_shouldSetListener() 90 final View cardView = LayoutInflater.from(mActivity).inflate(card.getViewType(), in bindView_closeButton_shouldSetListener() 93 card.getViewType()); in bindView_closeButton_shouldSetListener() 109 final View cardView = LayoutInflater.from(mActivity).inflate(card.getViewType(), in viewClick_shouldInvokeControllerPrimaryClick() 112 card.getViewType()); in viewClick_shouldInvokeControllerPrimaryClick() 129 final View cardView = LayoutInflater.from(mActivity).inflate(card.getViewType(), in viewClick_closeButton_shouldInvokeControllerDismissClick() 132 card.getViewType()); in viewClick_closeButton_shouldInvokeControllerDismissClick()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/conditional/ |
D | ConditionFooterContextualCardRendererTest.java | 65 final View view = LayoutInflater.from(mContext).inflate(card.getViewType(), recyclerView, in bindView_shouldSetClickListener() 68 card.getViewType()); in bindView_shouldSetClickListener() 83 final View view = LayoutInflater.from(mContext).inflate(card.getViewType(), recyclerView, in bindView_clickView_shouldSetTrueToIsConditionExpanded() 86 card.getViewType()); in bindView_clickView_shouldSetTrueToIsConditionExpanded()
|
D | ConditionContextualCardRendererTest.java | 71 final View view = LayoutInflater.from(mActivity).inflate(card.getViewType(), recyclerView, in bindView_shouldSetListener() 74 card.getViewType()); in bindView_shouldSetListener() 90 final View view = LayoutInflater.from(mActivity).inflate(card.getViewType(), recyclerView, in viewClick_shouldInvokeControllerPrimaryClick() 93 card.getViewType()); in viewClick_shouldInvokeControllerPrimaryClick()
|
D | ConditionHeaderContextualCardRendererTest.java | 73 final View view = LayoutInflater.from(mActivity).inflate(card.getViewType(), recyclerView, in bindView_shouldSetClickListener() 76 card.getViewType()); in bindView_shouldSetClickListener() 91 final View view = LayoutInflater.from(mActivity).inflate(card.getViewType(), recyclerView, in bindView_clickView_shouldSetTrueToIsConditionExpanded() 94 card.getViewType()); in bindView_clickView_shouldSetTrueToIsConditionExpanded()
|
D | ConditionContextualCardControllerTest.java | 139 assertThat(conditionalCards.get(CardType.CONDITIONAL).get(0).getViewType()).isEqualTo( in getConditionalCards_hasOneConditionCardAndExpanded_shouldGetOneFullWidthCard() 166 assertThat(card.getViewType()).isEqualTo( in getConditionalCards_hasTwoConditionCardsAndExpanded_shouldGetTwoHalfWidthCards()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/ |
D | ContextualCardManagerTest.java | 403 assertThat(card.getViewType()).isEqualTo(VIEW_TYPE_FULL_WIDTH); in getCardsWithViewType_noSuggestionCards_shouldNotHaveHalfCards() 423 assertThat(card.getViewType()).isEqualTo(VIEW_TYPE_FULL_WIDTH); in getCardsWithViewType_oneSuggestionCards_shouldNotHaveHalfCards() 447 assertThat(result.get(i).getViewType()).isEqualTo(expectedValues.get(i)); in getCardsWithViewType_twoConsecutiveSuggestionCards_shouldHaveTwoHalfCards() 468 assertThat(card.getViewType()).isEqualTo(VIEW_TYPE_FULL_WIDTH); in getCardsWithViewType_twoNonConsecutiveSuggestionCards_shouldNotHaveHalfCards() 492 assertThat(result.get(i).getViewType()).isEqualTo(expectedValues.get(i)); in getCardsWithViewType_threeConsecutiveSuggestionCards_shouldHaveTwoHalfCards() 516 assertThat(result.get(i).getViewType()).isEqualTo(expectedValues.get(i)); in getCardsWithViewType_fourConsecutiveSuggestionCards_shouldHaveFourHalfCards() 527 assertThat(result.get(0).getViewType()).isEqualTo(VIEW_TYPE_DEFERRED_SETUP); in getCardsWithViewType_onlyDeferredSetupCard_shouldHaveDeferredSetupCard() 545 assertThat(result.get(0).getViewType()).isEqualTo(VIEW_TYPE_DEFERRED_SETUP); in getCardsWithViewType_hasDeferredSetupCard_shouldHaveDeferredSetupCard() 564 assertThat(result.get(i).getViewType()).isNotEqualTo( in getCardsWithViewType_noDeferredSetupCard_shouldNotHaveDeferredSetupCard()
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/ |
D | DefaultSuggestionViewFactory.java | 75 public String getViewType(Suggestion suggestion) { in getViewType() method in DefaultSuggestionViewFactory 78 return factory.getViewType(suggestion); in getViewType() 81 return mDefaultFactory.getViewType(suggestion); in getViewType()
|
D | SuggestionViewFactory.java | 45 String getViewType(Suggestion suggestion); in getViewType() method
|
D | SuggestionViewInflater.java | 75 public String getViewType(Suggestion suggestion) { in getViewType() method in SuggestionViewInflater
|
D | SuggestionsAdapterBase.java | 132 String viewType = mViewFactory.getViewType(suggestion); in suggestionViewType()
|
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/ |
D | ContextualCardsAdapter.java | 73 return card.getViewType(); in getItemViewType() 88 mContext, mLifecycleOwner, card.getViewType()); in onBindViewHolder() 107 final int viewType = mContextualCards.get(position).getViewType(); in onAttachedToRecyclerView()
|
D | ContextualCard.java | 157 public int getViewType() { in getViewType() method in ContextualCard
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/homepage/contextualcards/ |
D | ContextualCardsAdapter.java | 73 return card.getViewType(); in getItemViewType() 88 mContext, mLifecycleOwner, card.getViewType()); in onBindViewHolder() 107 final int viewType = mContextualCards.get(position).getViewType(); in onAttachedToRecyclerView()
|
D | ContextualCard.java | 156 public int getViewType() { in getViewType() method in ContextualCard
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | AllInOneActivity.java | 480 initFragments(mController.getTime(), mController.getViewType(), null); in onResume() 534 if (mController.getViewType() != ViewType.EDIT) { in onPause() 535 Utils.setDefaultView(this, mController.getViewType()); in onPause() 656 && (mController.getViewType() == ViewType.MONTH)) { in onCreateOptionsMenu() 739 initFragments(mController.getTime(), mController.getViewType(), null); in onSharedPreferenceChanged()
|
D | CalendarController.java | 649 public int getViewType() { in getViewType() method in CalendarController
|