Lines Matching refs:EditEventHelper
72 /* These should match up with EditEventHelper.EVENT_PROJECTION.
129 private EditEventHelper mHelper;
259 long dayInMs = EditEventHelper.DAY_IN_SECONDS*1000;
268 b.withSelection(EditEventHelper.ATTENDEES_DELETE_PREFIX + "?)",
365 mHelper = new EditEventHelper(mActivity, null);
392 mHelper = new EditEventHelper(mActivity, null);
429 mHelper = new EditEventHelper(mActivity, null);
444 assertTrue(mHelper.saveEvent(mModel1, mModel2, EditEventHelper.MODIFY_ALL));
454 EditEventHelper.MODIFY_ALL);
475 mHelper = new EditEventHelper(mActivity, null);
494 assertTrue(mHelper.saveEvent(mModel1, mModel2, EditEventHelper.MODIFY_ALL));
505 EditEventHelper.MODIFY_ALL);
530 mHelper = new EditEventHelper(mActivity, null);
548 assertTrue(mHelper.saveEvent(mModel1, mModel2, EditEventHelper.MODIFY_ALL));
563 mHelper = new EditEventHelper(mActivity, null);
583 assertTrue(mHelper.saveEvent(mModel1, mModel2, EditEventHelper.MODIFY_ALL));
593 EditEventHelper.MODIFY_ALL);
611 mHelper = new EditEventHelper(mActivity, null);
625 long dayInMs = EditEventHelper.DAY_IN_SECONDS*1000;
633 assertTrue(mHelper.saveEvent(mModel1, mModel2, EditEventHelper.MODIFY_SELECTED));
643 EditEventHelper.MODIFY_ALL);
672 mHelper = new EditEventHelper(mActivity, null);
685 long dayInMs = EditEventHelper.DAY_IN_SECONDS*1000;
693 assertTrue(mHelper.saveEvent(mModel1, mModel2, EditEventHelper.MODIFY_ALL_FOLLOWING));
728 mHelper = new EditEventHelper(mActivity, null);
743 long dayInMs = EditEventHelper.DAY_IN_SECONDS*1000;
750 assertTrue(mHelper.saveEvent(mModel1, mModel2, EditEventHelper.MODIFY_ALL_FOLLOWING));
786 EditEventHelper(mActivity, null);
801 long dayInMs = EditEventHelper.DAY_IN_SECONDS*1000;
806 assertTrue(mHelper.saveEvent(mModel1, mModel2, EditEventHelper.MODIFY_ALL_FOLLOWING));
819 EditEventHelper.MODIFY_ALL_FOLLOWING);
842 mHelper = new EditEventHelper(mActivity, null);
855 long dayInMs = EditEventHelper.DAY_IN_SECONDS*1000;
861 assertTrue(mHelper.saveEvent(mModel1, mModel2, EditEventHelper.MODIFY_ALL_FOLLOWING));
897 mHelper = new EditEventHelper(mActivity, null);
913 mHelper = new EditEventHelper(mActivity, null);
947 mHelper = new EditEventHelper(mActivity, null);
958 mHelper = new EditEventHelper(mActivity, null);
969 mHelper.checkTimeDependentFields(mModel1, mModel2, mValues, EditEventHelper.MODIFY_ALL);
976 EditEventHelper.MODIFY_SELECTED);
993 EditEventHelper.MODIFY_SELECTED);
1001 mHelper = new EditEventHelper(mActivity, null);
1023 EditEventHelper.MODIFY_SELECTED);
1039 mHelper = new EditEventHelper(mActivity, null);
1094 assertTrue(EditEventHelper.isSameEvent(mModel1, mModel2));
1097 assertFalse(EditEventHelper.isSameEvent(mModel1, mModel2));
1101 assertFalse(EditEventHelper.isSameEvent(mModel1, mModel2));
1115 mHelper = new EditEventHelper(mActivity, null);
1169 mHelper = new EditEventHelper(mActivity, null);
1227 assertTrue(EditEventHelper.isFirstEventInSeries(mModel1, mModel2));
1230 assertFalse(EditEventHelper.isFirstEventInSeries(mModel1, mModel2));
1237 mHelper = new EditEventHelper(mActivity, null);
1267 int selection = EditEventHelper.DOES_NOT_REPEAT;
1275 EditEventHelper.updateRecurrenceRule(selection, mModel1, weekStart);
1279 selection = EditEventHelper.REPEATS_CUSTOM;
1281 EditEventHelper.updateRecurrenceRule(selection, mModel1, weekStart);
1284 selection = EditEventHelper.REPEATS_DAILY;
1286 EditEventHelper.updateRecurrenceRule(selection, mModel1, weekStart);
1289 selection = EditEventHelper.REPEATS_EVERY_WEEKDAY;
1291 EditEventHelper.updateRecurrenceRule(selection, mModel1, weekStart);
1294 selection = EditEventHelper.REPEATS_WEEKLY_ON_DAY;
1296 EditEventHelper.updateRecurrenceRule(selection, mModel1, weekStart);
1299 selection = EditEventHelper.REPEATS_MONTHLY_ON_DAY;
1301 EditEventHelper.updateRecurrenceRule(selection, mModel1, weekStart);
1304 selection = EditEventHelper.REPEATS_MONTHLY_ON_DAY_COUNT;
1306 EditEventHelper.updateRecurrenceRule(selection, mModel1, weekStart);
1309 selection = EditEventHelper.REPEATS_YEARLY;
1311 EditEventHelper.updateRecurrenceRule(selection, mModel1, weekStart);
1319 mHelper = new EditEventHelper(mActivity, null);
1320 MatrixCursor c = new MatrixCursor(EditEventHelper.EVENT_PROJECTION);
1326 EditEventHelper.setModelFromCursor(mModel1, c);
1329 TEST_CURSOR_DATA[EditEventHelper.EVENT_INDEX_ALL_DAY] = "0";
1331 c = new MatrixCursor(EditEventHelper.EVENT_PROJECTION);
1337 EditEventHelper.setModelFromCursor(mModel1, c);
1340 TEST_CURSOR_DATA[EditEventHelper.EVENT_INDEX_RRULE] = null;
1342 c = new MatrixCursor(EditEventHelper.EVENT_PROJECTION);
1349 EditEventHelper.setModelFromCursor(mModel1, c);
1352 TEST_CURSOR_DATA[EditEventHelper.EVENT_INDEX_ALL_DAY] = "1";
1354 c = new MatrixCursor(EditEventHelper.EVENT_PROJECTION);
1361 EditEventHelper.setModelFromCursor(mModel1, c);
1369 mHelper = new EditEventHelper(mActivity, null);
1401 String domain = EditEventHelper.extractDomain("test.email@gmail.com");
1404 domain = EditEventHelper.extractDomain("bademail.no#$%at symbol");
1604 // This gets called by EditEventHelper to read or write the data