History log of /frameworks/base/packages/SystemUI/src/com/android/systemui/volume/VolumeDialogComponent.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
3edad31233d391eb55ffe688beb1234b5b79be8f 05-Jun-2017 Jason Monk <jmonk@google.com> Fix up some jank from unnecessary reinflation

Don't need to re-inflate fragments because of ui mode change.

Test: manual
Change-Id: I8cb8ff4f64b5c1cb5982d39c6acced682eaa4d41
Fixes: 62041537
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/VolumeDialogComponent.java
a29528979cdd6a885869b7651f3b0f93f75843bb 26-May-2017 Jason Monk <jmonk@google.com> Make volume dialog pick up on theme changes

Test: change theme, view volume
Change-Id: I3f5b6ea7fd949e72624458a13b6c953629fcd1b5
Fixes: 38408033
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/VolumeDialogComponent.java
782cd6711bc15e3f03456210b3543a67606d6591 22-Mar-2017 Jason Monk <jmonk@google.com> Create plugin interface for volume dialog

Very few logic changes, mostly just breaking out certain interfaces
and classes to the plugin lib.

Test: make + volume keys
Change-Id: Ieabc6d35f6ef980842849236a0b8ffd5543b3a2c
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/VolumeDialogComponent.java
ec34da8f6f31c5ee1e543c0c7999a067487e0ce9 24-Feb-2017 Jason Monk <jmonk@google.com> Add method for plugins to reference global dependencies

The new annotation versioning system allows plugins to share common
global interfaces that can be versioned on their own. To facilitate
this add a static method for plugins to get a hold of dependencies.
To get any dependency a plugin must @Requires it so it can be version
checked.

Test: Plugin that uses the new call.
Change-Id: I8e01260f8fbc14465502d506a7aa08212795ad9b
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/VolumeDialogComponent.java
de850bbcaa61c1874b803f2086443febbafd81a4 02-Feb-2017 Jason Monk <jmonk@google.com> Fix leaks in sysui

Add support for testing for PluginManager and TunerService leaks
and add tests for the known leaks and fix them. Also port PluginManager
and TunerService to Dependency to make them easier to handle in
tests.

Test: runtest systemui
Change-Id: I5642539ee24dd72f802905106decd0c87b41b4eb
Fixes: 34846972
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/VolumeDialogComponent.java
2a6ea9c2a1b52b0386270ec73e1e6d6a9b614a34 26-Jan-2017 Jason Monk <jmonk@google.com> Delete BaseStatusBar

It is a relic of a more complex time, but has passed out of all
knowledge for too long.

Test: manual testing on phones and TV
Change-Id: I62a15d9413ea4bda3ac82bf6f7d22c096e2c1cdc
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/VolumeDialogComponent.java
9c7844cb91b43929d0a86b1c90aa1efb37f5463a 18-Jan-2017 Jason Monk <jmonk@google.com> Work on sysui dependencies

One of the many problems with PhoneStatusBar is that it holds
dependencies for many other parts of SysUI. Fix this by creating
a static method of grabbing dependencies that are global to sysui
this cleans up a lot of chains of interdependence.

Also add easy way to inject mocks of these dependencies for the
purpose of testing.

Test: runtest systemui
Change-Id: Ia0e947faea62d15b665facada47ac9916c99f895
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/VolumeDialogComponent.java
279e4a767f9ad689b41b0a8c1b4ca5afa6cd4044 24-Jun-2016 Julia Reynolds <juliacr@google.com> Merge \\"Show volume row headers by default.\\" into nyc-mr1-dev am: 459f594bb1
am: 5aba92640a

Change-Id: I7e53e99d80e752d085134d165d14dd830ad78033
5f83c85182f11a5d9f30ab4eb408a36b386e45ee 15-Jun-2016 Julia Reynolds <juliacr@google.com> Show volume row headers by default.

Bug: 28269951
Change-Id: I26acfb26064e7f44e4b1897d940228247b45d7b1
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/VolumeDialogComponent.java
634acb9712f2627acf9279a78d120ea2da1e0464 14-Apr-2016 Yao Chen <yaochen@google.com> Add CarVolumeDialogController in SystemUI for Android Auto.

Cars usually have an external audio module. When Android is serving as
the car's headunit, users should be able to adjust the car's volume
through SystemUI. The following changes are made to make it work:

