Home | History | Annotate | Download | only in event

Lines Matching refs:Utils

65 import com.android.calendar.Utils;
115 int mModification = Utils.MODIFY_UNINITIALIZED;
181 mOnDone.setDoneCode(Utils.DONE_EXIT);
331 MatrixCursor matrixCursor = Utils.matrixCursorFromCursor(cursor);
355 int displayColor = Utils.getDisplayColorFromColor(rawColor);
419 if (mShowModifyDialogOnLaunch && mModification == Utils.MODIFY_UNINITIALIZED) {
423 mModification = Utils.MODIFY_ALL;
540 mModification = Utils.MODIFY_ALL;
556 mUseCustomActionBar = !Utils.getConfigBool(mActivity, R.bool.multiple_pane_config);
659 if (mModification == Utils.MODIFY_UNINITIALIZED) {
660 mModification = Utils.MODIFY_ALL;
662 mOnDone.setDoneCode(Utils.DONE_SAVE | Utils.DONE_EXIT);
665 mOnDone.setDoneCode(Utils.DONE_REVERT);
671 mOnDone.setDoneCode(Utils.DONE_EXIT);
674 mOnDone.setDoneCode(Utils.DONE_REVERT);
678 mOnDone.setDoneCode(Utils.DONE_REVERT);
709 if (mModification == Utils.MODIFY_UNINITIALIZED) {
752 mModification = notSynced ? Utils.MODIFY_ALL
753 : Utils.MODIFY_SELECTED;
754 if (mModification == Utils.MODIFY_SELECTED) {
759 mModification = notSynced ? Utils.MODIFY_ALL_FOLLOWING
760 : Utils.MODIFY_ALL;
762 mModification = Utils.MODIFY_ALL_FOLLOWING;
794 if (mModification == Utils.MODIFY_UNINITIALIZED) {
797 mModification = Utils.MODIFY_ALL;
800 if ((mCode & Utils.DONE_SAVE) != 0 && mModel != null
822 } else if ((mCode & Utils.DONE_SAVE) != 0 && mModel != null && isEmptyNewEvent()) {
826 if ((mCode & Utils.DONE_DELETE) != 0 && mOriginalModel != null
832 case Utils.MODIFY_SELECTED:
835 case Utils.MODIFY_ALL_FOLLOWING:
838 case Utils.MODIFY_ALL:
847 if ((mCode & Utils.DONE_EXIT) != 0) {
850 if ((mCode & Utils.DONE_SAVE) != 0) {
857 String tz = Utils.getTimeZone(mActivity, null);
910 mOnDone.setDoneCode(Utils.DONE_SAVE);
970 mOnDone.setDoneCode(Utils.DONE_SAVE);