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

..23-Aug-201624 KiB

amazon_mouse.prop23-Aug-2016701

apple_mouse.prop23-Aug-2016704

control23-Aug-2016870

gestures/23-Aug-20164 KiB

README23-Aug-20161.8 KiB

test_page.html23-Aug-2016580

touch_MouseScroll.py23-Aug-20165.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