+ Load VolumeDialogController from SystemUIFactory
+ Added CarSystemUIFactory
+ Added CarVolumeDialogController which extends VolumeDialogController
and it uses CarAudioManager as source of truth for volume controls.
+ Some refactor in VolumeDialogController to make it easier for
subclasses to override volume controls.

Note that CarAudioManager does not completely replace AudioManager.
Majority of code in VolumeDialogController still applies in the car use
case, so I made CarVolumeDialogController a subclass of
VolumeDialogController instead of making them peers.

Bug: 27595951

Change-Id: Id4adec7281e41aa71f3de034e5b88a32a89be305
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/VolumeDialogComponent.java
c791e05f768ff66e801f872cfdf27cc62b6195db 19-Feb-2016 Julia Reynolds <juliacr@google.com> Scale volume panel with density changes.

Also remove invisible settings buttons.

Bug: 26846853
Change-Id: I15722f5705a7718a90033d24c185eb21c8c41bc9
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/VolumeDialogComponent.java
9e5341f4fe2b7e64a55e057478946546e176358b 18-Jan-2016 Jason Monk <jmonk@google.com> Tuner control over volume policy.

Change-Id: Ic96ad05a9aab6fc2a1669cfe5f1ba1f3779e1b5e
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/VolumeDialogComponent.java
d9c75dba75ad4742dbaadc34db99d2b76cebca91 28-Apr-2015 John Spurlock <jspurlock@google.com> Volume: Simple dialog footer, DND in quick settings.

- Show DND tile by default, this is now the only
place to manage DND modes / end conditions.
- Remove super footer from volume dialog, replace with
a simplified version that displays the current mode
and allows ending DND.
- Remove obsolete text-only footer from codebase.
- Migrate remaining volume items into main resource files.
- Rename "No interruptions" to "Total silence".
- Add new user information banner for "Total silence"
- Crude media filtering for Total Silence.
(deeper muting changes will be done as a followup)
- Disable volume dialog sliders completely if muted due
to zen.
- Cleanup ZenModePanel: assume embedded mode, remove
expandable subhead
- Remember "favorite" DND mode inside the DND config panel.
- AudioService: consult ringer-mode-delegate before voluming
down into silent.
- Add new hour options to time-based exit conditions.
- Volume dialog visual updates to move closer to final visuals.
- Unify ringer=silent with DND.

Bug: 19260237
Change-Id: I05d7e001eca3b5125418ec3bc4087d0cb8866717
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/VolumeDialogComponent.java
1740c625c6b2b39d6b35d08a7bd362ea907cf082 14-Apr-2015 John Spurlock <jspurlock@google.com> Merge "Zen: Enter alarms only on volume down from vibrate."
f55b7f2fb614b917b7d1943396880978258dd1bb 14-Apr-2015 John Spurlock <jspurlock@google.com> Zen: Add new user introduction msg for "Priority only".

Bug: 19260237
Change-Id: I3b5785befc05685c7f676e918710fb7500221172
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/VolumeDialogComponent.java
b02c744f05b0cca05b77fcbaad4a546ad86081eb 14-Apr-2015 John Spurlock <jspurlock@google.com> Zen: Enter alarms only on volume down from vibrate.

And vice versa (when dialog is showing).

Also make alarms only the default mode when DND is switched on
via the switch.

Bug: 19260237
Change-Id: I16e4a27944bc8245bb2beed84c0421d493b0b876
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/VolumeDialogComponent.java
f88d8082a86bee00c604cbbcfb5261f5573936fe 25-Mar-2015 John Spurlock <jspurlock@google.com> Introduce new volume dialog.

- New VolumeDialog (presentation) + VolumeDialogController (state)
to implement a volume dialog that keeps track of multiple audio
streams, including all remote streams.
- The dialog starts out with a single stream, with more detail available
behind an expand chevron.
- Existing zen options reorganized under a master switch bar
named "Block interruptions", with "None" renamed to "No interruptions"
and "Priority" renamed to "Priority only".
- Combined "Block interruptions" icon replaces the now-obsolete star/no-smoking
icons in the status bar.
- New icons for all sliders.
- All sliders present a continuous facade, mapped to discrete integer units
under the hood.
- All interesting volume events and state changes piped through one central
helper for future routing.
- VolumePanel is obsolete, still accessible via a sysprop if needed.
Complete removal / garbage collection deferred until all needed
functionality is ported over.

Bug: 19260237
Change-Id: I6689de3e4d14ae666d3e8da302cc9da2d4d77b9b
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/VolumeDialogComponent.java