Searched refs:createScrollEvent (Results  1 – 4 of 4) sorted by relevance
| /cts/tests/tests/text/src/android/text/method/cts/ | 
| D | BaseMovementMethodTest.java | 96         MotionEvent event = createScrollEvent(1, 0);  in testOnGenericMotionEvent_horizontalScroll() 103         event = createScrollEvent(-1, 0);  in testOnGenericMotionEvent_horizontalScroll() 110         event = createScrollEvent(-1, 0);  in testOnGenericMotionEvent_horizontalScroll() 117         event = createScrollEvent(1, 0);  in testOnGenericMotionEvent_horizontalScroll() 127         event = createScrollEvent(0, 1, KeyEvent.META_SHIFT_ON);  in testOnGenericMotionEvent_horizontalScroll() 134         event = createScrollEvent(0, -1, KeyEvent.META_SHIFT_ON);  in testOnGenericMotionEvent_horizontalScroll() 158         MotionEvent event = createScrollEvent(0, -1);  in testOnGenericMotionEvent_verticalScroll() 165         event = createScrollEvent(0, 1);  in testOnGenericMotionEvent_verticalScroll() 172         event = createScrollEvent(0, 1);  in testOnGenericMotionEvent_verticalScroll() 179         event = createScrollEvent(0, -1);  in testOnGenericMotionEvent_verticalScroll() [all …] 
 | 
| /cts/tests/tests/widget/src/android/widget/cts/ | 
| D | HorizontalScrollViewTest.java | 1115                     createScrollEvent(-2f, InputDevice.SOURCE_ROTARY_ENCODER)));  in scrollFromRotaryStretchesLeft() 1132                     createScrollEvent(-2f, InputDevice.SOURCE_MOUSE)));  in scrollFromMouseDoesNotStretchLeft() 1153                     createScrollEvent(2f, InputDevice.SOURCE_ROTARY_ENCODER)));  in scrollFromRotaryStretchesRight() 1175                     createScrollEvent(2f, InputDevice.SOURCE_MOUSE)));  in scrollFromMouseDoesNotStretchRight() 1247     private MotionEvent createScrollEvent(float scrollAmount, int source) {  in createScrollEvent()  method in HorizontalScrollViewTest
  | 
| D | ScrollViewTest.java | 1227                     createScrollEvent(2f, InputDevice.SOURCE_ROTARY_ENCODER)));  in scrollFromRotaryStretchesTop() 1243                     createScrollEvent(2f, InputDevice.SOURCE_MOUSE)));  in scrollFromMouseDoesNotStretchTop() 1263                     createScrollEvent(-2f, InputDevice.SOURCE_ROTARY_ENCODER)));  in scrollFromRotaryStretchesBottom() 1285                     createScrollEvent(-2f, InputDevice.SOURCE_MOUSE)));  in scrollFromMouseDoesNotStretchBottom() 1356     private MotionEvent createScrollEvent(float scrollAmount, int source) {  in createScrollEvent()  method in ScrollViewTest
  | 
| D | ListViewTest.java | 1437                     createScrollEvent(2f, InputDevice.SOURCE_ROTARY_ENCODER)));  in scrollFromRotaryStretchesTop() 1454                     createScrollEvent(2f, InputDevice.SOURCE_MOUSE)));  in scrollFromMouseDoesNotStretchTop() 1472                     createScrollEvent(-2f, InputDevice.SOURCE_ROTARY_ENCODER)));  in scrollFromRotaryStretchesBottom() 1491                     createScrollEvent(-2f, InputDevice.SOURCE_MOUSE)));  in scrollFromMouseDoesNotStretchBottom() 1590     private MotionEvent createScrollEvent(float scrollAmount, int source) {  in createScrollEvent()  method in ListViewTest
  |