Home
last modified time | relevance | path

Searched refs:scroll_vertical (Results 1 – 2 of 2) sorted by relevance

/external/autotest/client/site_tests/touch_MouseScroll/
Dtouch_MouseScroll.py24 def _get_scroll_delta(self, name, expected_direction, scroll_vertical=True): argument
36 self._events.set_default_scroll_position(scroll_vertical)
37 start_scroll = self._events.get_scroll_position(scroll_vertical)
43 end_scroll = self._events.get_scroll_position(scroll_vertical)
55 def _verify_single_tick(self, direction, scroll_vertical=True): argument
70 scroll_vertical)
80 def _verify_fast_vs_slow(self, direction, scroll_vertical=True): argument
94 slow_delta = self._get_scroll_delta(slow, expected, scroll_vertical)
95 fast_delta = self._get_scroll_delta(fast, expected, scroll_vertical)
143 self._verify_single_tick(direction, scroll_vertical=False)
[all …]
/external/autotest/client/cros/
Dtouch_playback_test_base.py452 def set_scroll_position(self, value, scroll_vertical=True): argument
461 if scroll_vertical:
467 def set_default_scroll_position(self, scroll_vertical=True): argument
478 self.set_scroll_position(self._DEFAULT_SCROLL, scroll_vertical)
479 self.wait_for_default_scroll_position(scroll_vertical)
482 pos = self.get_scroll_position(scroll_vertical)
491 def get_scroll_position(self, scroll_vertical=True): argument
498 if scroll_vertical:
504 def wait_for_default_scroll_position(self, scroll_vertical=True): argument
514 lambda: self.get_scroll_position( scroll_vertical) in
[all …]