/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/QuickSearchBox/src/com/android/quicksearchbox/ui/ |
D | DefaultSuggestionViewFactory.kt | 66 override fun getViewType(suggestion: Suggestion?): String { in getViewType() method 69 return factory.getViewType(suggestion)!! in getViewType() 72 return mDefaultFactory.getViewType(suggestion)!! in getViewType()
|
D | SuggestionViewFactory.kt | 39 fun getViewType(suggestion: Suggestion?): String? method
|
D | SuggestionViewInflater.kt | 61 override fun getViewType(suggestion: Suggestion?): String { in getViewType() method
|
D | SuggestionsAdapterBase.kt | 100 val 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 | 120 public int getViewType() { in getViewType() method in ContextualCard
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/ |
D | ContextualCardManagerTest.java | 494 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/modules/IntentResolver/java/src/com/android/intentresolver/grid/ |
D | ViewHolderBase.java | 32 public int getViewType() { in getViewType() method in ViewHolderBase
|
D | ChooserGridAdapter.java | 299 int viewType = ((ViewHolderBase) holder).getViewType(); in onBindViewHolder()
|
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/ |
D | DraggableView.java | 46 int getViewType(); in getViewType() method
|
D | LauncherDragController.java | 98 if (originalView.getViewType() == DraggableView.DRAGGABLE_WIDGET) { in startDrag()
|
/packages/apps/Settings/src/com/android/settings/panel/ |
D | PanelContent.java | 117 default int getViewType() { in getViewType() method
|
D | VolumePanel.java | 168 public int getViewType() { in getViewType() method in VolumePanel
|
/packages/modules/AdServices/sdksandbox/tests/manual-test-apps/SdkSandboxClient/src/com/android/sdksandboxclient/ |
D | BannerOptions.java | 56 public ViewType getViewType() { in getViewType() method in BannerOptions
|
D | MainActivity.java | 461 if (options.getViewType().equals(BannerOptions.ViewType.WEBVIEW)) { in registerNewBannerAdButton() 475 switch (options.getViewType()) { in registerNewBannerAdButton() 885 if (options.getViewType() == BannerOptions.ViewType.VIDEO) { in registerNewFullscreenAdButton()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/panel/ |
D | VolumePanelTest.java | 78 assertThat(mPanel.getViewType()).isEqualTo(PanelContent.VIEW_TYPE_SLIDER); in getViewType_checkType()
|
D | FakePanelContent.java | 103 public int getViewType() { in getViewType() method in FakePanelContent
|
/packages/apps/Settings/tests/unit/src/com/android/settings/panel/ |
D | FakePanelContent.java | 98 public int getViewType() { in getViewType() method in FakePanelContent
|
/packages/apps/Launcher3/src/com/android/launcher3/widget/ |
D | NavigableAppWidgetHostView.java | 205 public int getViewType() { in getViewType() method in NavigableAppWidgetHostView
|
/packages/apps/Launcher3/src/com/android/launcher3/apppairs/ |
D | AppPairIcon.java | 160 public int getViewType() { in getViewType() method in AppPairIcon
|