Home
last modified time | relevance | path

Searched refs:zen (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DZenModeController.java25 void setZen(int zen); in setZen() argument
36 public void onZenChanged(int zen) {} in onZenChanged() argument
DZenModeControllerImpl.java104 public void setZen(int zen) { in setZen() argument
105 mModeSetting.setValue(zen); in setZen()
184 private void fireZenChanged(int zen) { in fireZenChanged() argument
186 cb.onZenChanged(zen); in fireZenChanged()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DDemoStatusIcons.java67 String zen = args.getString("zen"); in dispatchDemoCommand() local
68 if (zen != null) { in dispatchDemoCommand()
69 int iconId = zen.equals("important") ? R.drawable.stat_sys_zen_important in dispatchDemoCommand()
70 : zen.equals("none") ? R.drawable.stat_sys_zen_none in dispatchDemoCommand()
DQSTileHost.java94 ZenModeController zen, HotspotController hotspot, in QSTileHost() argument
104 mZen = zen; in QSTileHost()
DPhoneStatusBarPolicy.java168 public void setZenMode(int zen) { in setZenMode() argument
169 mZen = zen; in setZenMode()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DZenModePanel.java364 private void handleUpdateZen(int zen) { in handleUpdateZen() argument
365 if (mSessionZen != -1 && mSessionZen != zen) { in handleUpdateZen()
366 setExpanded(zen != Global.ZEN_MODE_OFF); in handleUpdateZen()
367 mSessionZen = zen; in handleUpdateZen()
369 mZenButtons.setSelectedValue(zen); in handleUpdateZen()
392 final Object zen = mZenButtons.getSelectedValue(); in getSelectedZen() local
393 return zen != null ? (Integer) zen : defValue; in getSelectedZen()
401 final int zen = getSelectedZen(Global.ZEN_MODE_OFF); in updateWidgets() local
402 final boolean zenOff = zen == Global.ZEN_MODE_OFF; in updateWidgets()
403 final boolean zenImportant = zen == Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS; in updateWidgets()
[all …]
/frameworks/base/services/core/java/com/android/server/notification/
DZenModeHelper.java247 final boolean zen = mZenMode != Global.ZEN_MODE_OFF; in applyRestrictions()
254 final boolean muteCalls = zen && !mConfig.allowCalls || mEffectsSuppressed; in applyRestrictions()
470 final int zen = mZenMode; in matchesCallFilter() local
471 if (zen == Global.ZEN_MODE_NO_INTERRUPTIONS) return false; // nothing gets through in matchesCallFilter()
472 if (zen == Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS) { in matchesCallFilter()
DNotificationManagerService.java1604 final boolean zenOnly = filter != null && filter.zen; in dumpImpl()
3217 public boolean zen; field in DumpFilter
3228 filter.zen = true; in parseFromArguments()
3235 return zen ? true : sbn != null in matches()
3240 return zen ? true : component != null && matches(component.getPackageName()); in matches()
3244 return zen ? true : pkg != null && pkg.toLowerCase().contains(pkgFilter); in matches()
3249 return zen ? "zen" : ('\'' + pkgFilter + '\''); in toString()