Lines Matching defs:viewType
135 public interface ViewType {
156 public int viewType; // one of the ViewType
371 info.viewType = ViewType.CURRENT;
400 * @param viewType {@link ViewType}
403 int viewType) {
404 sendEvent(sender, eventType, start, end, start, eventId, viewType, EXTRA_GOTO_TIME, null,
412 int viewType, long extraLong, String query, ComponentName componentName) {
413 viewType, extraLong, query,
418 long eventId, int viewType, long extraLong, String query, ComponentName componentName) {
425 info.viewType = viewType;
451 if (event.viewType == ViewType.DETAIL) {
452 event.viewType = mDetailViewType;
454 } else if (event.viewType == ViewType.CURRENT) {
455 event.viewType = mViewType;
456 } else if (event.viewType != ViewType.EDIT) {
457 mViewType = event.viewType;
459 if (event.viewType == ViewType.AGENDA || event.viewType == ViewType.DAY
460 || (Utils.getAllowWeekForDetailView() && event.viewType == ViewType.WEEK)) {
826 // Forces the viewType. Should only be used for initialization.
827 public void setViewType(int viewType) {
828 mViewType = viewType;
874 builder.append(", viewType=");
875 builder.append(eventInfo.viewType);