Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d2e1aa43 authored by Matthew DeVore's avatar Matthew DeVore
Browse files

DisplayTopology: keep nodes' logical width/height

This causes most backing fields to be int's rather than floats. The
device-independent pixels are calculated on-the-fly.

When updating the wallpaper previews in the topology pane, we need to
know the physical size of the wallpaper, and to avoid another fetch for
every displays' DisplayInfo data, I considered adding it to the
topology info.

Flag: com.android.settings.flags.display_topology_pane_in_display_list
Test: atest (modified tests)
Test: new test DisplayTopologyTest.rearrange_variousDensities
Bug: b/397231553
Bug: b/407028459
Change-Id: I02601016880629d6e7fe015b4ff889e8b69dd792
parent 13c9658e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment