If useTouchpadNaturalScrolling is false, "Reverse scrolling" should be on. [The API value] useTouchpadNaturalScrolling: false [The expected UX behavior] Reverse scrolling: on fingers upward, scroll up, content moves down The description of "useTouchpadNaturalScrolling": Returns true if moving two fingers upwards on the touchpad should scroll down, which is known as natural scrolling. The description of "Reverse scrolling": Content moves up when you scroll down. Bug: 280047007 Test: manual and passed atest TrackpadReverseScrollingPreferenceControllerTest Change-Id: Ia5e30fa14b599ddcffae99005114f10412ccad3c
Running Settings Robolectric tests
The full suite
$ croot
$ make RunSettingsRoboTests
Running a single test class
$ croot
$ make RunSettingsRoboTests ROBOTEST_FILTER=<ClassName>
For example:
make RunSettingsRoboTests ROBOTEST_FILTER=CodeInspectionTest
You can also use partial class name in ROBOTEST_FILTER. If the partial class name matches multiple file names, all of them will be executed.