Home
last modified time | relevance | path

Searched refs:ViewType (Results 1 – 14 of 14) sorted by relevance

/packages/apps/Calendar/src/com/android/calendar/
DAllInOneActivity.java69 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 …]
DCalendarViewAdapter.java19 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()
DCalendarController.java118 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()
DUtils.java54 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()
DGeneralPreferences.java113 public static final int DEFAULT_START_VIEW = CalendarController.ViewType.WEEK;
114 public static final int DEFAULT_DETAILED_VIEW = CalendarController.ViewType.DAY;
DDayView.java81 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/
DActionHandler.java53 public @interface ViewType {} annotation
129 boolean openItem(ItemDetails<String> doc, @ViewType int type, @ViewType int fallback); in openItem()
DAbstractActionHandler.java248 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/
DTestActionHandler.java59 public boolean openItem(ItemDetails<String> doc, @ViewType int type, @ViewType int fallback) { in openItem()
/packages/apps/DocumentsUI/src/com/android/documentsui/files/
DActionHandler.java199 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/
DMonthByWeekAdapter.java35 import com.android.calendar.CalendarController.ViewType;
270 ViewType.CURRENT, CalendarController.EXTRA_GOTO_DATE, null, null); in onDayTapped()
274 ViewType.DETAIL, in onDayTapped()
DMonthByWeekFragment.java50 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/
DActionHandler.java311 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/
DAbstractActionHandlerTest.java92 ItemDetails<String> doc, @ViewType int type, @ViewType int fallback) { in setUp()