Update OMS patches
[GitHub/Stricted/android_vendor_extra.git] / patches / frameworks / base / 0023-SystemUI-Use-own-drawables-for-QS-expand-icon.patch
1 From e322a665728c13a233b55a6582cb37dd79adf4e5 Mon Sep 17 00:00:00 2001
2 From: Ivan Iskandar <iiiiskandar14@gmail.com>
3 Date: Mon, 5 Dec 2016 19:00:04 +0700
4 Subject: [PATCH 23/43] SystemUI: Use own drawables for QS expand icon
5
6 This was using the volume panel drawables used also on volume panel.
7 So with this commit themers can give different icon for either QS
8 and volume panel expand icon.
9
10 Change-Id: Ice8d8a520b9b22ba773cceb885e11c8a4bbf6d5f
11 ---
12 .../anim/ic_qs_collapse_chevron_02_animation.xml | 25 +++++++++
13 .../anim/ic_qs_collapse_rectangle_1_animation.xml | 26 +++++++++
14 .../anim/ic_qs_collapse_rectangle_2_animation.xml | 26 +++++++++
15 .../res/anim/ic_qs_expand_chevron_01_animation.xml | 25 +++++++++
16 .../anim/ic_qs_expand_rectangle_3_animation.xml | 26 +++++++++
17 .../anim/ic_qs_expand_rectangle_4_animation.xml | 26 +++++++++
18 packages/SystemUI/res/drawable/ic_qs_collapse.xml | 62 ++++++++++++++++++++++
19 .../res/drawable/ic_qs_collapse_animation.xml | 29 ++++++++++
20 packages/SystemUI/res/drawable/ic_qs_expand.xml | 62 ++++++++++++++++++++++
21 .../res/drawable/ic_qs_expand_animation.xml | 29 ++++++++++
22 .../ic_qs_collapse_animation_interpolator_0.xml | 17 ++++++
23 .../ic_qs_expand_animation_interpolator_0.xml | 17 ++++++
24 .../statusbar/phone/ExpandableIndicator.java | 8 +--
25 13 files changed, 374 insertions(+), 4 deletions(-)
26 create mode 100644 packages/SystemUI/res/anim/ic_qs_collapse_chevron_02_animation.xml
27 create mode 100644 packages/SystemUI/res/anim/ic_qs_collapse_rectangle_1_animation.xml
28 create mode 100644 packages/SystemUI/res/anim/ic_qs_collapse_rectangle_2_animation.xml
29 create mode 100644 packages/SystemUI/res/anim/ic_qs_expand_chevron_01_animation.xml
30 create mode 100644 packages/SystemUI/res/anim/ic_qs_expand_rectangle_3_animation.xml
31 create mode 100644 packages/SystemUI/res/anim/ic_qs_expand_rectangle_4_animation.xml
32 create mode 100644 packages/SystemUI/res/drawable/ic_qs_collapse.xml
33 create mode 100644 packages/SystemUI/res/drawable/ic_qs_collapse_animation.xml
34 create mode 100644 packages/SystemUI/res/drawable/ic_qs_expand.xml
35 create mode 100644 packages/SystemUI/res/drawable/ic_qs_expand_animation.xml
36 create mode 100644 packages/SystemUI/res/interpolator/ic_qs_collapse_animation_interpolator_0.xml
37 create mode 100644 packages/SystemUI/res/interpolator/ic_qs_expand_animation_interpolator_0.xml
38
39 diff --git a/packages/SystemUI/res/anim/ic_qs_collapse_chevron_02_animation.xml b/packages/SystemUI/res/anim/ic_qs_collapse_chevron_02_animation.xml
40 new file mode 100644
41 index 00000000000..443f2a651e5
42 --- /dev/null
43 +++ b/packages/SystemUI/res/anim/ic_qs_collapse_chevron_02_animation.xml
44 @@ -0,0 +1,25 @@
45 +<!--
46 + Copyright (C) 2015 The Android Open Source Project
47 +
48 + Licensed under the Apache License, Version 2.0 (the "License");
49 + you may not use this file except in compliance with the License.
50 + You may obtain a copy of the License at
51 +
52 + http://www.apache.org/licenses/LICENSE-2.0
53 +
54 + Unless required by applicable law or agreed to in writing, software
55 + distributed under the License is distributed on an "AS IS" BASIS,
56 + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
57 + See the License for the specific language governing permissions and
58 + limitations under the License.
59 +-->
60 +<set xmlns:android="http://schemas.android.com/apk/res/android" >
61 +
62 + <objectAnimator
63 + android:duration="250"
64 + android:interpolator="@android:interpolator/fast_out_slow_in"
65 + android:pathData="M 12.0,9.0 c 0.0,0.66667 0.0,5.0 0.0,6.0"
66 + android:propertyXName="translateX"
67 + android:propertyYName="translateY" />
68 +
69 +</set>
70 \ No newline at end of file
71 diff --git a/packages/SystemUI/res/anim/ic_qs_collapse_rectangle_1_animation.xml b/packages/SystemUI/res/anim/ic_qs_collapse_rectangle_1_animation.xml
72 new file mode 100644
73 index 00000000000..b73cdcad154
74 --- /dev/null
75 +++ b/packages/SystemUI/res/anim/ic_qs_collapse_rectangle_1_animation.xml
76 @@ -0,0 +1,26 @@
77 +<!--
78 + Copyright (C) 2015 The Android Open Source Project
79 +
80 + Licensed under the Apache License, Version 2.0 (the "License");
81 + you may not use this file except in compliance with the License.
82 + You may obtain a copy of the License at
83 +
84 + http://www.apache.org/licenses/LICENSE-2.0
85 +
86 + Unless required by applicable law or agreed to in writing, software
87 + distributed under the License is distributed on an "AS IS" BASIS,
88 + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
89 + See the License for the specific language governing permissions and
90 + limitations under the License.
91 +-->
92 +<set xmlns:android="http://schemas.android.com/apk/res/android" >
93 +
94 + <objectAnimator
95 + android:duration="200"
96 + android:interpolator="@interpolator/ic_qs_collapse_animation_interpolator_0"
97 + android:propertyName="rotation"
98 + android:valueFrom="45.0"
99 + android:valueTo="-45.0"
100 + android:valueType="floatType" />
101 +
102 +</set>
103 diff --git a/packages/SystemUI/res/anim/ic_qs_collapse_rectangle_2_animation.xml b/packages/SystemUI/res/anim/ic_qs_collapse_rectangle_2_animation.xml
104 new file mode 100644
105 index 00000000000..91c83fc5eff
106 --- /dev/null
107 +++ b/packages/SystemUI/res/anim/ic_qs_collapse_rectangle_2_animation.xml
108 @@ -0,0 +1,26 @@
109 +<!--
110 + Copyright (C) 2015 The Android Open Source Project
111 +
112 + Licensed under the Apache License, Version 2.0 (the "License");
113 + you may not use this file except in compliance with the License.
114 + You may obtain a copy of the License at
115 +
116 + http://www.apache.org/licenses/LICENSE-2.0
117 +
118 + Unless required by applicable law or agreed to in writing, software
119 + distributed under the License is distributed on an "AS IS" BASIS,
120 + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
121 + See the License for the specific language governing permissions and
122 + limitations under the License.
123 +-->
124 +<set xmlns:android="http://schemas.android.com/apk/res/android" >
125 +
126 + <objectAnimator
127 + android:duration="200"
128 + android:interpolator="@interpolator/ic_qs_collapse_animation_interpolator_0"
129 + android:propertyName="rotation"
130 + android:valueFrom="-45.0"
131 + android:valueTo="45.0"
132 + android:valueType="floatType" />
133 +
134 +</set>
135 diff --git a/packages/SystemUI/res/anim/ic_qs_expand_chevron_01_animation.xml b/packages/SystemUI/res/anim/ic_qs_expand_chevron_01_animation.xml
136 new file mode 100644
137 index 00000000000..e43e6453d82
138 --- /dev/null
139 +++ b/packages/SystemUI/res/anim/ic_qs_expand_chevron_01_animation.xml
140 @@ -0,0 +1,25 @@
141 +<!--
142 + Copyright (C) 2015 The Android Open Source Project
143 +
144 + Licensed under the Apache License, Version 2.0 (the "License");
145 + you may not use this file except in compliance with the License.
146 + You may obtain a copy of the License at
147 +
148 + http://www.apache.org/licenses/LICENSE-2.0
149 +
150 + Unless required by applicable law or agreed to in writing, software
151 + distributed under the License is distributed on an "AS IS" BASIS,
152 + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
153 + See the License for the specific language governing permissions and
154 + limitations under the License.
155 +-->
156 +<set xmlns:android="http://schemas.android.com/apk/res/android" >
157 +
158 + <objectAnimator
159 + android:duration="250"
160 + android:interpolator="@android:interpolator/fast_out_slow_in"
161 + android:pathData="M 12.0,15.0 c 0.0,-1.0 0.0,-5.33333 0.0,-6.0"
162 + android:propertyXName="translateX"
163 + android:propertyYName="translateY" />
164 +
165 +</set>
166 \ No newline at end of file
167 diff --git a/packages/SystemUI/res/anim/ic_qs_expand_rectangle_3_animation.xml b/packages/SystemUI/res/anim/ic_qs_expand_rectangle_3_animation.xml
168 new file mode 100644
169 index 00000000000..493bdae7900
170 --- /dev/null
171 +++ b/packages/SystemUI/res/anim/ic_qs_expand_rectangle_3_animation.xml
172 @@ -0,0 +1,26 @@
173 +<!--
174 + Copyright (C) 2015 The Android Open Source Project
175 +
176 + Licensed under the Apache License, Version 2.0 (the "License");
177 + you may not use this file except in compliance with the License.
178 + You may obtain a copy of the License at
179 +
180 + http://www.apache.org/licenses/LICENSE-2.0
181 +
182 + Unless required by applicable law or agreed to in writing, software
183 + distributed under the License is distributed on an "AS IS" BASIS,
184 + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
185 + See the License for the specific language governing permissions and
186 + limitations under the License.
187 +-->
188 +<set xmlns:android="http://schemas.android.com/apk/res/android" >
189 +
190 + <objectAnimator
191 + android:duration="200"
192 + android:interpolator="@interpolator/ic_qs_expand_animation_interpolator_0"
193 + android:propertyName="rotation"
194 + android:valueFrom="45.0"
195 + android:valueTo="-45.0"
196 + android:valueType="floatType" />
197 +
198 +</set>
199 diff --git a/packages/SystemUI/res/anim/ic_qs_expand_rectangle_4_animation.xml b/packages/SystemUI/res/anim/ic_qs_expand_rectangle_4_animation.xml
200 new file mode 100644
201 index 00000000000..58e485c9c74
202 --- /dev/null
203 +++ b/packages/SystemUI/res/anim/ic_qs_expand_rectangle_4_animation.xml
204 @@ -0,0 +1,26 @@
205 +<!--
206 + Copyright (C) 2015 The Android Open Source Project
207 +
208 + Licensed under the Apache License, Version 2.0 (the "License");
209 + you may not use this file except in compliance with the License.
210 + You may obtain a copy of the License at
211 +
212 + http://www.apache.org/licenses/LICENSE-2.0
213 +
214 + Unless required by applicable law or agreed to in writing, software
215 + distributed under the License is distributed on an "AS IS" BASIS,
216 + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
217 + See the License for the specific language governing permissions and
218 + limitations under the License.
219 +-->
220 +<set xmlns:android="http://schemas.android.com/apk/res/android" >
221 +
222 + <objectAnimator
223 + android:duration="200"
224 + android:interpolator="@interpolator/ic_qs_expand_animation_interpolator_0"
225 + android:propertyName="rotation"
226 + android:valueFrom="-45.0"
227 + android:valueTo="45.0"
228 + android:valueType="floatType" />
229 +
230 +</set>
231 diff --git a/packages/SystemUI/res/drawable/ic_qs_collapse.xml b/packages/SystemUI/res/drawable/ic_qs_collapse.xml
232 new file mode 100644
233 index 00000000000..bba6b7f1341
234 --- /dev/null
235 +++ b/packages/SystemUI/res/drawable/ic_qs_collapse.xml
236 @@ -0,0 +1,62 @@
237 +<!--
238 + Copyright (C) 2015 The Android Open Source Project
239 +
240 + Licensed under the Apache License, Version 2.0 (the "License");
241 + you may not use this file except in compliance with the License.
242 + You may obtain a copy of the License at
243 +
244 + http://www.apache.org/licenses/LICENSE-2.0
245 +
246 + Unless required by applicable law or agreed to in writing, software
247 + distributed under the License is distributed on an "AS IS" BASIS,
248 + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
249 + See the License for the specific language governing permissions and
250 + limitations under the License.
251 +-->
252 +<vector xmlns:android="http://schemas.android.com/apk/res/android"
253 + android:name="ic_qs_collapse"
254 + android:height="24dp"
255 + android:viewportHeight="24"
256 + android:viewportWidth="24"
257 + android:width="24dp" >
258 +
259 + <group
260 + android:name="chevron_02"
261 + android:rotation="90"
262 + android:translateX="12"
263 + android:translateY="9" >
264 + <group
265 + android:name="rectangle_2"
266 + android:rotation="-45" >
267 + <group
268 + android:name="rectangle_2_pivot"
269 + android:translateY="4" >
270 + <group
271 + android:name="rectangle_path_2_position"
272 + android:translateY="-1" >
273 + <path
274 + android:name="rectangle_path_2"
275 + android:fillColor="#FFFFFFFF"
276 + android:pathData="M -1.0,-4.0 l 2.0,0.0 c 0.0,0.0 0.0,0.0 0.0,0.0 l 0.0,8.0 c 0.0,0.0 0.0,0.0 0.0,0.0 l -2.0,0.0 c 0.0,0.0 0.0,0.0 0.0,0.0 l 0.0,-8.0 c 0.0,0.0 0.0,0.0 0.0,0.0 Z" />
277 + </group>
278 + </group>
279 + </group>
280 + <group
281 + android:name="rectangle_1"
282 + android:rotation="45" >
283 + <group
284 + android:name="rectangle_1_pivot"
285 + android:translateY="-4" >
286 + <group
287 + android:name="rectangle_path_1_position"
288 + android:translateY="1" >
289 + <path
290 + android:name="rectangle_path_1"
291 + android:fillColor="#FFFFFFFF"
292 + android:pathData="M -1.0,-4.0 l 2.0,0.0 c 0.0,0.0 0.0,0.0 0.0,0.0 l 0.0,8.0 c 0.0,0.0 0.0,0.0 0.0,0.0 l -2.0,0.0 c 0.0,0.0 0.0,0.0 0.0,0.0 l 0.0,-8.0 c 0.0,0.0 0.0,0.0 0.0,0.0 Z" />
293 + </group>
294 + </group>
295 + </group>
296 + </group>
297 +
298 +</vector>
299 diff --git a/packages/SystemUI/res/drawable/ic_qs_collapse_animation.xml b/packages/SystemUI/res/drawable/ic_qs_collapse_animation.xml
300 new file mode 100644
301 index 00000000000..8138b2e9cff
302 --- /dev/null
303 +++ b/packages/SystemUI/res/drawable/ic_qs_collapse_animation.xml
304 @@ -0,0 +1,29 @@
305 +<!--
306 + Copyright (C) 2015 The Android Open Source Project
307 +
308 + Licensed under the Apache License, Version 2.0 (the "License");
309 + you may not use this file except in compliance with the License.
310 + You may obtain a copy of the License at
311 +
312 + http://www.apache.org/licenses/LICENSE-2.0
313 +
314 + Unless required by applicable law or agreed to in writing, software
315 + distributed under the License is distributed on an "AS IS" BASIS,
316 + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
317 + See the License for the specific language governing permissions and
318 + limitations under the License.
319 +-->
320 +<animated-vector xmlns:android="http://schemas.android.com/apk/res/android"
321 + android:drawable="@drawable/ic_qs_collapse" >
322 +
323 + <target
324 + android:name="chevron_02"
325 + android:animation="@anim/ic_qs_collapse_chevron_02_animation" />
326 + <target
327 + android:name="rectangle_2"
328 + android:animation="@anim/ic_qs_collapse_rectangle_2_animation" />
329 + <target
330 + android:name="rectangle_1"
331 + android:animation="@anim/ic_qs_collapse_rectangle_1_animation" />
332 +
333 +</animated-vector>
334 diff --git a/packages/SystemUI/res/drawable/ic_qs_expand.xml b/packages/SystemUI/res/drawable/ic_qs_expand.xml
335 new file mode 100644
336 index 00000000000..bb220641e81
337 --- /dev/null
338 +++ b/packages/SystemUI/res/drawable/ic_qs_expand.xml
339 @@ -0,0 +1,62 @@
340 +<!--
341 + Copyright (C) 2015 The Android Open Source Project
342 +
343 + Licensed under the Apache License, Version 2.0 (the "License");
344 + you may not use this file except in compliance with the License.
345 + You may obtain a copy of the License at
346 +
347 + http://www.apache.org/licenses/LICENSE-2.0
348 +
349 + Unless required by applicable law or agreed to in writing, software
350 + distributed under the License is distributed on an "AS IS" BASIS,
351 + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
352 + See the License for the specific language governing permissions and
353 + limitations under the License.
354 +-->
355 +<vector xmlns:android="http://schemas.android.com/apk/res/android"
356 + android:name="ic_qs_expand"
357 + android:height="24dp"
358 + android:viewportHeight="24"
359 + android:viewportWidth="24"
360 + android:width="24dp" >
361 +
362 + <group
363 + android:name="chevron_01"
364 + android:rotation="90"
365 + android:translateX="12"
366 + android:translateY="15" >
367 + <group
368 + android:name="rectangle_3"
369 + android:rotation="45" >
370 + <group
371 + android:name="rectangle_2_pivot_0"
372 + android:translateY="4" >
373 + <group
374 + android:name="rectangle_path_3_position"
375 + android:translateY="-1" >
376 + <path
377 + android:name="rectangle_path_3"
378 + android:fillColor="#FFFFFFFF"
379 + android:pathData="M -1.0,-4.0 l 2.0,0.0 c 0.0,0.0 0.0,0.0 0.0,0.0 l 0.0,8.0 c 0.0,0.0 0.0,0.0 0.0,0.0 l -2.0,0.0 c 0.0,0.0 0.0,0.0 0.0,0.0 l 0.0,-8.0 c 0.0,0.0 0.0,0.0 0.0,0.0 Z" />
380 + </group>
381 + </group>
382 + </group>
383 + <group
384 + android:name="rectangle_4"
385 + android:rotation="-45" >
386 + <group
387 + android:name="rectangle_1_pivot_0"
388 + android:translateY="-4" >
389 + <group
390 + android:name="rectangle_path_4_position"
391 + android:translateY="1" >
392 + <path
393 + android:name="rectangle_path_4"
394 + android:fillColor="#FFFFFFFF"
395 + android:pathData="M -1.0,-4.0 l 2.0,0.0 c 0.0,0.0 0.0,0.0 0.0,0.0 l 0.0,8.0 c 0.0,0.0 0.0,0.0 0.0,0.0 l -2.0,0.0 c 0.0,0.0 0.0,0.0 0.0,0.0 l 0.0,-8.0 c 0.0,0.0 0.0,0.0 0.0,0.0 Z" />
396 + </group>
397 + </group>
398 + </group>
399 + </group>
400 +
401 +</vector>
402 diff --git a/packages/SystemUI/res/drawable/ic_qs_expand_animation.xml b/packages/SystemUI/res/drawable/ic_qs_expand_animation.xml
403 new file mode 100644
404 index 00000000000..b561ee06ad8
405 --- /dev/null
406 +++ b/packages/SystemUI/res/drawable/ic_qs_expand_animation.xml
407 @@ -0,0 +1,29 @@
408 +<!--
409 + Copyright (C) 2015 The Android Open Source Project
410 +
411 + Licensed under the Apache License, Version 2.0 (the "License");
412 + you may not use this file except in compliance with the License.
413 + You may obtain a copy of the License at
414 +
415 + http://www.apache.org/licenses/LICENSE-2.0
416 +
417 + Unless required by applicable law or agreed to in writing, software
418 + distributed under the License is distributed on an "AS IS" BASIS,
419 + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
420 + See the License for the specific language governing permissions and
421 + limitations under the License.
422 +-->
423 +<animated-vector xmlns:android="http://schemas.android.com/apk/res/android"
424 + android:drawable="@drawable/ic_qs_expand" >
425 +
426 + <target
427 + android:name="chevron_01"
428 + android:animation="@anim/ic_qs_expand_chevron_01_animation" />
429 + <target
430 + android:name="rectangle_3"
431 + android:animation="@anim/ic_qs_expand_rectangle_3_animation" />
432 + <target
433 + android:name="rectangle_4"
434 + android:animation="@anim/ic_qs_expand_rectangle_4_animation" />
435 +
436 +</animated-vector>
437 diff --git a/packages/SystemUI/res/interpolator/ic_qs_collapse_animation_interpolator_0.xml b/packages/SystemUI/res/interpolator/ic_qs_collapse_animation_interpolator_0.xml
438 new file mode 100644
439 index 00000000000..c3930e42cda
440 --- /dev/null
441 +++ b/packages/SystemUI/res/interpolator/ic_qs_collapse_animation_interpolator_0.xml
442 @@ -0,0 +1,17 @@
443 +<!--
444 + Copyright (C) 2015 The Android Open Source Project
445 +
446 + Licensed under the Apache License, Version 2.0 (the "License");
447 + you may not use this file except in compliance with the License.
448 + You may obtain a copy of the License at
449 +
450 + http://www.apache.org/licenses/LICENSE-2.0
451 +
452 + Unless required by applicable law or agreed to in writing, software
453 + distributed under the License is distributed on an "AS IS" BASIS,
454 + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
455 + See the License for the specific language governing permissions and
456 + limitations under the License.
457 +-->
458 +<pathInterpolator xmlns:android="http://schemas.android.com/apk/res/android"
459 + android:pathData="M 0.0,0.0 c 0.0001,0.0 0.0,1.0 1.0,1.0" />
460 diff --git a/packages/SystemUI/res/interpolator/ic_qs_expand_animation_interpolator_0.xml b/packages/SystemUI/res/interpolator/ic_qs_expand_animation_interpolator_0.xml
461 new file mode 100644
462 index 00000000000..c3930e42cda
463 --- /dev/null
464 +++ b/packages/SystemUI/res/interpolator/ic_qs_expand_animation_interpolator_0.xml
465 @@ -0,0 +1,17 @@
466 +<!--
467 + Copyright (C) 2015 The Android Open Source Project
468 +
469 + Licensed under the Apache License, Version 2.0 (the "License");
470 + you may not use this file except in compliance with the License.
471 + You may obtain a copy of the License at
472 +
473 + http://www.apache.org/licenses/LICENSE-2.0
474 +
475 + Unless required by applicable law or agreed to in writing, software
476 + distributed under the License is distributed on an "AS IS" BASIS,
477 + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
478 + See the License for the specific language governing permissions and
479 + limitations under the License.
480 +-->
481 +<pathInterpolator xmlns:android="http://schemas.android.com/apk/res/android"
482 + android:pathData="M 0.0,0.0 c 0.0001,0.0 0.0,1.0 1.0,1.0" />
483 diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/ExpandableIndicator.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/ExpandableIndicator.java
484 index a295cfacbbc..0f04c28b98c 100644
485 --- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/ExpandableIndicator.java
486 +++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/ExpandableIndicator.java
487 @@ -57,11 +57,11 @@ public class ExpandableIndicator extends ImageView {
488
489 private int getDrawableResourceId(boolean expanded) {
490 if (mIsDefaultDirection) {
491 - return expanded ? R.drawable.ic_volume_collapse_animation
492 - : R.drawable.ic_volume_expand_animation;
493 + return expanded ? R.drawable.ic_qs_collapse_animation
494 + : R.drawable.ic_qs_expand_animation;
495 } else {
496 - return expanded ? R.drawable.ic_volume_expand_animation
497 - : R.drawable.ic_volume_collapse_animation;
498 + return expanded ? R.drawable.ic_qs_expand_animation
499 + : R.drawable.ic_qs_collapse_animation;
500 }
501 }
502
503 --
504 2.11.1
505