Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DZenToast.java64 public void show(int zen) { in show() argument
67 mHandler.obtainMessage(MSG_SHOW, zen, 0).sendToTarget(); in show()
76 private void handleShow(int zen, String overrideText) { in handleShow() argument
81 switch (zen) { in handleShow()
155 final int zen = intent.getIntExtra(EXTRA_ZEN, ZEN_MODE_IMPORTANT_INTERRUPTIONS);
157 handleShow(zen, text);
DZenModePanel.java299 private void handleUpdateZen(int zen) { in handleUpdateZen() argument
300 if (mSessionZen != -1 && mSessionZen != zen) { in handleUpdateZen()
301 setExpanded(zen != Global.ZEN_MODE_OFF); in handleUpdateZen()
302 mSessionZen = zen; in handleUpdateZen()
304 mZenButtons.setSelectedValue(zen); in handleUpdateZen()
309 final Object zen = mZenButtons.getSelectedValue(); in getSelectedZen() local
310 return zen != null ? (Integer) zen : defValue; in getSelectedZen()
314 final int zen = getSelectedZen(Global.ZEN_MODE_OFF); in updateWidgets() local
315 final boolean zenOff = zen == Global.ZEN_MODE_OFF; in updateWidgets()
316 final boolean zenImportant = zen == Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS; in updateWidgets()
[all …]
/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()
183 private void fireZenChanged(int zen) { in fireZenChanged() argument
185 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()
DPhoneStatusBarPolicy.java157 public void setZenMode(int zen) { in setZenMode() argument
158 mZen = zen; in setZenMode()
DQSTileHost.java93 ZenModeController zen, HotspotController hotspot, in QSTileHost() argument
103 mZen = zen; in QSTileHost()
/frameworks/base/services/core/java/com/android/server/notification/
DZenModeHelper.java223 final boolean zen = mZenMode != Global.ZEN_MODE_OFF; in updateZenMode()
227 final boolean muteCalls = zen && !mConfig.allowCalls; in updateZenMode()
389 final int zen = mZenMode; in matchesCallFilter() local
390 if (zen == Global.ZEN_MODE_NO_INTERRUPTIONS) return false; // nothing gets through in matchesCallFilter()
391 if (zen == Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS) { in matchesCallFilter()
DNotificationManagerService.java1536 final boolean zenOnly = filter != null && filter.zen; in dumpImpl()
3002 public boolean zen; field in DumpFilter
3013 filter.zen = true; in parseFromArguments()
3020 return zen ? true : sbn != null in matches()
3025 return zen ? true : component != null && matches(component.getPackageName()); in matches()
3029 return zen ? true : pkg != null && pkg.toLowerCase().contains(pkgFilter); in matches()
3034 return zen ? "zen" : ('\'' + pkgFilter + '\''); in toString()
/frameworks/base/media/java/android/media/
DAudioService.java1762 final int zen = Global.getInt(mContentResolver, Global.ZEN_MODE, Global.ZEN_MODE_OFF); in checkZen() local
1763 if (ringerMode != AudioManager.RINGER_MODE_SILENT && zen != Global.ZEN_MODE_OFF) { in checkZen()