Change the Drag Up and Drag Down simulation so they drag down to the bottom of the screen and to the top of the screen.

Previously, we ended the dragging at the border of the other extreme of the NumberPicker widget.
However, since the widget keeps listening to dragging events even if they are happening outside of the widget, ending the dragging at the border of the widget was somewhat arbitrary and did not reflect how people actually use it.
As a result, when we ended the dragging at the border of the widget, the tests failed unexpectedly based on the widget height and the touch slop value.

Test: CTS tests for Pixel 2 all passing. Note that testing on Volvo IHU is skipped because aosp branches do not support it yet.
Bug: 140960768
Change-Id: I06bda495be6f2cc1e56f03315bdb96abf0e17811
1 file changed