/packages/apps/Calendar/src/com/android/calendar/ |
D | AllInOneActivity.java | 69 import com.android.calendar.CalendarController.ViewType; 267 mController.sendEvent(this, EventType.GO_TO, time, time, -1, ViewType.CURRENT); in onNewIntent() 312 if (viewType == -1 || viewType > ViewType.MAX_VALUE) { in onCreate() 437 case ViewType.AGENDA: in createButtonsSpinner() 439 case ViewType.DAY: in createButtonsSpinner() 442 case ViewType.WEEK: in createButtonsSpinner() 445 case ViewType.MONTH: in createButtonsSpinner() 485 mController.sendEvent(this, EventType.UPDATE_TITLE, t, t, -1, ViewType.CURRENT, in onResume() 534 if (mController.getViewType() != ViewType.EDIT) { in onPause() 542 mController.sendEvent(this, EventType.USER_HOME, null, null, -1, ViewType.CURRENT); in onUserLeaveHint() [all …]
|
D | CalendarViewAdapter.java | 19 import com.android.calendar.CalendarController.ViewType; 183 case ViewType.DAY: in getView() 188 case ViewType.WEEK: in getView() 197 case ViewType.MONTH: in getView() 218 case ViewType.DAY: in getView() 221 case ViewType.WEEK: in getView() 224 case ViewType.MONTH: in getView()
|
D | CalendarController.java | 118 public interface ViewType { interface in CalendarController 345 info.viewType = ViewType.CURRENT; in sendEventRelatedEventWithExtraWithTitleWithCalendarId() 425 if (event.viewType == ViewType.DETAIL) { in sendEvent() 428 } else if (event.viewType == ViewType.CURRENT) { in sendEvent() 430 } else if (event.viewType != ViewType.EDIT) { in sendEvent() 433 if (event.viewType == ViewType.AGENDA || event.viewType == ViewType.DAY in sendEvent() 434 || (Utils.getAllowWeekForDetailView() && event.viewType == ViewType.WEEK)) { in sendEvent()
|
D | Utils.java | 54 import com.android.calendar.CalendarController.ViewType; 222 return ViewType.EDIT; in getViewTypeFromIntentAndSharedPref() 231 return ViewType.DAY; in getViewTypeFromIntentAndSharedPref() 406 if (mAllowWeekForDetailView && viewId == CalendarController.ViewType.WEEK) { in setDefaultView() 409 validDetailView = viewId == CalendarController.ViewType.AGENDA in setDefaultView() 410 || viewId == CalendarController.ViewType.DAY; in setDefaultView()
|
D | GeneralPreferences.java | 113 public static final int DEFAULT_START_VIEW = CalendarController.ViewType.WEEK; 114 public static final int DEFAULT_DETAILED_VIEW = CalendarController.ViewType.DAY;
|
D | DayView.java | 81 import com.android.calendar.CalendarController.ViewType; 1121 mController.sendEvent(this, EventType.UPDATE_TITLE, start, end, null, -1, ViewType.CURRENT, in updateTitle() 1534 ViewType.CURRENT, CalendarController.EXTRA_GOTO_DATE, null, null); in onAnimationEnd() 3101 ViewType.DAY, CalendarController.EXTRA_GOTO_DATE, null, null); in doSingleTapUp()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | ActionHandler.java | 53 public @interface ViewType {} annotation 129 boolean openItem(ItemDetails<String> doc, @ViewType int type, @ViewType int fallback); in openItem()
|
D | AbstractActionHandler.java | 248 public boolean openItem(ItemDetails<String> doc, @ViewType int type, @ViewType int fallback) { in openItem() 379 public void onDocumentOpened(DocumentInfo doc, @ViewType int type, @ViewType int fallback, in onDocumentOpened()
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/ |
D | TestActionHandler.java | 59 public boolean openItem(ItemDetails<String> doc, @ViewType int type, @ViewType int fallback) { in openItem()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/files/ |
D | ActionHandler.java | 199 public boolean openItem(ItemDetails<String> details, @ViewType int type, in openItem() 200 @ViewType int fallback) { in openItem() 214 public boolean openDocument(DocumentInfo doc, @ViewType int type, @ViewType int fallback) { in openDocument()
|
/packages/apps/Calendar/src/com/android/calendar/month/ |
D | MonthByWeekAdapter.java | 35 import com.android.calendar.CalendarController.ViewType; 270 ViewType.CURRENT, CalendarController.EXTRA_GOTO_DATE, null, null); in onDayTapped() 274 ViewType.DETAIL, in onDayTapped()
|
D | MonthByWeekFragment.java | 50 import com.android.calendar.CalendarController.ViewType; 463 ViewType.CURRENT, DateUtils.FORMAT_SHOW_DATE | DateUtils.FORMAT_NO_MONTH_DAY in setMonthDisplayed()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/ |
D | ActionHandler.java | 311 public boolean openItem(ItemDetails<String> details, @ViewType int type, in openItem() 312 @ViewType int fallback) { in openItem()
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/ |
D | AbstractActionHandlerTest.java | 92 ItemDetails<String> doc, @ViewType int type, @ViewType int fallback) { in setUp()
|