Searched defs:viewType (Results 1 - 25 of 40) sorted by relevance

12

/packages/apps/Messaging/src/com/android/messaging/ui/conversationlist/
H A DConversationListAdapter.java58 final ViewGroup parent, final int viewType) {
57 createViewHolder(final Context context, final ViewGroup parent, final int viewType) argument
H A DShareIntentAdapter.java63 final ViewGroup parent, final int viewType) {
62 createViewHolder(final Context context, final ViewGroup parent, final int viewType) argument
/packages/apps/Settings/src/com/android/settings/password/
H A DPasswordRequirementAdapter.java42 public PasswordRequirementViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { argument
/packages/apps/Launcher3/src/com/android/launcher3/widget/
H A DWidgetsListAdapter.java137 public WidgetsRowViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { argument
/packages/apps/Messaging/src/com/android/messaging/ui/
H A DAttachmentPreviewFactory.java66 final int viewType, final boolean startImageRequest,
74 attachmentView = createImagePreview(layoutInflater, attachmentData, parent, viewType,
77 attachmentView = createAudioPreview(layoutInflater, attachmentData, parent, viewType);
79 attachmentView = createVideoPreview(layoutInflater, attachmentData, parent, viewType);
81 attachmentView = createVCardPreview(layoutInflater, attachmentData, parent, viewType);
151 final int viewType, final boolean startImageRequest) {
153 switch (viewType) {
172 if (viewType == TYPE_CHOOSER_GRID) {
210 final int viewType) {
212 switch (viewType) {
64 createAttachmentPreview(final LayoutInflater layoutInflater, final MessagePartData attachmentData, final ViewGroup parent, final int viewType, final boolean startImageRequest, @Nullable final OnAttachmentClickListener clickListener) argument
149 createImagePreview(final LayoutInflater layoutInflater, final MessagePartData attachmentData, final ViewGroup parent, final int viewType, final boolean startImageRequest) argument
208 createVCardPreview(final LayoutInflater layoutInflater, final MessagePartData attachmentData, final ViewGroup parent, final int viewType) argument
251 createAudioPreview(final LayoutInflater layoutInflater, final MessagePartData attachmentData, final ViewGroup parent, final int viewType) argument
277 createVideoPreview(final LayoutInflater layoutInflater, final MessagePartData attachmentData, final ViewGroup parent, final int viewType) argument
[all...]
H A DCursorRecyclerAdapter.java189 public VH onCreateViewHolder(final ViewGroup parent, final int viewType) { argument
190 return createViewHolder(mContext, parent, viewType);
215 public abstract VH createViewHolder(Context context, ViewGroup parent, int viewType); argument
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/wear/settings/
H A DPermissionsSettingsAdapter.java38 public WearableListView.ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { argument
H A DSettingsAdapter.java101 public WearableListView.ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { argument
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/
H A DSuggestionViewInflater.java41 * @param viewType The unique type of views inflated by this factory
46 public SuggestionViewInflater(String viewType, Class<? extends SuggestionView> viewClass, argument
48 mViewType = viewType;
/packages/apps/TV/src/com/android/tv/guide/
H A DTimeListAdapter.java88 public TimeViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { argument
89 View itemView = LayoutInflater.from(parent.getContext()).inflate(viewType, parent, false);
H A DGenreListAdapter.java80 public GenreRowHolder onCreateViewHolder(ViewGroup parent, int viewType) { argument
81 View itemView = LayoutInflater.from(parent.getContext()).inflate(viewType, parent, false);
H A DProgramListAdapter.java100 public ProgramViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { argument
101 View itemView = LayoutInflater.from(parent.getContext()).inflate(viewType, parent, false);
/packages/apps/TV/src/com/android/tv/menu/
H A DOptionsRowAdapter.java79 protected int getLayoutResId(int viewType) { argument
H A DChannelsRowAdapter.java138 protected int getLayoutResId(int viewType) { argument
139 return viewType;
146 int viewType = getItemViewType(position);
147 if (viewType == R.layout.menu_card_guide) {
149 } else if (viewType == R.layout.menu_card_setup) {
151 } else if (viewType == R.layout.menu_card_app_link) {
153 } else if (viewType == R.layout.menu_card_dvr) {
155 } else if (viewType == R.layout.menu_card_record) {
H A DItemListRowView.java137 protected abstract int getLayoutResId(int viewType); argument
198 public MyViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { argument
199 View view = mLayoutInflater.inflate(getLayoutResId(viewType), parent, false);
/packages/apps/DeskClock/src/com/android/deskclock/alarms/dataadapter/
H A DAlarmTimeAdapter.java71 public AlarmTimeViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { argument
72 final View v = mInflater.inflate(viewType, parent, false /* attachToRoot */);
73 if (viewType == VIEW_TYPE_ALARM_TIME_COLLAPSED) {
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/
H A DLapsAdapter.java70 public LapItemHolder onCreateViewHolder(ViewGroup parent, int viewType) { argument
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
H A DConversationMessageAdapter.java73 final ViewGroup parent, final int viewType) {
72 createViewHolder(final Context context, final ViewGroup parent, final int viewType) argument
/packages/apps/TvSettings/QuickSettings/src/com/android/tv/quicksettings/
H A DDialogAdapter.java43 public ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { argument
/packages/apps/Calendar/src/com/android/calendar/
H A DCalendarViewAdapter.java86 public CalendarViewAdapter(Context context, int viewType, boolean showDate) { argument
90 mCurrentMainView = viewType;
262 TextView viewType = (TextView)v.findViewById(R.id.button_view);
266 viewType.setText(mButtonNames [DAY_BUTTON_INDEX]);
272 viewType.setText(mButtonNames [WEEK_BUTTON_INDEX]);
278 viewType.setText(mButtonNames [MONTH_BUTTON_INDEX]);
284 viewType.setText(mButtonNames [AGENDA_BUTTON_INDEX]);
296 // Updates the current viewType
298 public void setMainView(int viewType) { argument
299 mCurrentMainView = viewType;
[all...]
/packages/apps/Camera2/src/com/android/camera/data/
H A DPlaceholderItem.java50 View v, FilmstripItemType viewType, int width, int height) {
52 mItemViewType = viewType;
49 PlaceholderItem( View v, FilmstripItemType viewType, int width, int height) argument
/packages/services/Car/car-support-lib/src/android/support/car/ui/
H A DGroupingCursorRecyclerViewAdapter.java113 public VH onCreateViewHolder(ViewGroup parent, int viewType) { argument
114 switch (viewType) {
122 Log.e(TAG, "Unknown viewType. Returning null ViewHolder");
200 int viewType;
203 viewType = VIEW_TYPE_STANDALONE;
205 viewType = VIEW_TYPE_GROUP_HEADER;
208 viewType = VIEW_TYPE_IN_GROUP;
213 return new PositionMetadata(viewType, cursorOffset, midItem);
H A DGroupingRecyclerViewAdapter.java110 public VH onCreateViewHolder(ViewGroup parent, int viewType) { argument
111 switch (viewType) {
119 Log.e(TAG, "Unknown viewType. Returning null ViewHolder");
213 int viewType;
216 viewType = VIEW_TYPE_STANDALONE;
218 viewType = VIEW_TYPE_GROUP_HEADER;
221 viewType = VIEW_TYPE_IN_GROUP;
226 return new PositionMetadata(viewType, cursorOffset, midItem);
/packages/services/Car/car-ui-provider/src/android/car/ui/provider/
H A DDrawerApiAdapter.java126 public CarListItemViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { argument
129 if (viewType == R.layout.car_unavailable_category ||
130 viewType == R.layout.car_list_item_empty) {
131 view = inflater.inflate(viewType, parent, false);
135 return new CarListItemViewHolder(view, viewType);
/packages/apps/TV/src/com/android/tv/onboarding/
H A DSetupSourcesFragment.java415 public int onProvideItemLayoutId(int viewType) { argument
416 if (viewType == VIEW_TYPE_DIVIDER) {
419 return super.onProvideItemLayoutId(viewType);

Completed in 1244 milliseconds

12