Searched refs:zen (Results 1 – 10 of 10) sorted by relevance
64 public void show(int zen) { in show() argument67 mHandler.obtainMessage(MSG_SHOW, zen, 0).sendToTarget(); in show()76 private void handleShow(int zen, String overrideText) { in handleShow() argument81 switch (zen) { in handleShow()155 final int zen = intent.getIntExtra(EXTRA_ZEN, ZEN_MODE_IMPORTANT_INTERRUPTIONS);157 handleShow(zen, text);
299 private void handleUpdateZen(int zen) { in handleUpdateZen() argument300 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() local310 return zen != null ? (Integer) zen : defValue; in getSelectedZen()314 final int zen = getSelectedZen(Global.ZEN_MODE_OFF); in updateWidgets() local315 final boolean zenOff = zen == Global.ZEN_MODE_OFF; in updateWidgets()316 final boolean zenImportant = zen == Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS; in updateWidgets()[all …]
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()183 private void fireZenChanged(int zen) { in fireZenChanged() argument185 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()
157 public void setZenMode(int zen) { in setZenMode() argument158 mZen = zen; in setZenMode()
93 ZenModeController zen, HotspotController hotspot, in QSTileHost() argument103 mZen = zen; in QSTileHost()
223 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() local390 if (zen == Global.ZEN_MODE_NO_INTERRUPTIONS) return false; // nothing gets through in matchesCallFilter()391 if (zen == Global.ZEN_MODE_IMPORTANT_INTERRUPTIONS) { in matchesCallFilter()
1536 final boolean zenOnly = filter != null && filter.zen; in dumpImpl()3002 public boolean zen; field in DumpFilter3013 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()
1762 final int zen = Global.getInt(mContentResolver, Global.ZEN_MODE, Global.ZEN_MODE_OFF); in checkZen() local1763 if (ringerMode != AudioManager.RINGER_MODE_SILENT && zen != Global.ZEN_MODE_OFF) { in checkZen()