Commit 0c86ced
Evan Rosky
Add boundsChangeTransaction for Task pending mode change
This associates a surfaceflinger bounds change with a task's
surface provided that task will become organized by the end
of a WindowContainer transaction. Without this, there's no
way to synchronize a new frame due to bounds-change with
said bounds-change if the bounds-change is a result of
changing windowing-modes (and thus becoming organized).
This also records the original Task that a bounds-change
transaction was associated with along with the transaction.
This is needed anytime tasks are nested (eg. with home
task or with split-screen tasks).
Bug: 153579514
Test: See test entry for end of commit chain
Change-Id: If14ea07eca17ef9146537d5aae7122dd7c2dc0451 parent c83fbde commit 0c86ced
4 files changed
Lines changed: 107 additions & 3 deletions
File tree
- core/java/android/window
- services/core/java/com/android/server/wm
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
143 | 173 | | |
144 | 174 | | |
145 | 175 | | |
| |||
287 | 317 | | |
288 | 318 | | |
289 | 319 | | |
| 320 | + | |
290 | 321 | | |
291 | 322 | | |
292 | 323 | | |
| |||
297 | 328 | | |
298 | 329 | | |
299 | 330 | | |
| 331 | + | |
300 | 332 | | |
301 | 333 | | |
302 | 334 | | |
| |||
318 | 350 | | |
319 | 351 | | |
320 | 352 | | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
321 | 357 | | |
322 | 358 | | |
323 | 359 | | |
| |||
377 | 413 | | |
378 | 414 | | |
379 | 415 | | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
380 | 420 | | |
381 | 421 | | |
382 | 422 | | |
| |||
408 | 448 | | |
409 | 449 | | |
410 | 450 | | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
411 | 454 | | |
412 | 455 | | |
413 | 456 | | |
| |||
427 | 470 | | |
428 | 471 | | |
429 | 472 | | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
430 | 476 | | |
431 | 477 | | |
432 | 478 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
436 | 436 | | |
437 | 437 | | |
438 | 438 | | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
439 | 443 | | |
| 444 | + | |
440 | 445 | | |
441 | 446 | | |
442 | 447 | | |
| |||
1745 | 1750 | | |
1746 | 1751 | | |
1747 | 1752 | | |
1748 | | - | |
| 1753 | + | |
1749 | 1754 | | |
1750 | 1755 | | |
1751 | 1756 | | |
| |||
4513 | 4518 | | |
4514 | 4519 | | |
4515 | 4520 | | |
| 4521 | + | |
| 4522 | + | |
| 4523 | + | |
| 4524 | + | |
| 4525 | + | |
| 4526 | + | |
| 4527 | + | |
| 4528 | + | |
| 4529 | + | |
| 4530 | + | |
| 4531 | + | |
| 4532 | + | |
| 4533 | + | |
| 4534 | + | |
4516 | 4535 | | |
| 4536 | + | |
4517 | 4537 | | |
4518 | 4538 | | |
4519 | 4539 | | |
4520 | 4540 | | |
4521 | 4541 | | |
4522 | 4542 | | |
| 4543 | + | |
| 4544 | + | |
| 4545 | + | |
| 4546 | + | |
4523 | 4547 | | |
4524 | 4548 | | |
4525 | 4549 | | |
| |||
Lines changed: 34 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
163 | 163 | | |
164 | 164 | | |
165 | 165 | | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
166 | 169 | | |
167 | 170 | | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
168 | 202 | | |
169 | 203 | | |
170 | 204 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
904 | 904 | | |
905 | 905 | | |
906 | 906 | | |
907 | | - | |
908 | | - | |
| 907 | + | |
| 908 | + | |
909 | 909 | | |
910 | 910 | | |
911 | 911 | | |
| |||
0 commit comments