/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/Dialer/src/com/android/dialer/list/ |
D | PhoneFavoritesTileAdapter.java | 426 final int viewType = getItemViewType(position); in getItem() local 429 if (viewType == ViewTypes.TOP) { in getItem() 538 private int getLayoutResourceId(int viewType) { in getLayoutResourceId() argument 539 switch (viewType) { in getLayoutResourceId() 545 throw new IllegalArgumentException("Unrecognized viewType " + viewType); in getLayoutResourceId()
|
/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 | 437 private int getLayoutResourceId(int viewType) { in getLayoutResourceId() argument 438 switch (viewType) { in getLayoutResourceId() 448 throw new IllegalArgumentException("Unrecognized viewType " + viewType); in getLayoutResourceId()
|
/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 | 252 private boolean isDebugView(String viewType /* non-nullable */) { in isDebugView() argument 253 return viewType.equals(getIntent().getStringExtra(EXTRA_FORCE_VIEW)); in isDebugView()
|
/packages/apps/Contacts/src/com/android/contacts/detail/ |
D | ContactDetailFragment.java | 1064 ViewEntry(int viewType) { in ViewEntry() argument 1065 viewTypeForAdapter = viewType; in ViewEntry()
|