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
69 scroll_vertical)
77 def _verify_fast_vs_slow(self, direction, scroll_vertical=True): argument
91 slow_delta = self._get_scroll_delta(slow, expected, scroll_vertical)
92 fast_delta = self._get_scroll_delta(fast, expected, scroll_vertical)
140 self._verify_single_tick(direction, scroll_vertical=False)
[all …]
/external/autotest/client/cros/
Dtouch_playback_test_base.py445 def set_scroll_position(self, value, scroll_vertical=True): argument
454 if scroll_vertical:
460 def set_default_scroll_position(self, scroll_vertical=True): argument
471 self.set_scroll_position(self._DEFAULT_SCROLL, scroll_vertical)
472 self.wait_for_default_scroll_position(scroll_vertical)
475 pos = self.get_scroll_position(scroll_vertical)
484 def get_scroll_position(self, scroll_vertical=True): argument
491 if scroll_vertical:
497 def wait_for_default_scroll_position(self, scroll_vertical=True): argument
508 scroll_vertical) == self._DEFAULT_SCROLL,
[all …]