Home
last modified time | relevance | path

Searched defs:viewType (Results 1 – 25 of 145) sorted by relevance

123456

/packages/apps/Launcher3/src/com/android/launcher3/allapps/
DBaseAllAppsAdapter.java102 public final int viewType; field in BaseAllAppsAdapter.AdapterItem
112 public AdapterItem(int viewType) { in AdapterItem()
188 public static boolean isDividerViewType(int viewType) { in isDividerViewType()
193 public static boolean isIconViewType(int viewType) { in isIconViewType()
198 public static boolean isPrivateSpaceHeaderView(int viewType) { in isPrivateSpaceHeaderView()
203 public static boolean isPrivateSpaceSysAppsDividerView(int viewType) { in isPrivateSpaceSysAppsDividerView()
217 public ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { in onCreateViewHolder()
350 protected static boolean isViewType(int viewType, int viewTypeMask) { in isViewType()
/packages/apps/Launcher3/src/com/android/launcher3/allapps/search/
DSearchAdapterProvider.java58 public abstract boolean isViewSupported(int viewType); in isViewSupported()
69 ViewGroup parent, int viewType); in onCreateViewHolder()
81 public int getItemsPerRow(int viewType, int appsPerRow) { in getItemsPerRow()
DDefaultSearchAdapterProvider.java45 public boolean isViewSupported(int viewType) { in isViewSupported()
51 ViewGroup parent, int viewType) { in onCreateViewHolder()
/packages/apps/Messaging/src/com/android/messaging/ui/
DAttachmentPreviewFactory.java66 final int viewType, final boolean startImageRequest, in createAttachmentPreview()
151 final int viewType, final boolean startImageRequest) { in createImagePreview()
210 final int viewType) { in createVCardPreview()
253 final int viewType) { in createAudioPreview()
279 final int viewType) { in createVideoPreview()
DCursorRecyclerAdapter.java189 public VH onCreateViewHolder(final ViewGroup parent, final int viewType) { in onCreateViewHolder()
215 public abstract VH createViewHolder(Context context, ViewGroup parent, int viewType); in createViewHolder()
/packages/apps/UniversalMediaPlayer/java/com/android/pump/ui/
DCustomRecycledViewPool.java40 public void setMaxRecycledViews(int viewType, int maxViews) { in setMaxRecycledViews()
47 int viewType = scrap.getItemViewType(); in putRecycledView() local
/packages/modules/AdServices/sdksandbox/tests/manual-test-apps/SdkSandboxClient/src/com/android/sdksandboxclient/
DBannerOptionsActivity.java106 BannerOptions.ViewType viewType = BannerOptions.ViewType.valueOf(viewTypeSelection); in refreshVideoPreferenceVisibility() local
111 BannerOptions.ViewType viewType = BannerOptions.ViewType.valueOf(viewTypeSelection); in refreshOnClickEnabled() local
145 BannerOptions.ViewType viewType = BannerOptions.ViewType.valueOf(viewTypeSelection); in refreshAdSize() local
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/
DContextualCardLookupTable.java49 ControllerRendererMapping(@CardType int cardType, @LayoutRes int viewType, in ControllerRendererMapping()
112 int viewType) throws IllegalStateException { in getCardRendererClassByViewType()
DContextualCardRenderer.java34 RecyclerView.ViewHolder createViewHolder(View view, @LayoutRes int viewType); in createViewHolder()
/packages/modules/IntentResolver/java/src/com/android/intentresolver/grid/
DDirectShareViewHolder.java46 int viewType) { in DirectShareViewHolder()
47 super(rows.size() * cellCountPerRow, parent, viewType); in DirectShareViewHolder() local
DFooterViewHolder.java25 public FooterViewHolder(View itemView, int viewType) { in FooterViewHolder()
DViewHolderBase.java27 ViewHolderBase(View itemView, int viewType) { in ViewHolderBase()
DItemViewHolder.java42 int viewType, in ItemViewHolder()
DSingleRowViewHolder.java26 public SingleRowViewHolder(ViewGroup row, int cellCount, int viewType) { in SingleRowViewHolder()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/
DSuggestionsAdapterBase.kt100 val viewType = mViewFactory.getViewType(suggestion) in suggestionViewType() constant
215 for (viewType in mViewFactory.suggestionViewTypes) { constant in com.android.quicksearchbox.ui.SuggestionsAdapterBase
/packages/apps/TV/src/com/android/tv/ui/
DGuidedActionsStylistWithDivider.java41 public int onProvideItemLayoutId(int viewType) { in onProvideItemLayoutId()
/packages/apps/Settings/src/com/android/settings/dream/
DIDreamItem.java74 default @DreamItemViewTypes.ViewType int viewType() { in viewType() method
/packages/apps/Dialer/java/com/android/dialer/voicemail/listui/
DNewVoicemailAdapter.java215 public ViewHolder onCreateViewHolder(ViewGroup viewGroup, @RowType int viewType) { in onCreateViewHolder()
386 @RowType int viewType = getItemViewType(position); in onBindAlertViewHolder() local
414 @RowType int viewType = getItemViewType(position); in onBindHeaderViewHolder() local
/packages/apps/Dialer/java/com/android/dialer/calllog/ui/
DNewCallLogAdapter.java182 public ViewHolder onCreateViewHolder(ViewGroup viewGroup, @RowType int viewType) { in onCreateViewHolder()
211 @RowType int viewType = getItemViewType(position); in onBindViewHolder() local
/packages/apps/TV/src/com/android/tv/menu/
DChannelsRowAdapter.java81 protected int getLayoutResId(int viewType) { in getLayoutResId()
92 int viewType = getItemViewType(position); in onBindViewHolder() local
/packages/apps/Car/RotaryController/tests/unit/src/com/android/car/rotary/ui/
DTestRecyclerViewAdapter.java51 public TestRecyclerViewViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { in onCreateViewHolder()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/volume/
DCarVolumeItemAdapter.java44 int viewType) { in onCreateViewHolder()
/packages/apps/Settings/src/com/android/settings/security/
DUriAuthenticationPolicyAdapter.java67 int viewType) { in onCreateViewHolder()
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/conditional/
DConditionFooterContextualCardRenderer.java47 public RecyclerView.ViewHolder createViewHolder(View view, @LayoutRes int viewType) { in createViewHolder()
/packages/services/Car/tests/ThemePlayground/src/com/android/car/themeplayground/
DRecyclerViewAdapter.java43 public RecyclerViewHolder onCreateViewHolder(@NonNull ViewGroup parent, int viewType) { in onCreateViewHolder()

123456