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.py441 def set_scroll_position(self, value, scroll_vertical=True): argument
449 if scroll_vertical:
457 def set_default_scroll_position(self, scroll_vertical=True): argument
468 self.set_scroll_position(self._DEFAULT_SCROLL, scroll_vertical)
469 self.wait_for_default_scroll_position(scroll_vertical)
472 pos = self.get_scroll_position(scroll_vertical)
479 def get_scroll_position(self, scroll_vertical=True): argument
486 if scroll_vertical:
492 def wait_for_default_scroll_position(self, scroll_vertical=True): argument
503 scroll_vertical) == self._DEFAULT_SCROLL,
[all …]