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

12

/packages/apps/Calendar/src/com/android/calendar/
H A DAllInOneActivity.java330 int viewType = -1;
334 viewType = icicle.getInt(BUNDLE_KEY_RESTORE_VIEW, -1);
347 if (viewType == -1 || viewType > ViewType.MAX_VALUE) {
348 viewType = Utils.getViewTypeFromIntentAndSharedPref(this);
411 configureActionBar(viewType);
428 initFragments(timeMillis, viewType, icicle);
461 private void configureActionBar(int viewType) { argument
462 createButtonsSpinner(viewType, mIsTabletConfig);
471 private void createButtonsSpinner(int viewType, boolea argument
621 initFragments(long timeMillis, int viewType, Bundle icicle) argument
849 setMainPane( FragmentTransaction ft, int viewId, int viewType, long timeMillis, boolean force) argument
[all...]
H A DCalendarController.java156 public int viewType; // one of the ViewType field in class:CalendarController.EventInfo
371 info.viewType = ViewType.CURRENT;
400 * @param viewType {@link ViewType}
403 int viewType) {
404 sendEvent(sender, eventType, start, end, start, eventId, viewType, EXTRA_GOTO_TIME, null,
412 int viewType, long extraLong, String query, ComponentName componentName) {
413 sendEvent(sender, eventType, start, end, start, eventId, viewType, extraLong, query,
418 long eventId, int viewType, long extraLong, String query, ComponentName componentName) {
425 info.viewType = viewType;
402 sendEvent(Object sender, long eventType, Time start, Time end, long eventId, int viewType) argument
411 sendEvent(Object sender, long eventType, Time start, Time end, long eventId, int viewType, long extraLong, String query, ComponentName componentName) argument
417 sendEvent(Object sender, long eventType, Time start, Time end, Time selected, long eventId, int viewType, long extraLong, String query, ComponentName componentName) argument
827 setViewType(int viewType) argument
[all...]
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/apps/ContactsCommon/src/com/android/contacts/common/list/
H A DContactTileAdapter.java419 private int getLayoutResourceId(int viewType) { argument
420 switch (viewType) {
427 throw new IllegalArgumentException("Unrecognized viewType " + viewType);
/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/Dialer/src/com/android/dialer/calllog/
H A DCallLogAdapter.java390 public ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { argument
391 if (viewType == VIEW_TYPE_VOICEMAIL_PROMO_CARD) {
/packages/apps/Gallery2/src/com/android/photos/views/
H A DGalleryThumbnailView.java609 ((LayoutParams) optScrap.getLayoutParams()).viewType : -1;
634 sglp.viewType = positionViewType;
717 int viewType; field in class:GalleryThumbnailView.LayoutParams
829 ArrayList<View> scrap = mScrapViews[lp.viewType];
/packages/apps/Launcher3/src/com/android/launcher3/allapps/
H A DAllAppsGridAdapter.java152 if (isIconViewType(mApps.getAdapterItems().get(position).viewType)) {
316 if (item.viewType != AllAppsGridAdapter.VIEW_TYPE_ICON) {
321 (items.get(pos - 1).viewType == AllAppsGridAdapter.VIEW_TYPE_SECTION_BREAK);
378 public static boolean isDividerViewType(int viewType) { argument
379 return isViewType(viewType, VIEW_TYPE_MASK_DIVIDER);
382 public static boolean isIconViewType(int viewType) { argument
383 return isViewType(viewType, VIEW_TYPE_MASK_ICON);
386 public static boolean isViewType(int viewType, int viewTypeMask) { argument
387 return (viewType & viewTypeMask) != 0;
447 public ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { argument
[all...]
H A DAlphabeticalAppsList.java88 public int viewType; field in class:AlphabeticalAppsList.AdapterItem
111 item.viewType = AllAppsGridAdapter.VIEW_TYPE_SECTION_BREAK;
121 item.viewType = AllAppsGridAdapter.VIEW_TYPE_PREDICTION_ICON;
128 item.viewType = AllAppsGridAdapter.VIEW_TYPE_ICON;
140 item.viewType = AllAppsGridAdapter.VIEW_TYPE_EMPTY_SEARCH;
147 item.viewType = AllAppsGridAdapter.VIEW_TYPE_PREDICTION_DIVIDER;
154 item.viewType = AllAppsGridAdapter.VIEW_TYPE_SEARCH_DIVIDER;
161 item.viewType = AllAppsGridAdapter.VIEW_TYPE_SEARCH_MARKET_DIVIDER;
168 item.viewType = AllAppsGridAdapter.VIEW_TYPE_SEARCH_MARKET;
529 if (AllAppsGridAdapter.isDividerViewType(item.viewType)) {
[all...]
/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/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/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/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/Settings/src/com/android/settings/dashboard/
H A DDashboardAdapter.java217 public DashboardItemHolder onCreateViewHolder(ViewGroup parent, int viewType) { argument
219 viewType, parent, false));
H A DSupportItemAdapter.java99 public ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { argument
101 viewType, parent, false));
/packages/apps/Settings/src/com/android/settings/password/
H A DPasswordRequirementAdapter.java42 public PasswordRequirementViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { argument
/packages/apps/TV/src/com/android/tv/guide/
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);

Completed in 3206 milliseconds

12