HomeSort by relevance Sort by last modified time
    Searched refs:zenMode (Results 1 - 12 of 12) sorted by null

  /packages/apps/Settings/src/com/android/settings/notification/
ZenModeSettingsBase.java 89 final int zenMode = Settings.Global.getInt(getContentResolver(), Global.ZEN_MODE, mZenMode);
90 if (zenMode == mZenMode) return;
91 mZenMode = zenMode;
134 protected void setZenMode(int zenMode, Uri conditionId) {
135 NotificationManager.from(mContext).setZenMode(zenMode, conditionId, TAG);
ZenModeRuleSettingsBase.java 122 final int zenMode = Integer.parseInt((String) newValue);
123 if (zenMode == mRule.getInterruptionFilter()) return false;
124 if (DEBUG) Log.d(TAG, "onPrefChange zenMode=" + zenMode);
125 mRule.setInterruptionFilter(zenMode);
ZenModeAutomationSettings.java 212 private static String computeZenModeCaption(Resources res, int zenMode) {
213 switch (zenMode) {
  /frameworks/base/services/core/java/com/android/server/notification/
ZenLog.java 99 public static void traceSetZenMode(int zenMode, String reason) {
100 append(TYPE_SET_ZEN_MODE, zenModeToString(zenMode) + "," + reason);
176 private static String zenModeToString(int zenMode) {
177 switch (zenMode) {
ZenModeHelper.java 447 rule.zenMode = NotificationManager.zenModeFromInterruptionFilter(
453 NotificationManager.zenModeToInterruptionFilter(rule.zenMode), rule.enabled,
457 public void setManualZenMode(int zenMode, Uri conditionId, String caller, String reason) {
458 setManualZenMode(zenMode, conditionId, reason, caller, true /*setRingerMode*/);
461 private void setManualZenMode(int zenMode, Uri conditionId, String reason, String caller,
466 if (!Global.isValidZenMode(zenMode)) return;
467 if (DEBUG) Log.d(TAG, "setManualZenMode " + Global.zenModeToString(zenMode)
471 if (zenMode == Global.ZEN_MODE_OFF) {
481 newRule.zenMode = zenMode;
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
TunerZenModePanel.java 110 public void setZenState(int zenMode) {
111 mZenMode = zenMode;
  /frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
Events.java 204 private static String zenModeToString(int zenMode) {
205 switch (zenMode) {
VolumeDialogController.java 424 if (mState.zenMode == zen) return false;
425 mState.zenMode = zen;
474 mNoMan.setZenMode(mState.zenMode, condition != null ? condition.id : null, TAG);
    [all...]
VolumeDialog.java 696 final boolean visible = mState.zenMode != Global.ZEN_MODE_OFF
712 mZenPanel.setZenState(mState.zenMode);
743 final boolean isZenAlarms = mState.zenMode == Global.ZEN_MODE_ALARMS;
744 final boolean isZenNone = mState.zenMode == Global.ZEN_MODE_NO_INTERRUPTIONS;
    [all...]
ZenModePanel.java 368 final int zen = rule != null ? rule.zenMode : Global.ZEN_MODE_OFF;
    [all...]
  /frameworks/base/core/java/android/service/notification/
ZenModeConfig.java 291 return rule == null || Global.isValidZenMode(rule.zenMode) && sameCondition(rule);
295 return rule != null && !TextUtils.isEmpty(rule.name) && Global.isValidZenMode(rule.zenMode)
501 rt.zenMode = tryParseZenMode(zen, -1);
502 if (rt.zenMode == -1) {
520 out.attribute(null, RULE_ATT_ZEN, Integer.toString(rule.zenMode));
    [all...]
  /frameworks/base/core/java/android/app/
NotificationManager.java 478 rule.conditionId, zenModeToInterruptionFilter(rule.zenMode), rule.enabled,
    [all...]

Completed in 129 milliseconds