Home
last modified time | relevance | path

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

/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.java45 final int mViewType; field in ContextualCardLookupTable.ControllerRendererMapping
53 mViewType = viewType; in ControllerRendererMapping()
61 .thenComparingInt(mapping -> mapping.mViewType) in compareTo()
114 .filter(m -> m.mViewType == viewType).collect(Collectors.toList()); in getCardRendererClassByViewType()
/packages/modules/AdServices/sdksandbox/tests/manual-test-apps/SdkSandboxClient/src/com/android/sdksandboxclient/
DBannerOptions.java48 private final ViewType mViewType; field in BannerOptions
57 return mViewType; in getViewType()
84 mViewType, mVideoUrl, mOnClick, mPlacement, mAdSize); in toString()
94 mViewType = viewType; in BannerOptions()
/packages/modules/IntentResolver/java/src/com/android/intentresolver/grid/
DViewHolderBase.java25 private int mViewType; field in ViewHolderBase
29 this.mViewType = viewType; in ViewHolderBase()
33 return mViewType; in getViewType()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/
DSuggestionViewInflater.kt28 private val mViewType: String, constant in com.android.quicksearchbox.ui.SuggestionViewInflater
41 get() = listOf(mViewType)
62 return mViewType in getViewType()
/packages/apps/Settings/tests/unit/src/com/android/settings/panel/
DFakePanelContent.java47 private int mViewType; field in FakePanelContent
94 mViewType = viewType; in setViewType()
99 return mViewType; in getViewType()
/packages/apps/Settings/tests/robotests/src/com/android/settings/panel/
DFakePanelContent.java51 private int mViewType; field in FakePanelContent
99 mViewType = viewType; in setViewType()
104 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()
/packages/apps/Settings/tests/unit/src/com/android/settings/homepage/contextualcards/
DContextualCardLookupTableTest.java74 assertThat(ContextualCardLookupTable.getCardRendererClassByViewType(mapping.mViewType)) in getCardRendererClassByViewType_hasSupportedViewType_shouldGetCorrespondingRenderer()