From e677d7113f6627161653f686b6381d2eef4d502f Mon Sep 17 00:00:00 2001 From: John Spurlock Date: Thu, 13 Feb 2014 12:52:19 -0500 Subject: Introduce zen mode. - New global zen mode setting with three values: ZEN_MODE_OFF, ZEN_MODE_LIMITED, ZEN_MODE_FULL - Status bar icon (on lhs) when in _LIMITED / _FULL - Rules are hardcoded for now: _LIMITED = intercept all notifications except calls/alarms _FULL = intercept everything - UI affordance in shade to set mode - Only one exit condition: "Until you delete this" - Intercepted notifications: - appear darker in the shade - do not cause sound/vibration - do not fire fullScreenIntents - do not contribute an icon to the status bar Change-Id: Ic36c95982b483432006bf9dab102a31370382aa9 --- .../spinner_default_holo_dark_am_no_underline.9.png | Bin 0 -> 408 bytes packages/SystemUI/res/drawable-hdpi/stat_sys_zen_full.png | Bin 0 -> 745 bytes .../SystemUI/res/drawable-hdpi/stat_sys_zen_limited.png | Bin 0 -> 614 bytes 3 files changed, 0 insertions(+), 0 deletions(-) create mode 100644 packages/SystemUI/res/drawable-hdpi/spinner_default_holo_dark_am_no_underline.9.png create mode 100644 packages/SystemUI/res/drawable-hdpi/stat_sys_zen_full.png create mode 100644 packages/SystemUI/res/drawable-hdpi/stat_sys_zen_limited.png (limited to 'packages/SystemUI/res/drawable-hdpi') diff --git a/packages/SystemUI/res/drawable-hdpi/spinner_default_holo_dark_am_no_underline.9.png b/packages/SystemUI/res/drawable-hdpi/spinner_default_holo_dark_am_no_underline.9.png new file mode 100644 index 0000000..267e7ba Binary files /dev/null and b/packages/SystemUI/res/drawable-hdpi/spinner_default_holo_dark_am_no_underline.9.png differ diff --git a/packages/SystemUI/res/drawable-hdpi/stat_sys_zen_full.png b/packages/SystemUI/res/drawable-hdpi/stat_sys_zen_full.png new file mode 100644 index 0000000..fa23e85 Binary files /dev/null and b/packages/SystemUI/res/drawable-hdpi/stat_sys_zen_full.png differ diff --git a/packages/SystemUI/res/drawable-hdpi/stat_sys_zen_limited.png b/packages/SystemUI/res/drawable-hdpi/stat_sys_zen_limited.png new file mode 100644 index 0000000..aa8635c Binary files /dev/null and b/packages/SystemUI/res/drawable-hdpi/stat_sys_zen_limited.png differ -- cgit v1.1