Commit 8437587
Dianne Hackborn
Work on issue #6579997: Mariner entrance animation
Add a new variation of ActivityOptions that allows you to
supply custom animation resources and get a callback when the
animation starts.
Use this in SearchPanelView to determine when to start hiding
the search panel instead of having a fixed delay.
Fix some issues in the activity manager where we would cancel
the options in cases where we should actually keep them to give
to the window manager for a transition. (Basically when the
activity being started is not actually ending up launched, but
just results in a shift in the activity stack.)
Note that this is not quite what the design calls for -- the
entire search UI is waiting and then disappearing when the
animation starts, instead of the ring first disappearing while
waiting for the time to fade out the circle.
Change-Id: Iee9a404ba530908d73cdbd4a9d0d2907ac03428f1 parent ea01e4a commit 8437587
File tree
8 files changed
+170
-73
lines changed- core/java/android
- app
- view
- packages/SystemUI
- res/anim
- src/com/android/systemui
- services/java/com/android/server
- am
- wm
8 files changed
+170
-73
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
130 | 154 | | |
131 | 155 | | |
132 | 156 | | |
133 | 157 | | |
134 | 158 | | |
| 159 | + | |
135 | 160 | | |
136 | 161 | | |
137 | 162 | | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
138 | 179 | | |
139 | 180 | | |
140 | 181 | | |
| |||
258 | 299 | | |
259 | 300 | | |
260 | 301 | | |
261 | | - | |
262 | | - | |
263 | | - | |
264 | | - | |
265 | | - | |
266 | | - | |
267 | | - | |
268 | | - | |
269 | | - | |
270 | | - | |
271 | | - | |
272 | | - | |
273 | | - | |
| 302 | + | |
274 | 303 | | |
275 | 304 | | |
276 | 305 | | |
| |||
284 | 313 | | |
285 | 314 | | |
286 | 315 | | |
| 316 | + | |
| 317 | + | |
287 | 318 | | |
288 | 319 | | |
289 | 320 | | |
| |||
381 | 412 | | |
382 | 413 | | |
383 | 414 | | |
384 | | - | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
385 | 422 | | |
386 | 423 | | |
387 | 424 | | |
388 | 425 | | |
389 | 426 | | |
390 | 427 | | |
391 | 428 | | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
392 | 436 | | |
393 | 437 | | |
394 | 438 | | |
| |||
425 | 469 | | |
426 | 470 | | |
427 | 471 | | |
| 472 | + | |
| 473 | + | |
428 | 474 | | |
429 | 475 | | |
430 | 476 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | | - | |
| 83 | + | |
| 84 | + | |
84 | 85 | | |
85 | 86 | | |
86 | 87 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
Lines changed: 19 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
50 | | - | |
| 49 | + | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| |||
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
116 | | - | |
| 116 | + | |
| 117 | + | |
117 | 118 | | |
118 | 119 | | |
119 | 120 | | |
120 | 121 | | |
| 122 | + | |
121 | 123 | | |
122 | 124 | | |
123 | 125 | | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
| 126 | + | |
| 127 | + | |
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
| |||
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | 148 | | |
155 | 149 | | |
156 | 150 | | |
157 | 151 | | |
158 | 152 | | |
159 | 153 | | |
160 | | - | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
161 | 166 | | |
162 | 167 | | |
163 | 168 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2804 | 2804 | | |
2805 | 2805 | | |
2806 | 2806 | | |
2807 | | - | |
| 2807 | + | |
2808 | 2808 | | |
2809 | 2809 | | |
2810 | 2810 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
558 | 558 | | |
559 | 559 | | |
560 | 560 | | |
561 | | - | |
| 561 | + | |
| 562 | + | |
562 | 563 | | |
563 | 564 | | |
564 | 565 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1371 | 1371 | | |
1372 | 1372 | | |
1373 | 1373 | | |
| 1374 | + | |
| 1375 | + | |
| 1376 | + | |
| 1377 | + | |
1374 | 1378 | | |
1375 | 1379 | | |
1376 | 1380 | | |
| |||
1383 | 1387 | | |
1384 | 1388 | | |
1385 | 1389 | | |
| 1390 | + | |
1386 | 1391 | | |
1387 | 1392 | | |
1388 | 1393 | | |
| |||
1395 | 1400 | | |
1396 | 1401 | | |
1397 | 1402 | | |
| 1403 | + | |
1398 | 1404 | | |
1399 | 1405 | | |
1400 | 1406 | | |
| |||
1409 | 1415 | | |
1410 | 1416 | | |
1411 | 1417 | | |
| 1418 | + | |
1412 | 1419 | | |
1413 | 1420 | | |
1414 | 1421 | | |
| |||
1419 | 1426 | | |
1420 | 1427 | | |
1421 | 1428 | | |
| 1429 | + | |
| 1430 | + | |
1422 | 1431 | | |
1423 | 1432 | | |
1424 | 1433 | | |
| |||
2666 | 2675 | | |
2667 | 2676 | | |
2668 | 2677 | | |
| 2678 | + | |
2669 | 2679 | | |
2670 | 2680 | | |
2671 | 2681 | | |
| |||
2679 | 2689 | | |
2680 | 2690 | | |
2681 | 2691 | | |
2682 | | - | |
| 2692 | + | |
| 2693 | + | |
| 2694 | + | |
2683 | 2695 | | |
2684 | | - | |
2685 | 2696 | | |
2686 | 2697 | | |
2687 | 2698 | | |
| |||
2767 | 2778 | | |
2768 | 2779 | | |
2769 | 2780 | | |
2770 | | - | |
| 2781 | + | |
| 2782 | + | |
| 2783 | + | |
2771 | 2784 | | |
2772 | | - | |
2773 | 2785 | | |
2774 | 2786 | | |
2775 | 2787 | | |
| |||
0 commit comments