Searched refs:zen (Results 1 – 8 of 8) sorted by relevance
25 void setZen(int zen); in setZen() argument36 public void onZenChanged(int zen) {} in onZenChanged() argument
104 public void setZen(int zen) { in setZen() argument105 mModeSetting.setValue(zen); in setZen()184 private void fireZenChanged(int zen) { in fireZenChanged() argument186 cb.onZenChanged(zen); in fireZenChanged()
67 String zen = args.getString("zen"); in dispatchDemoCommand() local68 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()
94 ZenModeController zen, HotspotController hotspot, in QSTileHost() argument104 mZen = zen; in QSTileHost()
168 public void setZenMode(int zen) { in setZenMode() argument169 mZen = zen; in setZenMode()
364 private void handleUpdateZen(int zen) { in handleUpdateZen() argument365 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() local393 return zen != null ? (Integer) zen : defValue; in getSelectedZen()401 final int zen = getSelectedZen(Global.ZEN_MODE_OFF); in updateWidgets() local402 final boolean zenOff = zen == Global.ZEN_MODE_OFF; in updateWidgets()403 final boolean zenImportant = zen == Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS; in updateWidgets()[all …]
247 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() local471 if (zen == Global.ZEN_MODE_NO_INTERRUPTIONS) return false; // nothing gets through in matchesCallFilter()472 if (zen == Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS) { in matchesCallFilter()
1604 final boolean zenOnly = filter != null && filter.zen; in dumpImpl()3217 public boolean zen; field in DumpFilter3228 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()