summaryrefslogtreecommitdiff
path: root/packages/SystemUI/src/com/android/systemui/volume/ZenModePanel.java
Commit message (Collapse)AuthorAgeFilesLines
* Remove QSDetailFabian Kozynski2022-02-101-1077/+0
| | | | | | | | | | | | Also remove related classes, calls, and resources that were used by QSDetail and are no longer needed. Test: atest SystemUITests Test: TileService cts tests Test: adb shell cmd statusbar expand-settings Fixes: 198796184 Change-Id: Ib5c54f197d03794aca35d0305e3e62c7daedb23a
* Update QSDndEventsBeverly2022-02-081-6/+0
| | | | | | | | | | | | | | * EnableZenModeDialog lives in SettingsLib, so add an interface to allow the SystemUI version to log ui events * Add UIEvents that weren't ported over from MetricsLogger => UiEventLogger Test: atest DndTileTest EnableZenModeDialogTest Test: check unbuffered log with adb shell cmd stats print-logs && adb logcat -s statsd:I | grep --line-buffered ' (90)' Fixes: 206792037 Change-Id: I25c4f1b08a1793dcb24aabc6b31324f93b117240
* Add new QS Ui EVentsFabian Kozynski2020-04-301-0/+6
| | | | | | | | | | | | | | | | | This CL adds events for: * QS interactions * StatusBarState changes * User Switcher interaction * DND panel interaction The new QS events that refer to particular tiles attach the following: * spec (if framework tile) or package (if CustomTile) * instanceId associated with the QSTile object on creation Test: atest SystemUITests (including new tests) Test: manual using statsd_testdrive Fixes: 147508235 Change-Id: I43d8fe1fdb2aec1f16032da61a599ebc29809afc
* DND alert info set to INVISIBLE (not GONE) to retain formatting.Beverly2017-09-191-4/+3
| | | | | | Change-Id: I182aed5f48d4c2a935a7bfbb9a240046b27dea58 Fixes: 64688590 Test: Manual based on repro steps
* Differentiate dnd countdowns/countdowns to an alarmJulia Reynolds2017-07-261-162/+83
| | | | | | Test: runtest systemui, manual Change-Id: I63b6c6b4128c7c3551efc64f54ce3e55ab2de54d Fixes: 36569568
* Fix zen panel themingJason Monk2017-07-111-1/+1
| | | | | | | | | The theme of the panel might be different than sysui now, so it needs to use the right context. Test: visual Change-Id: Ic647421113f6721e63e69afc2b9c5d6c5b0e86f2 Fixes: 63530105
* Update zen introduction textJulia Reynolds2017-06-051-4/+24
| | | | | | | | | | And add alarm text to QS & volume dialog. Change-Id: I8e3c06d6629473c453e579f23c75acd7cdfd4db1 Fixes: 38303817 Fixes: 31533768 Fixes: 33815404 Test: manual
* Merge "Random hacks to make QS DND work" into oc-dev am: 28355df745Jason Monk2017-05-301-10/+5
|\ | | | | | | | | | | am: d463c15584 Change-Id: I9354043ccc00053dd214bb7bb8a878f88596c054
| * Random hacks to make QS DND workJason Monk2017-05-301-10/+5
| | | | | | | | | | | | | | | | | | | | | | | | - Don't clear out as much state on attach - Make sure condition updates trigger a reflecting radio check - Assume that null conditions are forever Test: manual Fixes: 37944320 Fixes: 36031650 Change-Id: Ie926d16226e7b5431551a33515ac2b847e1d7a93
| * Update zen introduction textJulia Reynolds2017-05-101-4/+24
|/ | | | | | | | | And add alarm text to QS & volume dialog. Fixes: 31533768 Fixes: 33815404 Test: manual Change-Id: I82f119a8bdbfbc62b0ace752dca0fbc0d5bf8a35
* QS + DND interaction againJason Monk2017-04-201-10/+27
| | | | | | | | | | | | | | - Fix up attach/detach because those aren't good signals for DND panels, instead use aggregate visibility - Do better initialization on open because filling in that state is now important (previously it was guaranteed to be just turned on) - Fix when forever is selected, if DND is on and doesn't have a condition, it doesn't mean we should turn one on. Test: manual Change-Id: I61dcf3c2b17179b5867f017c767d0c2d6d4940f3 Fixes: 37366004
* Updates for QS DND tileJason Monk2017-04-111-32/+115
| | | | | | | | | - Make detail panels not close when turned off - Add auto-rule state for DND tile Test: manual Change-Id: I533cf0a27c54e84cd74ede72dcf10e2e5f9a070f Fixes: 34765805
* Volume header changesJulia Reynolds2016-12-151-15/+10
| | | | | | | | | | - Show always - Update locale immediately Bug: 31847162 Bug: 33277887 Test: manual Change-Id: I89c5cbddf08df3a9eba20f2fb3b76eec69926777
* Remove 'until next alarm'. am: 5edde5f18aJulia Reynolds2016-11-151-2/+3
|\ | | | | | | | | | | am: 177a976a69 Change-Id: Ibc7fa4b34ea4822e61c78477007cef862dfe0127
| * Remove 'until next alarm'.Julia Reynolds2016-11-151-2/+3
| |\ | | | | | | | | | | | | | | | am: 5edde5f18a Change-Id: I0f247f52155f78cefe0d2e850e9d5f1ca65dfb42
| | * Remove 'until next alarm'.Julia Reynolds2016-11-141-2/+3
| | | | | | | | | | | | | | | | | | Test: manual Bug: 32773368 Change-Id: I03db93d9371327a8e32929ce7fda66729cfe4a82
* | | Update package names to work with the proto3 compilerTamas Berghammer2016-11-081-1/+1
| | | | | | | | | | | | | | | Bug: b/28974522 Change-Id: I5f3adf4946ee4ba1e09e4f40afe83c151405972a
* | | sysui: refactor for extensibility.Muyuan Li2016-06-101-2/+7
|/ / | | | | | | | | | | Bug: 29131017 Change-Id: Ied645f015cec9d13e240c628842d76b3853f2413 (cherry picked from commit 31126c97d0e0f4b238b1a3c715837a497f88cac6)
* | Merge "Fix memory leak via ZenModeController callbacks." into nyc-dev am: ↵Julia Reynolds2016-06-021-1/+2
|\| | | | | | | | | | | | | | | | | | | | | 30e434a996 am: 84e725309c * commit '84e725309c468b9f8d49e25562b6ee400c79992e': Fix memory leak via ZenModeController callbacks. Change-Id: I865083fdfb2ddaa77d772d77770c1a48859dc03c
| * Fix memory leak via ZenModeController callbacks.Julia Reynolds2016-06-021-1/+2
| | | | | | | | | | Bug: 29064258 Change-Id: Ie817ec50206ce23561775fc0ac178754b946f030
* | Merge "Hide alarm condition if there\'s no alarm." into nyc-devJulia Reynolds2016-06-021-0/+8
|\| | | | | | | | | | | | | | | | | am: 62716a9197 * commit '62716a9197ba77b349d74770e6cd3b114e5f5de7': Hide alarm condition if there's no alarm. Change-Id: Ib6c339aa3d00639fcad3bc15791787a52010a84f
| * Hide alarm condition if there's no alarm.Julia Reynolds2016-06-021-0/+8
| | | | | | | | | | Change-Id: Iba8c9eb2bd3033683c25c5cf145fc52f9ac0f0d2 Fixes: 27698976
* | Merge "Radio buttons belong in a radio group." into nyc-devJulia Reynolds2016-06-011-33/+29
|\| | | | | | | | | | | | | | | | | am: d05a7b5972 * commit 'd05a7b5972cb06f711cc8cfa66efa9f0f6d901a5': Radio buttons belong in a radio group. Change-Id: Ia5b4cd5135fb78ccf98f1b05e63fafc7a04349d8
| * Radio buttons belong in a radio group.Julia Reynolds2016-06-011-33/+29
| | | | | | | | | | | | | | Fix for 'multiple buttons selected at once' issue. Change-Id: Iec54eac699886ed1c7b8afd91382ff9b5750c696 Fixes: 27698976
* | Merge "Uncheck unselected radio buttons." into nyc-devJulia Reynolds2016-05-041-10/+18
|\| | | | | | | | | | | | | | | | | am: 69e0d82994 * commit '69e0d8299460afeea1d33619b341937914a42839': Uncheck unselected radio buttons. Change-Id: Ib79f4b6c5d87fc088280557615545797a577d0fe
| * Uncheck unselected radio buttons.Julia Reynolds2016-05-041-10/+18
| | | | | | | | | | Fixes: 28518097 Change-Id: I22cce7837802a97f15af4170f8991db1685ee121
* | Merge "Fix: the label "customize" is not updated after changing language" ↵Treehugger Robot2016-04-131-0/+3
|\ \ | |/ |/| | | | | | | | | | | | | | | | | am: b4c4e20 am: d5be2a2 * commit 'd5be2a2055b8e0f4067f00e8756fdf22c084e94d': Fix: the label "customize" is not updated after changing language Change-Id: I7bc30cf66b76b062468b443fd1ef965386c5761e
| * Fix: the label "customize" is not updated after changing languageYongjiang Wu2016-03-311-0/+3
| | | | | | | | | | | | | | | | The text "customize" is not updated in onConfigurationChanged() after changing language, so the "customize" text is displayed incorrectly. Change-Id: Id6ecdff1f22724955fb1080609da15ccd38d2209
* | Merge "sysui: refactor for extensibility" into nyc-devMuyuan Li2016-03-291-5/+9
|\ \
| * | sysui: refactor for extensibilityMuyuan Li2016-03-291-5/+9
| | | | | | | | | | | | | | | | | | | | | | | | Split button creation code from init in ZenModePanel Bug: 27101250 Change-Id: Id4bbd505b4e311fdcd2d330f20b73d2338fa9686 (cherry picked from commit 80870e93a49c08f4f4e57d2c0902d2308faa3f7a)
* | | sysui: refactor for extensionMuyuan Li2016-03-291-6/+8
|/ / | | | | | | | | | | | | | | | | | | Refactored ZenModePanel: 1. Button creation is split from onFinishInflate. 2. Added a method to query current Zen condition 3. Made mZenButtonsCallback protected. Change-Id: I959fa2f7770ba1888af01eababe7c4512981332d (cherry picked from commit 79df200108c5240c0d2a041d7d841f8d9d143ec0)
* | Tuner volume dnd panel workJason Monk2016-02-181-6/+0
| | | | | | | | Change-Id: Id7852e96f987d13c06041e2280d44163a296f49b
* | Alarm can end time-based rule.Julia Reynolds2016-02-171-2/+2
| | | | | | | | | | Bug: 21069008 Change-Id: I857d85a32eb44ca873da4a9f19323c48a922ab9f
* | move framework metrics over to new protoChris Wren2016-01-271-3/+4
| | | | | | | | Change-Id: Ie46e946dc787350c15c10aa4385a6b7df7e181a8
* | Add zen panel to volume dialog again in tunerJason Monk2016-01-191-0/+7
| | | | | | | | Change-Id: Ie74a6bd8ecd7f2d8b16e96cc0087e63796d5f9a2
* | Merge "Use GregorianCalendar.add() when searching for next alarm." am: ↵Dan Sandler2016-01-041-1/+1
|\| | | | | | | | | | | | | | | | | b52de8248f am: 65a35016c1 * commit '65a35016c1f22805c2e70b49ff2b121b9f7dc739': Use GregorianCalendar.add() when searching for next alarm.
| * Merge "Use GregorianCalendar.add() when searching for next alarm."Dan Sandler2016-01-041-1/+1
| |\ | | | | | | | | | | | | | | | | | | am: b52de8248f * commit 'b52de8248f8e5f95f7984967e646eb9b3a641526': Use GregorianCalendar.add() when searching for next alarm.
| | * Use GregorianCalendar.add() when searching for next alarm.Dan Sandler2015-12-311-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Never attribute to malice that which is adequately explained by a bug, particularly one involving date math. Bug: 26326394 Change-Id: I3483ac102c678a8852565c8ea94c06e19b3f26d8
| * | Fix radio button flash on hour change.Julia Reynolds2015-12-071-10/+1
| |/ | | | | | | | | | | | | | | Also delete confusing debug variable. Bug: 25459795 Bug: 25783349 Change-Id: I9208ece4edf5fbcff5f257994f47d81a901766e8
* | Fix radio button flash on hour change.Julia Reynolds2015-11-051-10/+1
| | | | | | | | | | | | | | Also delete confusing debug variable. Bug: 25459795 Change-Id: I9208ece4edf5fbcff5f257994f47d81a901766e8
* | resolved conflicts for 429e7dcd to masterJulia Reynolds2015-10-161-11/+9
|\| | | | | | | Change-Id: Id0aca75915a054253d032d333defba1a38b80abe
| * Add 'until next alarm' option to QS zen panel.Julia Reynolds2015-10-151-118/+65
| | | | | | | | | | | | | | | | | | | | | | Unlike the implementation in LMR1, this is a countdown condition (a countdown until the time of what was the next alarm when the rule was created). The rule will not change if alarms change. Also, alarms up to 7 days in the future will be considered. Bug: 21648799 Change-Id: Id7fa9dbdbad1539e4da19b1d0e0c4395bb13e6cb (cherry picked from commit 0842fe87b27b9e4a7aecfec25b93dba2d39f398a)
* | Add 'until next alarm' option to QS zen panel.Julia Reynolds2015-10-141-115/+65
|/ | | | | | | | | | Unlike the implementation in LMR1, this is a countdown condition (a countdown until the time of what was the next alarm when the rule was created). The rule will not change if alarms change. Also, alarms up to 7 days in the future will be considered. Bug: 21648799 Change-Id: Id7fa9dbdbad1539e4da19b1d0e0c4395bb13e6cb
* only count clicks on zen mode selectorChris Wren2015-06-301-3/+5
| | | | | | | | We were counting all changes of mode while the panel was visible, including the first initialization of the selector. Bug: 21196323 Change-Id: Icf2165056f03507b0b8c6a21ec1f07830c29173a
* Zen: Tweak total silence new user message for non-voice devices.John Spurlock2015-06-211-0/+4
| | | | | Bug: 21953388 Change-Id: I395af64b175b22fc58d80529cdbb12ebd9e00115
* Merge "Zen a11y: Add a blurb re: screen readers to total silence." into mnc-devJohn Spurlock2015-06-101-1/+1
|\
| * Zen a11y: Add a blurb re: screen readers to total silence.John Spurlock2015-06-101-1/+1
| | | | | | | | | | Bug: 21640568 Change-Id: Ia1278844270d157f8bd9f0e853e4e7296e025aef
* | Merge "QS: Handle font-size changes immediately in ZenModePanel." into mnc-devJohn Spurlock2015-06-081-2/+8
|\ \ | |/ |/|
| * QS: Handle font-size changes immediately in ZenModePanel.John Spurlock2015-06-081-2/+8
| | | | | | | | | | | | | | | | And make sure the condition row is tall enough to accomodate huge text. Bug: 20346315 Change-Id: I9346f80edd7f0069d6363fe5377b36b0bf5aca62
* | Zen QS: Use explicit content descriptions for zen buttons.John Spurlock2015-06-081-0/+3
|/ | | | | Bug: 21661136 Change-Id: I3a6f7d6deb29584e707c1deb771e3db660007529