diff options
| author | 2024-10-15 09:42:07 +0000 | |
|---|---|---|
| committer | 2024-10-25 16:11:20 +0000 | |
| commit | 112745214b2c7cd8d5ab70612e104d77090be98d (patch) | |
| tree | e25326249b7c04ffc36ef514427a6555a18b3b6c /api/coverage/tools | |
| parent | eff7ffab51fef5466af29b74eafab9154f9688b7 (diff) | |
Implement topology normalization
The topology normalization algorithm will be used to remove overlaps between displays if there are any after updating a display. It is based on the ChromeOS implementation.
Additionally:
- use float instead of double as discussed in the design doc, then we can also use PointF and RectF
- use ArrayDeque instead of LinkedList as that's the recommended way
- handle the edge case when a display is added to the topology twice
- implement a test for removing the primary display
Bug: 364906359
Flag: com.android.server.display.feature.flags.display_topology
Test: DisplayTopologyCoordinatorTest, DisplayTopologyTest
Change-Id: I563c3a767b3144625edd0c11119c51b21f520454
Diffstat (limited to 'api/coverage/tools')
0 files changed, 0 insertions, 0 deletions