/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()
|
D | SearchActivity.java | 223 searchEventInfo.viewType = ViewType.AGENDA; in search()
|
/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 | 125 public RecyclerView.ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { in onCreateViewHolder() argument 131 switch (viewType) { in onCreateViewHolder() 142 viewHolder.init(viewType); in onCreateViewHolder() 212 public void init(int viewType) { in init() argument 213 mViewType = viewType; in init()
|
D | DialogActionAdapter.java | 87 public RecyclerView.ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { in onCreateViewHolder() argument
|
/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 | 418 private int getLayoutResourceId(int viewType) { in getLayoutResourceId() argument 419 switch (viewType) { in getLayoutResourceId() 426 throw new IllegalArgumentException("Unrecognized viewType " + viewType); in getLayoutResourceId()
|
/packages/apps/Camera2/src/com/android/camera/data/ |
D | SimpleViewData.java | 47 View v, LocalDataViewType viewType, int width, int height, in SimpleViewData() argument 50 mItemViewType = viewType; in SimpleViewData()
|
/packages/apps/Camera2/src/com/android/camera/widget/ |
D | FilmstripView.java | 653 final int viewType = (Integer) view.getTag(R.id.mediadata_tag_viewtype); in recycleView() local 654 if (viewType > 0) { in recycleView() 655 Queue<View> recycledViewsForType = recycledViews.get(viewType); in recycleView() 658 recycledViews.put(viewType, recycledViewsForType); in recycleView() 665 final int viewType = mDataAdapter.getItemViewType(dataId); in getRecycledView() local 666 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 | 333 private boolean isDebugView(String viewType /* non-nullable */) { in isDebugView() argument 334 return viewType.equals(getIntent().getStringExtra(EXTRA_FORCE_VIEW)); in isDebugView()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/ |
D | ScrollAdapterView.java | 377 viewType = t; in ExpandedView() 381 int viewType; field in ScrollAdapterView.ExpandedView 565 mRecycleExpandedViews.recycleView(v.expandedView, v.viewType); 2521 mRecycleExpandedViews.recycleView(v.expandedView, v.viewType);
|
/packages/apps/TvSettings/QuickSettings/src/com/android/tv/quicksettings/ |
D | PanelAdapter.java | 56 public ViewHolder onCreateViewHolder(final ViewGroup parent, int viewType) { in onCreateViewHolder() argument
|
D | DialogAdapter.java | 44 public ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { in onCreateViewHolder() argument
|