Commit e929567
committed
Rounded corner: fix layer settings when inherited from parent settings
This fixes a bug where the radius inherited from parent settings
were not scaled correctly. Also adds a unit test to test this scaling
behavior in the future.
Bug: 388410825
Test: atest surfaceflinger_unittest; manual - open PiP capable apps
Flag: EXEMPT bugfix
Change-Id: Ib63e27a75d3facecef94d8723b6cbdbe0cae6c271 parent c92fd97 commit e929567
2 files changed
Lines changed: 38 additions & 1 deletion
File tree
- services/surfaceflinger
- FrontEnd
- tests/unittests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
982 | 982 | | |
983 | 983 | | |
984 | 984 | | |
| 985 | + | |
| 986 | + | |
985 | 987 | | |
986 | 988 | | |
987 | 989 | | |
| |||
Lines changed: 36 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
| |||
1443 | 1444 | | |
1444 | 1445 | | |
1445 | 1446 | | |
1446 | | - | |
| 1447 | + | |
| 1448 | + | |
| 1449 | + | |
| 1450 | + | |
| 1451 | + | |
| 1452 | + | |
| 1453 | + | |
| 1454 | + | |
| 1455 | + | |
| 1456 | + | |
| 1457 | + | |
| 1458 | + | |
| 1459 | + | |
| 1460 | + | |
| 1461 | + | |
| 1462 | + | |
| 1463 | + | |
| 1464 | + | |
| 1465 | + | |
| 1466 | + | |
| 1467 | + | |
| 1468 | + | |
| 1469 | + | |
| 1470 | + | |
| 1471 | + | |
| 1472 | + | |
| 1473 | + | |
| 1474 | + | |
| 1475 | + | |
| 1476 | + | |
1447 | 1477 | | |
1448 | 1478 | | |
1449 | 1479 | | |
| |||
1457 | 1487 | | |
1458 | 1488 | | |
1459 | 1489 | | |
| 1490 | + | |
| 1491 | + | |
| 1492 | + | |
| 1493 | + | |
| 1494 | + | |
1460 | 1495 | | |
1461 | 1496 | | |
1462 | 1497 | | |
| |||
0 commit comments