Home | History | Annotate | only in /external/autotest/client/site_tests/touch_MouseScroll
Up to higher level directory
NameDateSize
amazon_mouse.prop06-Dec-2016701
apple_mouse.prop06-Dec-2016704
control06-Dec-2016870
gestures/06-Dec-2016
README06-Dec-20161.8K
test_page.html06-Dec-2016580
touch_MouseScroll.py06-Dec-20165.5K

README

      1 touch_MouseScroll test uses thirteen gesture files that scroll. All scrolls
      2 recorded should be done in a single motion (i.e. do not give a pause between
      3 scroll movement). Having the scroll stop in the middle of the test would break
      4 the test. The gesture files recorded are:
      5 
      6 up_slow    - Scroll the mouse wheel up slowly to record multiple scrolls.
      7 up_fast    - Scroll the mouse wheel up fast to record multiple scrolls.
      8 up_1       - Scroll the mouse wheel up (one gear up) to record single scroll.
      9 down_slow  - Scroll the mouse wheel down slowly to record scrolls.
     10 down_fast  - Scroll the mouse wheel down fast to record multiple scrolls.
     11 down_1     - Scroll the mouse wheel down (one gear down) to record single scroll.
     12 
     13 To record horizontal scrolls, please emulate a mouse which has this feature and
     14 start recodring the gesture files as:
     15 
     16 right_slow    - Scroll the mouse ball right slowly to record multiple scrolls.
     17 right_fast    - Scroll the mouse ball right fast to record multiple scrolls.
     18 right_1       - Scroll the mouse ball right (one gear right) to record single scroll.
     19 left_slow  - Scroll the mouse ball left slowly to record scrolls.
     20 left_fast  - Scroll the mouse ball left fast to record multiple scrolls.
     21 left_1     - Scroll the mouse ball left (one gear left) to record single scroll.
     22 
     23 To position the cursor on center of page, center_cursor gesture file is used:
     24 
     25 center_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