summaryrefslogtreecommitdiffstats
path: root/packages/SystemUI/res/drawable/ic_volume_collapse_animation.xml
diff options
context:
space:
mode:
authorJohn Spurlock <jspurlock@google.com>2015-03-25 18:09:51 -0400
committerJohn Spurlock <jspurlock@google.com>2015-04-02 14:03:57 -0400
commitf88d8082a86bee00c604cbbcfb5261f5573936fe (patch)
treec6d3448fd8cd1e43d00b2896efd482f55d27068e /packages/SystemUI/res/drawable/ic_volume_collapse_animation.xml
parent356c628e1b3ff6a3f327fdc512deb5288710ab47 (diff)
downloadframeworks_base-f88d8082a86bee00c604cbbcfb5261f5573936fe.zip
frameworks_base-f88d8082a86bee00c604cbbcfb5261f5573936fe.tar.gz
frameworks_base-f88d8082a86bee00c604cbbcfb5261f5573936fe.tar.bz2
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
Diffstat (limited to 'packages/SystemUI/res/drawable/ic_volume_collapse_animation.xml')
-rw-r--r--packages/SystemUI/res/drawable/ic_volume_collapse_animation.xml29
1 files changed, 29 insertions, 0 deletions
diff --git a/packages/SystemUI/res/drawable/ic_volume_collapse_animation.xml b/packages/SystemUI/res/drawable/ic_volume_collapse_animation.xml
new file mode 100644
index 0000000..5c482bc
--- /dev/null
+++ b/packages/SystemUI/res/drawable/ic_volume_collapse_animation.xml
@@ -0,0 +1,29 @@
+<!--
+ Copyright (C) 2015 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<animated-vector xmlns:android="http://schemas.android.com/apk/res/android"
+ android:drawable="@drawable/ic_volume_collapse" >
+
+ <target
+ android:name="chevron_02"
+ android:animation="@anim/ic_volume_collapse_chevron_02_animation" />
+ <target
+ android:name="rectangle_2"
+ android:animation="@anim/ic_volume_collapse_rectangle_2_animation" />
+ <target
+ android:name="rectangle_1"
+ android:animation="@anim/ic_volume_collapse_rectangle_1_animation" />
+
+</animated-vector> \ No newline at end of file