• Home
  • History
  • Annotate
  • only in /external/autotest/client/site_tests/touch_MouseScroll/
NameDateSize

..21-Dec-201724 KiB

amazon_mouse.prop21-Dec-2017701

apple_mouse.prop21-Dec-2017704

control21-Dec-2017870

gestures/21-Dec-20174 KiB

README21-Dec-20171.8 KiB

test_page.html21-Dec-2017580

touch_MouseScroll.py21-Dec-20175.5 KiB

README

1touch_MouseScroll test uses thirteen gesture files that scroll. All scrolls
2recorded should be done in a single motion (i.e. do not give a pause between
3scroll movement). Having the scroll stop in the middle of the test would break
4the test. The gesture files recorded are:
5
6up_slow    - Scroll the mouse wheel up slowly to record multiple scrolls.
7up_fast    - Scroll the mouse wheel up fast to record multiple scrolls.
8up_1       - Scroll the mouse wheel up (one gear up) to record single scroll.
9down_slow  - Scroll the mouse wheel down slowly to record scrolls.
10down_fast  - Scroll the mouse wheel down fast to record multiple scrolls.
11down_1     - Scroll the mouse wheel down (one gear down) to record single scroll.
12
13To record horizontal scrolls, please emulate a mouse which has this feature and
14start recodring the gesture files as:
15
16right_slow    - Scroll the mouse ball right slowly to record multiple scrolls.
17right_fast    - Scroll the mouse ball right fast to record multiple scrolls.
18right_1       - Scroll the mouse ball right (one gear right) to record single scroll.
19left_slow  - Scroll the mouse ball left slowly to record scrolls.
20left_fast  - Scroll the mouse ball left fast to record multiple scrolls.
21left_1     - Scroll the mouse ball left (one gear left) to record single scroll.
22
23To position the cursor on center of page, center_cursor gesture file is used:
24
25center_cursor - Use mouse to move the mouse pointer to center of the screen.
26                As we do not know where the pointer would show up at the start
27                of this test, hence to ensure that any starting cursor position
28                will result in a centered cursor, move the cursor well into a
29                corner of the screen and then move the cursor back to center of
30                the test page. Do not pause the movement until pointer is at
31                the center of page.
32