Home
last modified time | relevance | path

Searched refs:mViewType (Results 1 – 12 of 12) sorted by relevance

/packages/apps/Car/Media/src/com/android/car/media/browse/
DBrowseViewData.java35 public final BrowseItemViewType mViewType; field in BrowseViewData
51 mViewType = viewType; in BrowseViewData()
66 mViewType = viewType; in BrowseViewData()
77 mViewType = viewType; in BrowseViewData()
87 mViewType == item.mViewType; in equals()
92 return Objects.hash(mMediaItem, mViewType); in hashCode()
DBrowseAdapter.java164 BrowseItemViewType viewType = getItem(position).mViewType; in getSpanSizeLookup()
198 return getItem(position).mViewType.ordinal();
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/dirlist/
DTestItemDetails.java30 private int mViewType = -1; field in TestItemDetails
43 mViewType = source.mViewType; in TestItemDetails()
49 mViewType = viewType; in setViewType()
68 return mViewType; in getItemViewType()
94 && mViewType == other.mViewType; in equals()
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/
DContextualCard.java67 private final int mViewType; field in ContextualCard
121 return mViewType; in getViewType()
153 mViewType = builder.mViewType; in ContextualCard()
183 mViewType = getViewTypeByCardType(mCardType); in ContextualCard()
184 mBuilder.setViewType(mViewType); in ContextualCard()
234 private int mViewType; field in ContextualCard.Builder
295 mViewType = viewType; in setViewType()
DContextualCardLookupTable.java46 final int mViewType; field in ContextualCardLookupTable.ControllerRendererMapping
54 mViewType = viewType; in ControllerRendererMapping()
62 .thenComparingInt(mapping -> mapping.mViewType) in compareTo()
117 .filter(m -> m.mViewType == viewType).collect(Collectors.toList()); in getCardRendererClassByViewType()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/homepage/contextualcards/
DContextualCard.java73 private final int mViewType; field in ContextualCard
157 return mViewType; in getViewType()
188 mViewType = builder.mViewType; in ContextualCard()
233 mViewType = getViewTypeByCardType(mCardType); in ContextualCard()
234 mBuilder.setViewType(mViewType); in ContextualCard()
287 private int mViewType; field in ContextualCard.Builder
381 mViewType = viewType; in setViewType()
DContextualCardLookupTable.java46 final int mViewType; field in ContextualCardLookupTable.ControllerRendererMapping
54 mViewType = viewType; in ControllerRendererMapping()
62 .thenComparingInt(mapping -> mapping.mViewType) in compareTo()
117 .filter(m -> m.mViewType == viewType).collect(Collectors.toList()); in getCardRendererClassByViewType()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/
DSuggestionViewInflater.java35 private final String mViewType; field in SuggestionViewInflater
48 mViewType = viewType; in SuggestionViewInflater()
59 return Collections.singletonList(mViewType); in getSuggestionViewTypes()
76 return mViewType; in getViewType()
/packages/apps/Calendar/src/com/android/calendar/
DCalendarController.java78 private int mViewType = -1; field in CalendarController
422 mPreviousViewType = mViewType; in sendEvent()
427 mViewType = mDetailViewType; in sendEvent()
429 event.viewType = mViewType; in sendEvent()
431 mViewType = event.viewType; in sendEvent()
435 mDetailViewType = mViewType; in sendEvent()
650 return mViewType; in getViewType()
671 mViewType = viewType; in setViewType()
/packages/apps/Settings/tests/robotests/src/com/android/settings/panel/
DFakePanelContent.java48 private int mViewType; field in FakePanelContent
95 mViewType = viewType; in setViewType()
100 return mViewType; in getViewType()
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/
DControllerRendererPoolTest.java111 mapping.mViewType).getClass()).isEqualTo(mapping.mRendererClass)); in getRenderer_hasSupportedViewType_shouldReturnCorrespondingRenderer()
121 mapping.mViewType)); in getRenderer_hasSupportedViewType_shouldHaveDistinctRenderersInPool()
DContextualCardLookupTableTest.java71 assertThat(ContextualCardLookupTable.getCardRendererClassByViewType(mapping.mViewType)) in getCardRendererClassByViewType_hasSupportedViewType_shouldGetCorrespondingRenderer()