0b688503754737a20165f0cff1833e714a5c4164 |
22-Dec-2014 |
John Spurlock <jspurlock@google.com> |
Zen: Fix selection logic for "Indefinitely". Use a signal condition value for the forever condition in the panel to ease the distinction between no selection + selecting indef. Bug: 18810529 Change-Id: I2590899ab43734708c72aad066653ef27f89d760
enModePanel.java
|
530052a2fe3b6a6a4246ce28ab0ced647fe7f470 |
30-Nov-2014 |
John Spurlock <jspurlock@google.com> |
Zen: New behavior for built-in downtime + nextalarm conditions. - Downtime: Allow user to enter downtime early, offer as an end condition four hours before downtime starts. Available in either none or priority, regardless of settings configuration. - Downtime: Always exit before next alarm if zen=none. - Downtime: Make more like any other condition provider, remove special status (mostly). - Downtime: New auto-triggering rules, allow triggering after a manual condition ends, once. - Decouple NextAlarm + Downtime providers, allow them to offer their conditions at the same time. - Downtime/NextAlarm: Update conditions if they change while being requested, even if unsubscribed. - Make all three built-in condition providers optional, via config. - New internal helper for runtime config. - Don't follow changes to next alarm, consider the condition false. - Isolate downtime calendar logic into separate class (for testing). - Allow a:bb -> a:bb as a valid downtime range (all day). - Volume dialog: configuration establishes maximum number of visible conditions, including built-ins. - Zen mode panel: avoid widget updates during layout transition. - Zen mode panel: move controller callers to background thread. - Zen mode panel: hide/show/rebind rows instead of adding/removing. - ZenLog: Add downtime autotrigger results. - Volume panel: Smarter refresh on ringer/zen changes. Bug: 16373455 Change-Id: I4f801018ddb0beb6eb9fa03a81c79f7949888a3f
olumePanel.java
enModePanel.java
|
21d68f4808db02aa3252ba5dec8b0220d053cab3 |
01-Dec-2014 |
John Spurlock <jspurlock@google.com> |
Merge "Volume: Improve inline volume controls used in settings." into lmp-mr1-dev
|
e3f8b31466f45eb4d5c9971049b71215a9f2c8a4 |
01-Dec-2014 |
John Spurlock <jspurlock@google.com> |
Merge "Zen: Improve zen mode panel condition selection." into lmp-mr1-dev
|
26a695d974f7ee3b32b8d65a44a42f804af8f01c |
01-Dec-2014 |
John Spurlock <jspurlock@google.com> |
Merge "Volume: Update remote volume icons." into lmp-mr1-dev
|
3e0770163686c1be83959d681976dafaf25272e1 |
29-Nov-2014 |
John Spurlock <jspurlock@google.com> |
Zen: Improve zen mode panel condition selection. - Decouple condition requests from expansion, now pre-request when zen panel unhidden. - Animate zen mode panel expansion. - Improve default selection logic, ensure something is selected as soon as we are in the expanded state. - Tweak visual spacing. - Map null condition to Indef properly when we start out in zen. - Avoid unnecessary condition teardown when the conditions are updated but unchanged from current. - Cap number of optional conditions to display, default=3. Bug: 18335618 Change-Id: I007b7c3b2e75e2b42805af240684aa8581e9951a
enModePanel.java
|
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
olumePanel.java
olumeUI.java
|
cfe9fb67949100c864c7b0b913d10a7cfd0fc141 |
26-Nov-2014 |
John Spurlock <jspurlock@google.com> |
Volume: Update remote volume icons. Remove last holo references by using the new-style cast connected icon. There is only one icon for the remote stream, since it is never muted by policy. Bug: 18102850 Change-Id: Iffe3a19deca6599780ebdb26869ae46aa8623f81
olumePanel.java
|
e506c85eaa0b81359b6472825bec038750fae6d7 |
26-Nov-2014 |
John Spurlock <jspurlock@google.com> |
Volume: Avoid making bad forceVolumeControlStream call. Ensure we don't call audio manager with STREAM_MASTER, which is a pseudo-stream value internal to volume panel. Bug: 18250921 Change-Id: I4b6af9fc60d7683e9103be52cc937c33c1c15e31
olumePanel.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
conPulser.java
olumePanel.java
olumeUI.java
enModePanel.java
|
962b06f9a02f08392b6f87225a314ebf39dd7a07 |
24-Nov-2014 |
Selim Cinek <cinek@google.com> |
Merge "Fixed several time related states for secondary users" into lmp-mr1-dev
|
9c4a707912da2c954b2d3d1311b8a691ded8aa16 |
21-Nov-2014 |
Selim Cinek <cinek@google.com> |
Fixed several time related states for secondary users The 24 hour setting was not respected correctly. Also fixed a bug where the next alarm would not display itself in the QS panel. Bug: 16239208 Change-Id: I89734f783912dead5831db49db53fba04dbf54ee
enModePanel.java
|
5eb21f3466ed3fc8c289b2c702269fb5485e8fde |
19-Nov-2014 |
John Spurlock <jspurlock@google.com> |
Volume: Ensure ring/notif slider is enabled when ringer=vibrate. Although the audio policy makes a distinction between voice capable and not when determining the default active stream, have the panel recognize this condition and behave the same way (enable the slider) on all devices. Bug: 17405530 Change-Id: If3e1af3078f47bc1205545e919ccc6206020e7b2
olumePanel.java
|
7fbf573e0b7b002a914aec651208e33d443a1f1b |
18-Nov-2014 |
John Spurlock <jspurlock@google.com> |
Volume: Dismiss panel on nav bar interaction. Bug: 18409164 Change-Id: I7b7f26eb823b8477a4df86a8622b4f1171ad96e6
olumeComponent.java
olumeUI.java
|
96e7f0ed1a7fcfca229b6187c4f1cb9df5dac169 |
14-Nov-2014 |
John Spurlock <jspurlock@google.com> |
Volume: Move "Muted by" string from sysui to frameworks. To enable sharing with Settings. Bug: 17461563 Change-Id: Icdb5f85eb4bcaa1ead7d77c1460e06ad3f0604d5
olumePanel.java
|
25c3421c5e65ddc7f2b2bf1b1208f3634e6f5256 |
12-Nov-2014 |
John Spurlock <jspurlock@google.com> |
Zen: Update condition text for current condition. If the provider sends us an updated summary (or other text) for the currently selected exit condition, update the UI and persisted condition. Update the downtime condition text (end time/line2 + summary) when the next alarm changes (if downtime = none). Also, clear the fired-alarm cache on time or time-zone resets. Bug: 16373455 Change-Id: Ib38c52104a281fcc04a89612b643a219fd82b40b
enModePanel.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
egmentedButtons.java
olumeComponent.java
olumePanel.java
olumeUI.java
enModePanel.java
enToast.java
|
37bc92cc2332eb6f864977381135c19d6a081a92 |
03-Nov-2014 |
John Spurlock <jspurlock@google.com> |
Zen: Create a new exit condition for "next alarm". - If the user's next alarm is in the next 12 hrs, provide this as an exit condition trigger for leaving none/priority. - Don't display the next alarm condition when downtime is active. - When the next-alarm exit condition is active, follow changes to the next alarm, assuming it remains within the 12-hr window. - Tweak the downtime condition strings to be consistent. Bug: 16373455 Change-Id: I4020b91d323dead998e62d655132eca07438b148
enModePanel.java
|
c90e6fe863bb5ac84612bd777d3b352f69265950 |
28-Oct-2014 |
John Spurlock <jspurlock@google.com> |
Zen: Show "(until 4:56 PM)" in exit conditions. Implement two-line exit conditions, display the duration + end time on separate lines. Bug: 16824863 Change-Id: I8dabc83042fce604ccb86b463b9bb547c7903c64
enModePanel.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
olumeUI.java
|
1a3f7db001a75770d888866a760e1308bb1f25fd |
21-Oct-2014 |
John Spurlock <jspurlock@google.com> |
VolumeDialog: Restore default-selection logic. Bug: 18066513 Change-Id: Ie72189edf9b59fd8d192d882aaadf1ac05dcb359
enModePanel.java
|
7bbb9f64103c297d1b9738339f3bfeed0f41030e |
21-Oct-2014 |
John Spurlock <jspurlock@google.com> |
Sysui: Include shared prefs in service dump. Also: - Remove obsolete Prefs helper. - Use common file for zen-mode prefs. Bug: 18062541 Change-Id: I9a6a4733eac0ec1c55da5d359c996cb5fe3bb8af
enModePanel.java
|
4bebb1dc5e682808ab5c0118c9340957eca52cd8 |
03-Oct-2014 |
John Spurlock <jspurlock@google.com> |
Update framework icons for media & alarm streams. Update resources to new style and remove obsolete items. Bug: 17762712 Change-Id: Ibec121828084934cc066afe117f66b6a0eea603f
olumePanel.java
|
a0457c2e92fc85cfba9a52d502d5038ecc7920f4 |
26-Sep-2014 |
John Spurlock <jspurlock@google.com> |
Touch-exploration improvements to volume dialog. - Extend the dismiss timeout when interacting with various subcontrols. - Ensure "hover" events in touch exploration extend the timeout in addition to touch events. - Introduce new helper to standardize interaction callbacks. - Announce zen toasts. - Announce zen condition selections, and when existing countdown conditions are modified. Bug:17578434 Change-Id: I8a055b3455aa8d20ba93439bdec6cc75db97800e
nteraction.java
egmentedButtons.java
olumePanel.java
enModePanel.java
enToast.java
|
27c7b9295d0ebb0223bd10eb582d171ade870c7e |
23-Sep-2014 |
John Spurlock <jspurlock@google.com> |
Supertoast when user changes zen mode. If the user selects a new zen mode, display a quick toast with the mode icon + text to aid in association. Also fix a recent regression in the zen subhead alignment. Bug:16215680 Bug:17641211 Change-Id: I4ead88d81be4d9c26459aed82c47b8c2fb32eafa
enModePanel.java
enToast.java
|
4291fb79c70ba77af4357d53dac2e5626eabba45 |
16-Sep-2014 |
John Spurlock <jspurlock@google.com> |
Zen: Fix recent regression in mode selection after reboot. Bug:17509473 Change-Id: I761cd90384c490c7ab07fb633133535846701ce6
egmentedButtons.java
enModePanel.java
|
0875a782ad6688407050592dd32169d7a8f0716a |
10-Sep-2014 |
Jason Monk <jmonk@google.com> |
Merge "Update zen mode and qs strings on locale change" into lmp-dev
|
4dd81467e33a694138da6916fc68ca79501a9429 |
08-Sep-2014 |
Jason Monk <jmonk@google.com> |
Move zen mode constants and code to framework This allows the strings and code to be shared with settings. Bug: 15454830 Change-Id: I9300af4f8b6d80042452b75db3418b20c5c5cc81
enModePanel.java
|
e2f4771a0105ad6a94ff759353ca00c3a5fba72a |
09-Sep-2014 |
Jason Monk <jmonk@google.com> |
Update zen mode and qs strings on locale change Bug: 17288370 Change-Id: Ic6191d5c16687cd760b4a0656d6ee4dbb4c53c45
olumePanel.java
enModePanel.java
|
5da328beb2e438a62a020e3e25d9748e5042fe09 |
09-Sep-2014 |
Selim Cinek <cinek@google.com> |
Merge "Announcing the stream type when the volume panel comes up" into lmp-dev
|
85dc23cc696d4c5de4619da317c16c5a2b49a62a |
08-Sep-2014 |
Jorim Jaggi <jjaggi@google.com> |
Start all resolver activities after keyguard is gone Bug: 17417099 Change-Id: I30b154067b1c4cbca09af49a4763f9cf5fdc19e6
olumeUI.java
|
62ea340af4272fa23f5570a02b58a15e19de7de9 |
08-Sep-2014 |
Selim Cinek <cinek@google.com> |
Announcing the stream type when the volume panel comes up Bug: 17299985 Change-Id: I5f71f1ca63223d0a039a5b92dc9521b6dc1e2da5
olumePanel.java
|
14f717a506a0d22facbec07386b06634e0c6a8ee |
05-Sep-2014 |
RoboErik <epastern@google.com> |
rename add/removeCallback to register/unregisterCallback bug:17390821 Change-Id: Id610b481083686dba2a28b6c7c47b747f89eef4f
olumePanel.java
|
6531ae2fcd24c9b9aa2821bb9fd0957666fa4b4f |
01-Sep-2014 |
Selim Cinek <cinek@google.com> |
Merge "Not enforcing a timeout anymore for talkback users" into lmp-dev
|
1cf8906231ff281dab360fc6190aa0633bb9ed18 |
29-Aug-2014 |
Selim Cinek <cinek@google.com> |
Not enforcing a timeout anymore for talkback users When displaying the volume warning for talkback users no timeout is enforced anymore. Bug: 17145793 Change-Id: I87c3baa6caf835bceda284cd7d89ca59fdc190f5
olumePanel.java
|
e73a0a019502e4652bc30567be06726f7df22239 |
29-Aug-2014 |
Selim Cinek <cinek@google.com> |
Merge "Increasing the delay for the volume warning dialog with talkback" into lmp-dev
|
9f6ceb1d1c827cf47d6cf3207df25cf2ac0e15ff |
29-Aug-2014 |
Selim Cinek <cinek@google.com> |
Increasing the delay for the volume warning dialog with talkback Bug: 17145793 Change-Id: I27eb9c46c8d73d5e475f97b50b0a2f219c4ed6fb
olumePanel.java
|
d7a94b354570976626f2eb1bc43ba2778c33dd4c |
28-Aug-2014 |
John Spurlock <jspurlock@google.com> |
Merge "Zen: Remove alarm warnings, color the subhead instead." into lmp-dev
|
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
olumeUI.java
|
8f8ecd620c796834a1048ec98f0e8072f5ad926c |
27-Aug-2014 |
John Spurlock <jspurlock@google.com> |
Zen: Remove alarm warnings, color the subhead instead. - When selecting "None" in the dialog, remove the footer warnings about alarms, and associated bits. - Update subhead text for "None". - Keep track of how often "None" is used (defined as a user change during a visible dialog session) and color the subhead text with the warning color until it's been used five times. Bug:17283115 Change-Id: Ief8a1c557716ec2f581b8338511432d17ac0d371
enModePanel.java
|
b4782526f5600d9759baac64b23e0c0cd05e2050 |
22-Aug-2014 |
John Spurlock <jspurlock@google.com> |
Display notification effects suppressor in the volume panel. Bug:16958514 Change-Id: I0eac173875e8af62e3c6b39001722c3fda4517de
olumePanel.java
|
d2b8c947ddfc6349a3ae6c3968b422b9cf50d7ed |
19-Aug-2014 |
RoboErik <epastern@google.com> |
Api updates to MediaSession components -renames get/setBufferPosition to get/setBufferedPosition -renames getLaunchActivity to getSessionActivity -adds doc link to setVolumeTo flags param -renames setLaunchActivity to setSessionActivity -hides setMediaRouter -moves PLAYBACK_TYPE_ constants to MediaController.AudioInfo -adds addOnActiveSessionsChangedListener version with a handler parameter -renames AudioInfo to PlaybackInfo bug:17114404 Change-Id: I0fbfe4eb979cb2af98e3f13095c654bb131f7ae5
olumePanel.java
|
a66c40bf6e0fb79ead6d8a9fc29c5671fa7b1206 |
16-Aug-2014 |
RoboErik <epastern@google.com> |
Update MediaSession APIs for council feedback -Changes MediaSessionManager.SessionsListener to OnActiveSessionsChangedListener and makes it an interface. -Renames MediaController.VolumeInfo to MediaController.AudioInfo -Renames MediaSession.Track to MediaSession.Item bug:17059552 Change-Id: I3a0b4371700ad6657972c312a5ab89ddfac6df5b
olumePanel.java
|
4db0d98b42a723f2e16c6595e85e866fd26c6d98 |
13-Aug-2014 |
John Spurlock <jspurlock@google.com> |
Zen: Downtime now a condition provider, persist conditions. - Persist the entire exit condition instead of only the id. - Make downtime a proper condition provider (similar to the existing countdown provider for time-based conditions) - Move all downtime-related items out of ZenModeHelper and into the new condition provider. - Reevaluate downtime more often, when any of its inputs change. - Make sure downtime appears as an available condition in the condition panel when applicable. Bug:16296125 Bug:16211189 Bug:17031767 Change-Id: I1d8269a4e6fe170ce776bf932dbbdfb29dd25dd7
enModePanel.java
|
2811dd337262934ea82477f9598f3e49092edb5e |
12-Aug-2014 |
RoboErik <epastern@google.com> |
Remove REMOTE_STREAM_MUSIC references from AudioService This removes the fake stream from AudioService and cleans up references to it. Also removes isLocalOrRemoteMusicActive. bug:15884752 Change-Id: I1c2b57a2f8ba80061313737f254463f4c80ce8c3
olumePanel.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
olumeUI.java
|
45601d6b64f2117b0bee1d23d55d420bbf273c5c |
07-Aug-2014 |
John Spurlock <jspurlock@google.com> |
Volume: Hide zen options during setup. Only show the slider before provisioning and user setup. Bug:16825823 Change-Id: I856c736ed91ed20371176c2bba84b5d7e2ebc6cb
olumePanel.java
|
3f14df5c9df0028f78d930d03d512d969236f0bc |
07-Aug-2014 |
John Spurlock <jspurlock@google.com> |
Merge "Common shade width across devices." into lmp-dev
|
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
olumePanel.java
olumeUI.java
|
89fe1cb9debbfd629f1467b2a3d957e6dc1a8507 |
06-Aug-2014 |
John Spurlock <jspurlock@google.com> |
Zen: Show subhead for Indefinitely. Bug:16824870 Change-Id: Ic10d68df39c5afe06503d3b37a960c9319f84056
enModePanel.java
|
4f0f120316cfcee5880191264885772677fff921 |
05-Aug-2014 |
John Spurlock <jspurlock@google.com> |
AudioService: getMasterStreamType -> RING on tablets. Since all service-internal checks use stream alias, and the alias for NOTIFICATION is RING, even on tablets. This is a followup to ag/506532. Ensure that #getMasterStreamType always follows the stream_system alias, and update the system alias for tablets per the new policy. Update the associate javadoc comment in AudioManager to make this clear. Note: there is now no difference in the alias maps between phones and tablets. Also fix a condition affected by this in VolumePanel. Bug:16626879 Change-Id: I2700a48d2a3e7703607f771a1ab7f325596fd789
olumePanel.java
|
2d28d6e1af8aa679bc3461bcda441a57c71e3cec |
01-Aug-2014 |
John Spurlock <jspurlock@google.com> |
Volume: Confirm unsafe media volume dialog on VOL_UP. If the confirmation dialog is showing, consider a new VOL_UP as a confirmation. Bug:16540877 Change-Id: Ibdaa43ea423cc3b48d234bcaaa0c542178657b6c
olumePanel.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
olumeUI.java
|
351346092acdfbfcc1d9ebf98d539d2a1196c5e8 |
25-Jul-2014 |
John Spurlock <jspurlock@google.com> |
Volume: Show safe media warning in settings. If the safe media warning is enabled, make sure we display it from the new inline slider preference in Settings (without showing the volume dialog itself). Also: - Update the warning dialog to the new sysui theme. - Separate the warning sentences with an additional line. - Fix the auto-dismiss timeout. - Add a system property to additionally enable the safe media warning for testing - Add more information to audio service dumpsys. Bug:15434662 Change-Id: I95fec12c9049bbfdb7ebdf246160e4b12c0c5be3
olumePanel.java
|
8c79d2eedd6fc8a557169bdeb663dc1d5c279d2b |
24-Jul-2014 |
John Spurlock <jspurlock@google.com> |
Volume: force-dismiss panel when the screen turns off. Bug:16492823 Change-Id: Ifc069ef936dc5f29d11f6b11dcc7131f440c7f0b
olumePanel.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
olumeComponent.java
olumePanel.java
olumeUI.java
|
ac9ab5b4e7858ce30c80ec29b0e6e1b781fd7dca |
20-Jul-2014 |
John Spurlock <jspurlock@google.com> |
Volume: haptic feedback entering vibrate using touch. Bug:15386667 Change-Id: Ia575c171f59f435afe669c2b7fd9c22155865b20
olumePanel.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
egmentedButtons.java
olumePanel.java
olumeUI.java
enModePanel.java
|
ab4ea76edebe7fbdfec4140d03b23060a96c6f8c |
20-Jul-2014 |
John Spurlock <jspurlock@google.com> |
Volume: No sound effects on the ringer toggle. We beep and blort enough in the rocker when switching modes. Bug:16377522 Change-Id: I4a61979cb323d6a9623d10e10547a19982db384f
olumePanel.java
|
7b41467704f941b11af6aace3e40993afc7f6c6f |
18-Jul-2014 |
John Spurlock <jspurlock@google.com> |
Zen mode filtering should use new usage constants. Refactor stream-based calls to usage-based calls. Bug:15279516 Change-Id: I3f7757d8123c14670e2ad5f8e6aa4e9803efe7ec
olumePanel.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
olumeUI.java
|
b71e68f9aa44b220cabaace70493751538d94dc0 |
18-Jul-2014 |
John Spurlock <jspurlock@google.com> |
Volume: Rocker animation + style updates. - Add more spacing at the top - Update window animations to fades - Improve style for alarm warnings Bug:16200897 Change-Id: I7a64e235eff1f9a77fc697a98a4440bc69043386
enModePanel.java
|
969265af3131f7213cab50c08e09700ed6af4a88 |
17-Jul-2014 |
John Spurlock <jspurlock@google.com> |
Merge "Zen: Maintain selection throughout rocker session." into lmp-dev
|
fbb3d6ff392e9cd13fea49f85f12efd0a304d448 |
17-Jul-2014 |
John Spurlock <jspurlock@google.com> |
Zen: Maintain selection throughout rocker session. While the panel is visible, allow toggling between none + priority (and even 'all') without resetting the exit condition. Bug:16350606 Change-Id: I830be8ccad1ba95a64239f00a72f773c4fe739f2
enModePanel.java
|
89f060a1e0fa48c497855d061b5c9ec44bb576c8 |
17-Jul-2014 |
John Spurlock <jspurlock@google.com> |
Zen: Return of the alarm warning. - Remove the term timers from subtitle, the term "alarms" is now inclusive of timers. - Resurrect the alarm warning, give it a more prominent appearance if we can detect an overlap in a time-based exit condition and the next alarm time. Change-Id: I5d6d67694c7acc9e2a5a7c63e647069744a22cec
enModePanel.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
olumeUI.java
|
50806fc4ceff4bb093a18bdecb506163e68b9cbb |
15-Jul-2014 |
John Spurlock <jspurlock@google.com> |
Zen: handle exit conditions across reboots. - Use the persisted exit condition (and a new persisted exit component) to immediately resubscribe to the manual exit condition (if present) - Fire false immediately for old countdown conditions. - Add a new zen lens to noman dump, and a bit more info. - Refresh the current exit condition when reopening the panel. Bug:15844990 Bug:16212455 Change-Id: I8bfaf1b2a6cf3d8818002a9db5c527ad3aa4c05c
enModePanel.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
olumePanel.java
olumeUI.java
|
dfd6b4e9f475ef3a8cf7fc7b5451b8c73aecdfff |
12-Jul-2014 |
John Spurlock <jspurlock@google.com> |
Merge "Volume: Extend the volume dialog timeout for notifications."
|
ea9938ca5f9ce228a7cc5159ccb5ab404ac2b2bb |
12-Jul-2014 |
John Spurlock <jspurlock@google.com> |
Volume: Extend the volume dialog timeout for notifications. Even when the condition panel is collapsed, increase the timeout a bit to aid readability. Bug:16237299 Change-Id: I36d01300a94f17e02ee35b5a6f549ed180532ad8
olumePanel.java
|
bc5858f4893558ae6fee24c14489be56e6c3f528 |
11-Jul-2014 |
John Spurlock <jspurlock@google.com> |
Zen: Be more defensive against old time conditions. Bug:16192570 Change-Id: If5097174fac89c5d809271241645d1efca92476e
enModePanel.java
|
1dad272337db57d72d9158dc77f64798810f62e7 |
11-Jul-2014 |
John Spurlock <jspurlock@google.com> |
Volume: delay dismissing panel when starting settings. Bug:16211952 Change-Id: I067721d932076dafb35c6afd99583301acff9bea
olumePanel.java
olumeUI.java
|
8263c3e0647e0d9622585f1c196ceb8d2fde695e |
11-Jul-2014 |
John Spurlock <jspurlock@google.com> |
Volume: Elide collapsed condition title if no end. And make expanded title non-clickable. Bug:16211705 Change-Id: I675b8ad8d08dca9a3f38292c45b771dc6532de77
enModePanel.java
|
980f9925bb044bc87c1de1f0e21372f46d7d596d |
11-Jul-2014 |
John Spurlock <jspurlock@google.com> |
Merge "Volume: Use accent color for selected radio button."
|
f7d22132c2c9b83134b05aaed63a89f61c639fd9 |
11-Jul-2014 |
John Spurlock <jspurlock@google.com> |
Volume: Use accent color for selected radio button. Bug:16212456 Change-Id: Ic1badeaf6eec98cd2780592660a36d7087bb677b
enModePanel.java
|
86d04fdaa1853cf7ff8ec9aba1dd925dd098167e |
11-Jul-2014 |
John Spurlock <jspurlock@google.com> |
Volume: Promote alarm warning to title. Bug:16211556 Change-Id: I839e08d1ba26ba825a9799f92c9b600feb91a81b
enModePanel.java
|
d71517be7c73aa36b8c1b15fa2221b56e20c80ab |
08-Jul-2014 |
John Spurlock <jspurlock@google.com> |
Include timers in no-interruptions warning, always show. Bug:15831713 Change-Id: I83434d882ba1168bba4de8f1d58334742eb863a3
enModePanel.java
|
8845da77bb05075e3859ee566abcd9215c1e4618 |
08-Jul-2014 |
John Spurlock <jspurlock@google.com> |
Cut volume dialog timeout in half for media. Bug:15849635 Change-Id: I84078c62db082293fb0153e378055c0279989e3c
olumePanel.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
egmentedButtons.java
olumePanel.java
olumeUI.java
enModePanel.java
|
7f8f22a53005f776c8ee4d299e748e74b077ffd9 |
03-Jul-2014 |
John Spurlock <jspurlock@google.com> |
QS: Wifi control panel. Create first example of an inline detail view with line items, bind to new access-point controller. Move the common bits of all control panels into a common abstraction. Share common parts of layout (More settings / done button). Change-Id: I14a1bf548f3291dc628f97bf09dd4e38ac2fb2dc
olumePanel.java
enModePanel.java
|
65820413314752682fda06b802fb5fb9c447a4f3 |
30-Jun-2014 |
Jean-Michel Trivi <jmtrivi@google.com> |
Don't swear when setting remote music volume without a controller Root cause still TBD bug 15986562 Change-Id: I8828989acfb642f44c59ba531df43914ece916a8
olumePanel.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
olumePanel.java
olumeUI.java
|
2769ac290784d2057f44589aeae5140102b21af3 |
06-Jun-2014 |
John Spurlock <jspurlock@google.com> |
VolumeZen: Only display active condition when entering. Instead of always displaying the active condition, only show it the first time (when turning zen on). Bug:15455271 Change-Id: I89e8e2c09fa0d06a5e4c3174f825dfe5a452f06e
olumePanel.java
enModePanel.java
|
856edebad73560e9b1cce021a7de9a0470d07176 |
02-Jun-2014 |
John Spurlock <jspurlock@google.com> |
Zen: Stateful condition panel. When DND is on, expanded panel shows the current time condition, or time remaining. The last time bucket selected is remembered as the default option for the next time. Move the server-side countdown helper into a proper condition provider, but register it in-process as a system provider. Move common countdown condition parsing into ZenModeConfig to reuse from system components. Keep the manual exit condition around in zen mode config and add plumbing for getting / listening to the controller. Keep the last QS detail panel around instead of recreating it every time. Fix the time condition's plus and minus button enabling logic, and enhance the click handler to deal properly with the next or previous bucket. Bug:15344758 Change-Id: Ie7018a1c20e20f6d7e5f9e7874188374e6f8e2ab
olumePanel.java
enModePanel.java
|
a11b4affcad3d255aa723a89b768ea222506f2e8 |
01-Jun-2014 |
John Spurlock <jspurlock@google.com> |
VolumeZen: Prevent raising ringer volume in silent mode. Instead of breaking out of silent mode when raising the volume using the keys, prevent the change and display a visual hint up in the user interface. Bug:15330217 Change-Id: I74aae44319aadcd6db9841c7799967607f5a1617
olumePanel.java
|
84da84c8942ee14f914ffabf37768aaeb910abb0 |
01-Jun-2014 |
John Spurlock <jspurlock@google.com> |
VolumeZen: Update icon and fix handler bug. Bug:15186962 Change-Id: Iaeae85e185b60c7afa573ebfda331eb41a6b8db8
olumePanel.java
|
5f640e4a867b3a8d3bce136416f07a460ffa5b1c |
01-Jun-2014 |
John Spurlock <jspurlock@google.com> |
VolumeZen: Pulse silent mode icon on disabled slider touch. Bug:15330217 Change-Id: Icb54e5ea0466bb5fbd7e08b99e8f0dac15ded447
olumePanel.java
|
7f1df5e98578f8532a5e009009e7c1f82ed5885c |
01-Jun-2014 |
John Spurlock <jspurlock@google.com> |
VolumeZen: Slider icon as ringer-mode toggle. - When manipulating the ringer/notification stream, the volume slider icon on the left now serves as a toggle. Single-press for vibrate, long-press for silent. - Disable slider when silent. - Add touch feedback to slider icon when clickable. - Vibrate when toggling to vibrate. - Play sound when toggling to audible. - Adjust the slider icon padding so it appears to be square, and the same size as the icon on the right. Bug:15330217 Change-Id: Id7262d9315e6e761e1d5750714c356c3ac735951
olumePanel.java
enModePanel.java
|
2078caf79763eae70c5c41817925c648c7529655 |
30-May-2014 |
John Spurlock <jspurlock@google.com> |
VolumeZen: shadow protection for volume dialog. Bug:15186962 Change-Id: I8525e62348e2cc8b68b938d2f7d986f5cbe0273f
olumePanel.java
|
3bd4feec3d5e5c2432a350b9ae4d7f2d8b8c69d8 |
30-May-2014 |
John Spurlock <jspurlock@google.com> |
QuickSettings: visual updates. - Update style for do not disturb subhead. - Fix strict mode warning setting zen from volume panel. - Longer delay in volume panel when expanded. - Update zen icons. - Update header peek height. - Update detail pane back icon. Bug:15186962 Change-Id: Icb8b95656f866bf9b0aa076d0b85c019a77e76c0
olumePanel.java
|
f71205c1ee3b34801f98af275a281f7d06c50b51 |
29-May-2014 |
John Spurlock <jspurlock@google.com> |
VolumeZen: Don't clear stream type if embedded. Clearing the stream type makes sense if the volume panel is in dialog mode, but not when embedded. Bug:15186070 Change-Id: Ice5f547ef987e28ef51050faef682c5dfa5f7604
olumePanel.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
olumeComponent.java
olumePanel.java
olumeUI.java
enModePanel.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
olumePanel.java
olumeUI.java
|