TopologyScale helps to size the topology pane and properly size and place the display blocks inside it. It is based on the algorithm described in the design doc. Test: TopologyScaleTest Flag: com.android.settings.flags.display_topology_pane_in_display_list Bug: b/352648432 Change-Id: I8932e80c2b490fab0097fa315e536b292376d4a8
Running Settings Robolectric tests
The full suite
$ croot
$ atest SettingsRoboTests
Running a single test class
With a filter
$ croot
$ atest SettingsRoboTests:com.android.settings.display.AdaptiveSleepPreferenceControllerTest
You can also run any single test class with atest (it will try to find the correct path)
$ atest AdaptiveSleepPreferenceControllerTest