Home
last modified time | relevance | path

Searched refs:mViewType (Results 1 – 11 of 11) 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()
186 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.java73 private final int mViewType; field in ContextualCard
158 return mViewType; in getViewType()
193 mViewType = builder.mViewType; in ContextualCard()
239 mViewType = getViewTypeByCardType(mCardType); in ContextualCard()
240 mBuilder.setViewType(mViewType); in ContextualCard()
295 private int mViewType; field in ContextualCard.Builder
390 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/homepage/contextualcards/
DControllerRendererPoolTest.java84 mapping.mViewType).getClass()).isEqualTo(mapping.mRendererClass)); in getRenderer_hasSupportedViewType_shouldReturnCorrespondingRenderer()
94 mapping.mViewType)); in getRenderer_hasSupportedViewType_shouldHaveDistinctRenderersInPool()
DContextualCardLookupTableTest.java71 assertThat(ContextualCardLookupTable.getCardRendererClassByViewType(mapping.mViewType)) in getCardRendererClassByViewType_hasSupportedViewType_shouldGetCorrespondingRenderer()