Searched refs:ZEN_MODE_ALARMS (Results 1 – 14 of 14) sorted by relevance
19 import static android.provider.Settings.Global.ZEN_MODE_ALARMS;143 int zen = Prefs.getInt(mContext, Prefs.Key.DND_FAVORITE_ZEN, Global.ZEN_MODE_ALARMS); in handleClick()188 case ZEN_MODE_ALARMS: in handleUpdateState()306 ZEN_MODE_ALARMS); in setToggleState()
794 case Global.ZEN_MODE_ALARMS: in applyZenToRingerMode()859 rule1.zenMode = Global.ZEN_MODE_ALARMS; in appendDefaultScheduleRules()875 rule2.zenMode = Global.ZEN_MODE_ALARMS; in appendDefaultScheduleRules()892 rule.zenMode = Global.ZEN_MODE_ALARMS; in appendDefaultEventRules()902 case Global.ZEN_MODE_ALARMS: return 2; in zenSeverity()926 && mZenMode != Global.ZEN_MODE_ALARMS) { in onSetRingerModeInternal()927 newZen = Global.ZEN_MODE_ALARMS; in onSetRingerModeInternal()936 || mZenMode == Global.ZEN_MODE_ALARMS)) { in onSetRingerModeInternal()967 newZen = Global.ZEN_MODE_ALARMS; in onSetRingerModeExternal()
82 if (zen == Global.ZEN_MODE_ALARMS) return false; // not an alarm in matchesCallFilter()115 case Global.ZEN_MODE_ALARMS: in shouldIntercept()
180 case Global.ZEN_MODE_ALARMS: return "alarms"; in zenModeToString()
63 ZEN_MODE_ALARMS = 3; enumerator
87 Global.ZEN_MODE_ALARMS); in onClick()
208 case Global.ZEN_MODE_ALARMS: return "alarms"; in zenModeToString()
133 return mZen == Global.ZEN_MODE_ALARMS; in isZenAlarms()
180 Global.ZEN_MODE_ALARMS); in createZenButtons()286 case Global.ZEN_MODE_ALARMS: in prefKeyForConfirmation()523 final boolean zenAlarm = zen == Global.ZEN_MODE_ALARMS; in updateWidgets()838 case Global.ZEN_MODE_ALARMS: in announceConditionSelection()
740 final boolean isZenAlarms = mState.zenMode == Global.ZEN_MODE_ALARMS; in updateVolumeRowH()
1140 case Global.ZEN_MODE_ALARMS: return INTERRUPTION_FILTER_ALARMS; in zenModeToInterruptionFilter()1151 case INTERRUPTION_FILTER_ALARMS: return Global.ZEN_MODE_ALARMS; in zenModeFromInterruptionFilter()
137 return mNotificationOrRing && mZenMode == Global.ZEN_MODE_ALARMS in isZenMuted()
370 } else if (zen != Global.ZEN_MODE_NO_INTERRUPTIONS && zen != Global.ZEN_MODE_ALARMS && in updateVolumeZen()
9683 /** @hide */ public static final int ZEN_MODE_ALARMS = 3; field in Settings.Global9687 if (mode == ZEN_MODE_ALARMS) return "ZEN_MODE_ALARMS"; in zenModeToString()9696 case Global.ZEN_MODE_ALARMS: in isValidZenMode()