/packages/apps/Calendar/src/com/android/calendar/ |
D | AllInOneActivity.java | 330 int viewType = -1; in onCreate() local 334 viewType = icicle.getInt(BUNDLE_KEY_RESTORE_VIEW, -1); in onCreate() 347 if (viewType == -1 || viewType > ViewType.MAX_VALUE) { in onCreate() 348 viewType = Utils.getViewTypeFromIntentAndSharedPref(this); in onCreate() 411 configureActionBar(viewType); in onCreate() 428 initFragments(timeMillis, viewType, icicle); in onCreate() 461 private void configureActionBar(int viewType) { in configureActionBar() argument 462 createButtonsSpinner(viewType, mIsTabletConfig); in configureActionBar() 471 private void createButtonsSpinner(int viewType, boolean tabletConfig) { in createButtonsSpinner() argument 473 mActionBarMenuSpinnerAdapter = new CalendarViewAdapter (this, viewType, !tabletConfig); in createButtonsSpinner() [all …]
|
D | CalendarController.java | 156 public int viewType; // one of the ViewType field in CalendarController.EventInfo 371 info.viewType = ViewType.CURRENT; in sendEventRelatedEventWithExtraWithTitleWithCalendarId() 403 int viewType) { in sendEvent() argument 404 sendEvent(sender, eventType, start, end, start, eventId, viewType, EXTRA_GOTO_TIME, null, in sendEvent() 412 int viewType, long extraLong, String query, ComponentName componentName) { in sendEvent() argument 413 sendEvent(sender, eventType, start, end, start, eventId, viewType, extraLong, query, in sendEvent() 418 long eventId, int viewType, long extraLong, String query, ComponentName componentName) { in sendEvent() argument 425 info.viewType = viewType; in sendEvent() 451 if (event.viewType == ViewType.DETAIL) { in sendEvent() 452 event.viewType = mDetailViewType; in sendEvent() [all …]
|
D | CalendarViewAdapter.java | 86 public CalendarViewAdapter(Context context, int viewType, boolean showDate) { in CalendarViewAdapter() argument 90 mCurrentMainView = viewType; in CalendarViewAdapter() 262 TextView viewType = (TextView)v.findViewById(R.id.button_view); in getDropDownView() local 266 viewType.setText(mButtonNames [DAY_BUTTON_INDEX]); in getDropDownView() 272 viewType.setText(mButtonNames [WEEK_BUTTON_INDEX]); in getDropDownView() 278 viewType.setText(mButtonNames [MONTH_BUTTON_INDEX]); in getDropDownView() 284 viewType.setText(mButtonNames [AGENDA_BUTTON_INDEX]); in getDropDownView() 298 public void setMainView(int viewType) { in setMainView() argument 299 mCurrentMainView = viewType; in setMainView()
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
D | AttachmentPreviewFactory.java | 66 final int viewType, final boolean startImageRequest, in createAttachmentPreview() argument 74 attachmentView = createImagePreview(layoutInflater, attachmentData, parent, viewType, in createAttachmentPreview() 77 attachmentView = createAudioPreview(layoutInflater, attachmentData, parent, viewType); in createAttachmentPreview() 79 attachmentView = createVideoPreview(layoutInflater, attachmentData, parent, viewType); in createAttachmentPreview() 81 attachmentView = createVCardPreview(layoutInflater, attachmentData, parent, viewType); in createAttachmentPreview() 151 final int viewType, final boolean startImageRequest) { in createImagePreview() argument 153 switch (viewType) { in createImagePreview() 172 if (viewType == TYPE_CHOOSER_GRID) { in createImagePreview() 210 final int viewType) { in createVCardPreview() argument 212 switch (viewType) { in createVCardPreview() [all …]
|
D | CursorRecyclerAdapter.java | 189 public VH onCreateViewHolder(final ViewGroup parent, final int viewType) { in onCreateViewHolder() argument 190 return createViewHolder(mContext, parent, viewType); in onCreateViewHolder() 215 public abstract VH createViewHolder(Context context, ViewGroup parent, int viewType); in createViewHolder() argument
|
/packages/apps/Launcher3/src/com/android/launcher3/allapps/ |
D | AlphabeticalAppsList.java | 88 public int viewType; field in AlphabeticalAppsList.AdapterItem 111 item.viewType = AllAppsGridAdapter.SECTION_BREAK_VIEW_TYPE; in asSectionBreak() 121 item.viewType = AllAppsGridAdapter.PREDICTION_ICON_VIEW_TYPE; in asPredictedApp() 128 item.viewType = AllAppsGridAdapter.ICON_VIEW_TYPE; in asApp() 140 item.viewType = AllAppsGridAdapter.EMPTY_SEARCH_VIEW_TYPE; in asEmptySearch() 147 item.viewType = AllAppsGridAdapter.SEARCH_MARKET_DIVIDER_VIEW_TYPE; in asDivider() 154 item.viewType = AllAppsGridAdapter.SEARCH_MARKET_VIEW_TYPE; in asMarketSearch() 507 if (item.viewType == AllAppsGridAdapter.SECTION_BREAK_VIEW_TYPE) { in updateAdapterItems() 509 } else if (item.viewType == AllAppsGridAdapter.ICON_VIEW_TYPE || in updateAdapterItems() 510 item.viewType == AllAppsGridAdapter.PREDICTION_ICON_VIEW_TYPE) { in updateAdapterItems() [all …]
|
D | AllAppsGridAdapter.java | 128 switch (mApps.getAdapterItems().get(position).viewType) { in getSpanSize() 301 return items.get(pos).viewType == AllAppsGridAdapter.PREDICTION_ICON_VIEW_TYPE; in shouldDrawItemDivider() 313 if (item.viewType != AllAppsGridAdapter.ICON_VIEW_TYPE) { in shouldDrawItemSection() 318 (items.get(pos - 1).viewType == AllAppsGridAdapter.SECTION_BREAK_VIEW_TYPE); in shouldDrawItemSection() 451 public ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { in onCreateViewHolder() argument 452 switch (viewType) { in onCreateViewHolder() 542 return item.viewType; in getItemViewType()
|
D | AllAppsRecyclerView.java | 423 if (item.viewType == AllAppsGridAdapter.ICON_VIEW_TYPE || in getCurScrollState() 424 item.viewType == AllAppsGridAdapter.PREDICTION_ICON_VIEW_TYPE) { in getCurScrollState() 439 if (item.viewType == AllAppsGridAdapter.ICON_VIEW_TYPE || in getScrollAtPosition() 440 item.viewType == AllAppsGridAdapter.PREDICTION_ICON_VIEW_TYPE) { in getScrollAtPosition()
|
D | AllAppsContainerView.java | 70 if (section.firstAppItem.viewType != AllAppsGridAdapter.ICON_VIEW_TYPE) { in continueMerging() 102 if (section.firstAppItem.viewType != AllAppsGridAdapter.ICON_VIEW_TYPE) { in continueMerging()
|
D | DefaultAppSearchController.java | 184 switch (item.viewType) { in onEditorAction()
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/ |
D | SuggestionsAdapterBase.java | 55 for (String viewType : mViewFactory.getSuggestionViewTypes()) { in SuggestionsAdapterBase() 56 if (!mViewTypeMap.containsKey(viewType)) { in SuggestionsAdapterBase() 57 mViewTypeMap.put(viewType, mViewTypeMap.size()); in SuggestionsAdapterBase() 132 String viewType = mViewFactory.getViewType(suggestion); in suggestionViewType() local 133 if (!mViewTypeMap.containsKey(viewType)) { in suggestionViewType() 134 throw new IllegalStateException("Unknown viewType " + viewType); in suggestionViewType() 136 return viewType; in suggestionViewType()
|
D | SuggestionViewInflater.java | 46 public SuggestionViewInflater(String viewType, Class<? extends SuggestionView> viewClass, in SuggestionViewInflater() argument 48 mViewType = viewType; in SuggestionViewInflater()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/ |
D | SettingsLayoutAdapter.java | 122 public RecyclerView.ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { in onCreateViewHolder() argument 128 switch (viewType) { in onCreateViewHolder() 139 throw new IllegalStateException("View type not found: " + viewType); in onCreateViewHolder() 144 viewHolder.init(viewType); in onCreateViewHolder() 215 public void init(int viewType) { in init() argument 216 mViewType = viewType; in init()
|
/packages/apps/Gallery2/src/com/android/photos/views/ |
D | GalleryThumbnailView.java | 609 ((LayoutParams) optScrap.getLayoutParams()).viewType : -1; in obtainView() 634 sglp.viewType = positionViewType; in obtainView() 717 int viewType; field in GalleryThumbnailView.LayoutParams 829 ArrayList<View> scrap = mScrapViews[lp.viewType]; in addScrap()
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ |
D | ContactTileAdapter.java | 419 private int getLayoutResourceId(int viewType) { in getLayoutResourceId() argument 420 switch (viewType) { in getLayoutResourceId() 427 throw new IllegalArgumentException("Unrecognized viewType " + viewType); in getLayoutResourceId()
|
/packages/apps/Camera2/src/com/android/camera/data/ |
D | PlaceholderItem.java | 50 View v, FilmstripItemType viewType, int width, int height) { in PlaceholderItem() argument 52 mItemViewType = viewType; in PlaceholderItem()
|
/packages/apps/Dialer/src/com/android/dialer/calllog/ |
D | CallLogAdapter.java | 389 public ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { in onCreateViewHolder() argument 390 if (viewType == VIEW_TYPE_SHOW_CALL_HISTORY_LIST_ITEM) { in onCreateViewHolder() 392 } else if (viewType == VIEW_TYPE_VOICEMAIL_PROMO_CARD) { in onCreateViewHolder()
|
/packages/apps/Camera2/src/com/android/camera/widget/ |
D | FilmstripView.java | 680 final int viewType = (Integer) view.getTag(R.id.mediadata_tag_viewtype); in recycleView() local 681 if (viewType > 0) { in recycleView() 682 Queue<View> recycledViewsForType = recycledViews.get(viewType); in recycleView() 685 recycledViews.put(viewType, recycledViewsForType); in recycleView() 692 final int viewType = mDataAdapter.getItemViewType(index); in getRecycledView() local 693 Queue<View> recycledViewsForType = recycledViews.get(viewType); in getRecycledView()
|
/packages/apps/DeskClock/src/com/android/deskclock/widget/sgv/ |
D | StaggeredGridView.java | 3023 ((LayoutParams) scrap.getLayoutParams()).viewType : -1; 3055 sglp.viewType = positionViewType; 3086 ((LayoutParams) optScrap.getLayoutParams()).viewType : -1; 3115 sglp.viewType = positionViewType; 3691 int viewType; 3821 final ArrayList<View> scrap = mScrapViews[lp.viewType];
|
/packages/apps/Settings/src/com/android/settings/ |
D | CryptKeeper.java | 356 private boolean isDebugView(String viewType /* non-nullable */) { in isDebugView() argument 357 return viewType.equals(getIntent().getStringExtra(EXTRA_FORCE_VIEW)); in isDebugView()
|
/packages/apps/Messaging/src/com/android/messaging/ui/conversationlist/ |
D | ConversationListAdapter.java | 58 final ViewGroup parent, final int viewType) { in createViewHolder() argument
|
D | ShareIntentAdapter.java | 63 final ViewGroup parent, final int viewType) { in createViewHolder() argument
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/ |
D | ScrollAdapterView.java | 367 viewType = t; in ExpandedView() 371 final int viewType; field in ScrollAdapterView.ExpandedView 555 mRecycleExpandedViews.recycleView(v.expandedView, v.viewType); 2482 mRecycleExpandedViews.recycleView(v.expandedView, v.viewType);
|
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/ |
D | ConversationMessageAdapter.java | 73 final ViewGroup parent, final int viewType) { in createViewHolder() argument
|
/packages/apps/TvSettings/QuickSettings/src/com/android/tv/quicksettings/ |
D | DialogAdapter.java | 43 public ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { in onCreateViewHolder() argument
|