Home
last modified time | relevance | path

Searched refs:getViewType (Results 1 – 24 of 24) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/legacysuggestion/
DLegacySuggestionContextualCardRendererTest.java72 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/
DConditionFooterContextualCardRendererTest.java65 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()
DConditionContextualCardRendererTest.java71 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()
DConditionHeaderContextualCardRendererTest.java73 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()
DConditionContextualCardControllerTest.java139 assertThat(conditionalCards.get(CardType.CONDITIONAL).get(0).getViewType()).isEqualTo( in getConditionalCards_hasOneConditionCardAndExpanded_shouldGetOneFullWidthCard()
166 assertThat(card.getViewType()).isEqualTo( in getConditionalCards_hasTwoConditionCardsAndExpanded_shouldGetTwoHalfWidthCards()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/
DDefaultSuggestionViewFactory.java75 public String getViewType(Suggestion suggestion) { in getViewType() method in DefaultSuggestionViewFactory
78 return factory.getViewType(suggestion); in getViewType()
81 return mDefaultFactory.getViewType(suggestion); in getViewType()
DSuggestionViewFactory.java45 String getViewType(Suggestion suggestion); in getViewType() method
DSuggestionViewInflater.java75 public String getViewType(Suggestion suggestion) { in getViewType() method in SuggestionViewInflater
DSuggestionsAdapterBase.java132 String viewType = mViewFactory.getViewType(suggestion); in suggestionViewType()
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/
DContextualCardsAdapter.java73 return card.getViewType(); in getItemViewType()
88 mContext, mLifecycleOwner, card.getViewType()); in onBindViewHolder()
107 final int viewType = mContextualCards.get(position).getViewType(); in onAttachedToRecyclerView()
DContextualCard.java120 public int getViewType() { in getViewType() method in ContextualCard
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/
DContextualCardManagerTest.java494 assertThat(card.getViewType()).isEqualTo(VIEW_TYPE_FULL_WIDTH); in getCardsWithViewType_noSuggestionCards_shouldNotHaveHalfCards()
514 assertThat(card.getViewType()).isEqualTo(VIEW_TYPE_FULL_WIDTH); in getCardsWithViewType_oneSuggestionCards_shouldNotHaveHalfCards()
538 assertThat(result.get(i).getViewType()).isEqualTo(expectedValues.get(i)); in getCardsWithViewType_twoConsecutiveSuggestionCards_shouldHaveTwoHalfCards()
559 assertThat(card.getViewType()).isEqualTo(VIEW_TYPE_FULL_WIDTH); in getCardsWithViewType_twoNonConsecutiveSuggestionCards_shouldNotHaveHalfCards()
583 assertThat(result.get(i).getViewType()).isEqualTo(expectedValues.get(i)); in getCardsWithViewType_threeConsecutiveSuggestionCards_shouldHaveTwoHalfCards()
607 assertThat(result.get(i).getViewType()).isEqualTo(expectedValues.get(i)); in getCardsWithViewType_fourConsecutiveSuggestionCards_shouldHaveFourHalfCards()
625 assertThat(result.get(0).getViewType()).isEqualTo(VIEW_TYPE_STICKY); in getCardsWithViewType_hasOneStickySlice_shouldHaveOneStickyCard()
626 assertThat(result.get(1).getViewType()).isEqualTo(VIEW_TYPE_FULL_WIDTH); in getCardsWithViewType_hasOneStickySlice_shouldHaveOneStickyCard()
/packages/apps/Calendar/src/com/android/calendar/
DAllInOneActivity.java480 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()
DCalendarController.java649 public int getViewType() { in getViewType() method in CalendarController
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DDraggableView.java46 int getViewType(); in getViewType() method
/packages/apps/Settings/src/com/android/settings/panel/
DPanelContent.java114 default int getViewType() { in getViewType() method
DVolumePanel.java115 public int getViewType() { in getViewType() method in VolumePanel
DPanelFragment.java519 return mPanel.getViewType();
/packages/apps/Settings/tests/robotests/src/com/android/settings/panel/
DVolumePanelTest.java76 assertThat(mPanel.getViewType()).isEqualTo(PanelContent.VIEW_TYPE_SLIDER); in getViewType_checkType()
DFakePanelContent.java100 public int getViewType() { in getViewType() method in FakePanelContent
/packages/apps/Settings/tests/unit/src/com/android/settings/panel/
DFakePanelContent.java98 public int getViewType() { in getViewType() method in FakePanelContent
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DNavigableAppWidgetHostView.java225 public int getViewType() { in getViewType() method in NavigableAppWidgetHostView
/packages/apps/Launcher3/src/com/android/launcher3/
DBubbleTextView.java841 public int getViewType() { in getViewType() method in BubbleTextView
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DFolderIcon.java806 public int getViewType() { in getViewType() method in FolderIcon