bcc1087af40a0e1bb35dbe8a39c830ecdea8280b |
|
28-Nov-2014 |
John Spurlock <jspurlock@google.com> |
Volume: Improve inline volume controls used in settings. - Make the system internal ringer mode change signal available to other system components via a standard intent, instead of a volume-controller-only binder call. - Update sysui to use new intent for icon policy. - Add proper muting state to the volumizer, to look more like the associated volume panel slider. - Add basic ringer mode state tracking for the notification-ring slider setting. Bug: 17899613 Change-Id: Ie2df52edb070055ef59c74039162a0e785d2fdbb
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/VolumeUI.java
|
661f2cf45860d2e10924e6b69966a9afe255f28b |
|
17-Nov-2014 |
John Spurlock <jspurlock@google.com> |
VolumeZen: Introduce internal vs external ringer mode. Stabilize mapping between ringer-mode=silent and zen=priority by keeping track of two ringer modes: - Internal ringer mode: Used for underlying stream muting - External ringer mode: Reported to clients The mapping between external ringer mode + zen is: - normal = all - vibrate = all - silent = priority (read-write) or none (read) Changes include: - Remove "zen check" from audio service, back to audio service having no knowledge of zen. - Maintain a new external ringer mode in audio service, this is the ringer mode reported through AudioManager to callers, also mapped to the change intent. - Introduce a "ringer mode delegate" to the local audio manager interface, responsible for observing external / internal mode changes, and making changes if necessary. - Internal ringer mode changes are still interesting to the volume dialog, wire up a callback through the existing IVolumeController interface. - On devices without vibration, the mapping is the same but since no ringer mode change is possible, disable the icon toggle and remove the mute icon when volume=0. - On devices with vibration, volume down presses should pulse the vibrate icon (and vibrate) as a hint that this is as low as the device can go using the keys. Since the mechanics are similar to the existing zen=none hint, pull into shared helper. - Log ringer mode changes to the zen log, include calling package information for issue diagnosis. - Include whether vibration is supported in the audio service dump. - Update the status bar icon policy to use the internal ringer mode, not the external mode (for vibrate icon). - Update the "Muted by <x>" logic, include current suppressor in dumpsys, ensure suppression icon is enabled & !clickable, regardless of zen mode. Bug: 17884168 Bug: 15471679 Bug: 16824970 Change-Id: Ia7d3bb23ce6d1e37b24fb6521d1c1ab9bb8f60c0
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/VolumeUI.java
|
7fbf573e0b7b002a914aec651208e33d443a1f1b |
|
18-Nov-2014 |
John Spurlock <jspurlock@google.com> |
Volume: Dismiss panel on nav bar interaction. Bug: 18409164 Change-Id: I7b7f26eb823b8477a4df86a8622b4f1171ad96e6
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/VolumeUI.java
|
bb4a702e6fe44cb026097db13492f8345b38ee97 |
|
08-Nov-2014 |
John Spurlock <jspurlock@google.com> |
Volume dialog: Add zen mode icons and notification access. - Add icon above text to all three zen mode states, update text style. - Remove zentoast. - Update shared borderless rect background, masks now support shapes. - Update size of volume stream icons. - Ensure all volume icons are expressions of white. - Make volume icons testable via new demo mode command. - Add a divider + secondary icon to access the notification slider. - Animate the transition when accessing notification slider. Bug: 18206097 Bug: 16303068 Bug: 18102850 Change-Id: I5eb6f820dc317e89be272cc78f6c80ed969ad5e9
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/VolumeUI.java
|
f2565a8b487f6ded259debe33016fc2d896e8681 |
|
24-Oct-2014 |
John Spurlock <jspurlock@google.com> |
Volume: Make VolumeUI startup configurable. Can now disable the default volume dialog in SystemUI with a standard product overlay. Bug: 17753150 Change-Id: I305015dbfc40cde2428fa593c89af0f4568e1b74
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/VolumeUI.java
|
85dc23cc696d4c5de4619da317c16c5a2b49a62a |
|
08-Sep-2014 |
Jorim Jaggi <jjaggi@google.com> |
Start all resolver activities after keyguard is gone Bug: 17417099 Change-Id: I30b154067b1c4cbca09af49a4763f9cf5fdc19e6
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/VolumeUI.java
|
746f7facf2c5f9a7362387806b5926b951bb024a |
|
27-Aug-2014 |
Jorim Jaggi <jjaggi@google.com> |
Start intent chooser after Keyguard is gone If we have an intent chooser on the camera intent, we need to launch it after the Keyguard is fully gone because the ResolveActivity would finish itself if it is launched behind the Keyguard. Bug: 16570873 Change-Id: I2fdb4975fa0a6510e8853c6042383089570ec1f5
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/VolumeUI.java
|
8de4311c51229efbe2f2d0afbf298982c5cadd96 |
|
11-Aug-2014 |
Jorim Jaggi <jjaggi@google.com> |
Lockscreen launch animations - Get rid of ActivityManager.dismissKeyguardOnNextActivity, which was used for two different things: Dismiss keyguard from somewhere else (not really necessary anymore), wait to actually dismiss keyguard after the window behind is drawn. Instead, introduce keyguardWaitingForActivityDrawn(), and change the semantics where necessary. - Make wallpaper_close_enter consistent with task_open_enter and the Keyguard launch animation. - Close the panel even on lockscreen when launching a notification. - Block notification shade updates during the collapsing motion so notification don't play the disappear animation immediately after having launched a notification. Bug: 15991916 Change-Id: I133c177b84e926c87c1a404ba93d633593fec3ab
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/VolumeUI.java
|
7e6809ad643fa4a70cfb647191731c68f07789cd |
|
06-Aug-2014 |
John Spurlock <jspurlock@google.com> |
Common shade width across devices. Use 400dp as the visual width of the shade across all devices and orientations, except small device portrait. Since the width is now dynamic across orientations, update the necessary views in SystemUI on rotate. Remove obsolete styles + resources. Set max QS columns to 3 on all devices, due to the newer shade width. Bug:16825515 Change-Id: Iff171549a79bc318a4d585a2d9ea2af9bc686922
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/VolumeUI.java
|
031149cd5f22bd858142633c7a763450f42793f7 |
|
26-Jul-2014 |
RoboErik <epastern@google.com> |
Add context to MediaController constructor This also adds a convenience method to MediaSession to allow getting a controller instead of having to create and cache your own. bug:16561220 Change-Id: I87f551a7474e71f1cf2f07e0e541c3a4515cd977
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/VolumeUI.java
|
ad494bc0e427e90e6ce4cfce382b4a5134fc8b91 |
|
19-Jul-2014 |
John Spurlock <jspurlock@google.com> |
Volume: Remove silent mode icon. Instead of changing the slider icon and state in silent mode, maintain the previous state, but disable. Add VolumePanel to sysui dumpstate. Bug:16209908 Change-Id: If9730b51ae9190e1ace5888d92a6ab5ce241f8f2
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/VolumeUI.java
|
eb2727bb2f0f32016ca7c4bdd2c0a79eec8cb80a |
|
20-Jul-2014 |
John Spurlock <jspurlock@google.com> |
Volume: new coat of paint. - Two sections (lighter header, darker detail) like QS. - Fewer text variants. - Remove backgrounds for segmented buttons. - Remove alarm warning background. - Fix slider-only style. - Ensure all touch-targets are 48dp. Bug:16419191 Change-Id: I220f3a736eba3dd7a1b9ff58a8fe4bf3d21db61a
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/VolumeUI.java
|
c86f573fb8ef20097f92357c7763358f3a56ea20 |
|
18-Jul-2014 |
John Spurlock <jspurlock@google.com> |
Volume: Dismiss shade when launching settings from rocker. The volume dialog can appear over the expanded QS panel. Dismiss the shade when launching zen settings so that it is not obscured. Bug:16397104 Change-Id: Icc9e7107572305d366a9648f5082096ff92a8b71
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/VolumeUI.java
|
8b4bffcac996b4083e720310a09d315ca1c4a000 |
|
10-Jul-2014 |
RoboErik <epastern@google.com> |
Make MediaSession and MediaController constructors public This makes the MediaSession/Controller constructors public and registers with the system behind the scenes. This also adds a bit about needing to call setActive(true) to start receiving commands in MediaSession's docs. Change-Id: If882d229b54c36bf0831aca0255052dda667a2bc
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/VolumeUI.java
|
33f4e04e32fac42f158733d6a731e50490fa9951 |
|
11-Jul-2014 |
John Spurlock <jspurlock@google.com> |
Volume: Delay adjustments made when showing ringer UI. Since the volume rocker is now the primary system UI for entering ringer modes, we need to provide a way to display the ui without making a sound. Change the policy for the ringer stream to only display the UI on the initial adjustment request, don't actually make an adjustment. However, don't break previous ability to press and hold the vol keys down to vibrate, so allow this after the standard framework long-press delay. Audio service had no way of knowing whether or not the registered volume controller was visible, so add a mechanism for the controller (volume panel) to send that info back to the service. Found and fixed a discrepancy between AudioManager.handleKeyDown and MediaSessionLegacyHelper so that an adjustment over the keyguard is allowed to vibrate as well as play sound during adjustments. Bug:16202639 Change-Id: Icd36c23e8d08c4ed57922c05724b281f32049be7
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/VolumeUI.java
|
1dad272337db57d72d9158dc77f64798810f62e7 |
|
11-Jul-2014 |
John Spurlock <jspurlock@google.com> |
Volume: delay dismissing panel when starting settings. Bug:16211952 Change-Id: I067721d932076dafb35c6afd99583301acff9bea
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/VolumeUI.java
|
ae641c9ccd3f81214cee54a5f13804f1765187ad |
|
01-Jul-2014 |
John Spurlock <jspurlock@google.com> |
Implement new volume UI design. - Add segmented zen-mode picker to the rocker UI. - Add a new "no interruptions" value to the zen setting. - Implement expandable condition subpanel on the rocker UI. - Remove the old circle&slash icons. - Suppress alarm sounds if in "no interruptions" mode. - Add warning re: alarms to the condition UI. - Allow rocker UI to display over the keyguard. - Remove Notifications QS tile. - Realign volume rocker to the top of the screen. - Add support for new "days" sleepMode. - New icon policy rules for "volume" slot. - New important icon (star). Associated Settings change: I6ed56791784968adfbd684f490dbbebed285a2dd Bug:15831713 Change-Id: I35afe38646f04d2ba0dbac11c2c6356120a33694
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/VolumeUI.java
|
19c9518f6a817d53d5234de0020313cab6950b2f |
|
24-Jun-2014 |
RoboErik <epastern@google.com> |
b/15729204 Pipe sessions through to VolumePanel When remote volume is changed via volume buttons we need to notify the system UI so it can show the slider. This also passes it the controller to use so adjustments to the slider are sent back to the correct session. Change-Id: If5847bcd5db16c56e0e9904b88c94e5b28954c41
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/VolumeUI.java
|
8600534df66c2ff5846ed230b50c56229322d48a |
|
23-May-2014 |
John Spurlock <jspurlock@google.com> |
VolumeZen: combine ringer/notification volume and zen. - Implement a new volume panel widget, combining volume and zen mode + conditions. - Show zen mode + conditions when modifying ringer or notification streams. - Host the volume panel widget in a dialog when being controlled by the audio service / volume keys. - Remove support for multiple sliders in the volume panel. - Remove support for separate ringer + notification volumes in the volume panel. - Move volume panel resources up to SystemUI. - Create a new combined Notifications quick settings tile. - Host the volume panel widget in the quick settings panel under Notifications. - When the quick settings detail panel is visible, route the volume keys to the embedded widget instead of showing a redundant dialog. - Create common styles for quick settings text to be closer to spec. - Update the framework resources for the ringer stream. - Show the ringer icons in global actions. - Add "until you turn this off" back as a separate zen condition. - Disable time condition buttons when they are N/A. - Don't allow volume changes to set ringer mode silent. Bug:15186070 Change-Id: Id5e321dd1d5e7c4cf3917027ffbdf7e80d38b00d
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/VolumeUI.java
|
3346a802087f621c6441bc512dfcc17b07143fc6 |
|
20-May-2014 |
John Spurlock <jspurlock@google.com> |
VolumeZen: SystemUI now hosts the volume dialog. - Allow SystemUI to set the volume controller interface using a new binder call to audio service. - Remove VolumePanel's dependency on AudioService. - Host the base VolumePanel in the SystemUI process. Change-Id: I095d5a1a579d42b68d0f81abb4087bd0c754b876
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/VolumeUI.java
|