Searched refs:ACTION_DOWN (Results 1 - 25 of 65) sorted by relevance

123

/external/chromium_org/content/public/test/android/javatests/src/org/chromium/content/browser/test/util/
H A DKeyUtils.java18 instrumentation.sendKeySync(new KeyEvent(KeyEvent.ACTION_DOWN,
29 instrumentation.sendKeySync(new KeyEvent(KeyEvent.ACTION_DOWN,
40 instrumentation.sendKeySync(new KeyEvent(KeyEvent.ACTION_DOWN,
51 instrumentation.sendKeySync(new KeyEvent(KeyEvent.ACTION_DOWN,
H A DTouchCommon.java37 MotionEvent.ACTION_DOWN, x, y, 0);
98 MotionEvent.ACTION_DOWN, x, y, 0);
142 MotionEvent.ACTION_DOWN, x, y, 0);
164 MotionEvent.ACTION_DOWN, x, y, 0);
H A DTestTouchUtils.java54 sendAction(instrumentation, MotionEvent.ACTION_DOWN, downTime, x, y);
108 sendAction(instrumentation, MotionEvent.ACTION_DOWN, downTime, absoluteX, absoluteY);
135 sendAction(instrumentation, MotionEvent.ACTION_DOWN, downTime, x, y);
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/
H A DSPenSupport.java59 return MotionEvent.ACTION_DOWN;
H A DTouchEventSynthesizer.java61 mDownTimeInMs, timeInMs, MotionEvent.ACTION_DOWN, 1,
/external/chromium_org/content/browser/renderer_host/input/
H A Dgesture_text_selector_unittest.cc84 MockMotionEvent e(MotionEvent::ACTION_DOWN, event_time, 50.0f, 50.0f);
91 MockMotionEvent e(MotionEvent::ACTION_DOWN, event_time, 50.0f, 50.0f);
98 MockMotionEvent e(MotionEvent::ACTION_DOWN, event_time, 50.0f, 50.0f);
105 MockMotionEvent e(MotionEvent::ACTION_DOWN, event_time, 50.0f, 50.0f);
118 MockMotionEvent finger(MotionEvent::ACTION_DOWN, event_time, x, y);
131 // 1. ACTION_DOWN with stylus + button
133 MockMotionEvent action_down(MotionEvent::ACTION_DOWN, event_time, x1, y1);
192 // 1. ACTION_DOWN with stylus + button
194 MockMotionEvent action_down(MotionEvent::ACTION_DOWN, event_time, x1, y1);
H A Dtouch_handle_unittest.cc278 MockMotionEvent::ACTION_DOWN, event_time, kOffset, kOffset);
309 MockMotionEvent::ACTION_DOWN, event_time, kOffset, kOffset);
314 // ACTION_DOWN must fall within the drawable region to trigger drag.
315 event = MockMotionEvent(MockMotionEvent::ACTION_DOWN, event_time, 50, 50);
319 // Only ACTION_DOWN will trigger drag.
327 MockMotionEvent::ACTION_DOWN, event_time, kOffset, kOffset);
350 // Non-ACTION_DOWN events after the drag has terminated should not be handled.
360 MockMotionEvent event(MockMotionEvent::ACTION_DOWN);
385 MockMotionEvent event(MockMotionEvent::ACTION_DOWN);
419 MockMotionEvent::ACTION_DOWN, event_tim
[all...]
H A Dgesture_text_selector.cc24 if (event.GetAction() == ui::MotionEvent::ACTION_DOWN) {
25 // Only trigger selection on ACTION_DOWN to prevent partial touch or gesture
H A Dmotion_event_android_unittest.cc56 event_time, event_time, MotionEvent::ACTION_DOWN, x0, y0);
86 EXPECT_EQ(MotionEvent::ACTION_DOWN, event.GetAction());
126 event_time, event_time, MotionEvent::ACTION_DOWN, x, y);
169 event_time, event_time, MotionEvent::ACTION_DOWN, x, y);
H A Dmotion_event_android.cc22 case MotionEventAndroid::ACTION_DOWN:
23 return ACTION_DOWN;
42 case ACTION_DOWN:
43 return MotionEventAndroid::ACTION_DOWN;
H A Dtouch_selection_controller_unittest.cc315 MockMotionEvent event(MockMotionEvent::ACTION_DOWN, event_time, 0, 0);
354 // the next ACTION_DOWN.
369 MockMotionEvent event(MockMotionEvent::ACTION_DOWN, event_time, 0, 0);
385 event = MockMotionEvent(MockMotionEvent::ACTION_DOWN, event_time, 0, 0);
401 event = MockMotionEvent(MockMotionEvent::ACTION_DOWN, event_time, 0, 0);
416 event = MockMotionEvent(MockMotionEvent::ACTION_DOWN, event_time, 0, 0);
437 MockMotionEvent event(MockMotionEvent::ACTION_DOWN, event_time, 0, 0);
455 event = MockMotionEvent(MockMotionEvent::ACTION_DOWN, event_time, 0, 0);
514 MockMotionEvent event(MockMotionEvent::ACTION_DOWN, event_time, 0, 0);
563 // the next ACTION_DOWN
[all...]
/external/chromium_org/ui/events/gesture_detection/
H A Dmotion_event_generic_unittest.cc14 MotionEvent::ACTION_DOWN, event_time, PointerProperties());
50 MotionEventGeneric event(MotionEvent::ACTION_DOWN,
78 MotionEventGeneric event0(MotionEvent::ACTION_DOWN, event_time, pointer);
H A Dgesture_provider_unittest.cc280 ObtainMotionEvent(event_time, MotionEvent::ACTION_DOWN);
377 : MotionEvent::ACTION_DOWN,
424 ObtainMotionEvent(event_time, MotionEvent::ACTION_DOWN);
467 ObtainMotionEvent(event_time, MotionEvent::ACTION_DOWN);
507 ObtainMotionEvent(event_time, MotionEvent::ACTION_DOWN);
569 ObtainMotionEvent(event_time, MotionEvent::ACTION_DOWN);
616 ObtainMotionEvent(event_time, MotionEvent::ACTION_DOWN);
639 ObtainMotionEvent(event_time, MotionEvent::ACTION_DOWN);
665 ObtainMotionEvent(event_time, MotionEvent::ACTION_DOWN);
681 MotionEvent::ACTION_DOWN,
[all...]
H A Dgesture_event_data_packet_unittest.cc70 MockMotionEvent(MotionEvent::ACTION_DOWN, touch_time, kTouchX, kTouchY));
100 MockMotionEvent(MotionEvent::ACTION_DOWN));
H A Dmotion_event.h19 ACTION_DOWN, enumerator in enum:ui::MotionEvent::Action
H A Dsnap_scroll_controller.cc72 case MotionEvent::ACTION_DOWN:
H A Dvelocity_tracker_unittest.cc68 state->AddMovement(Sample(MotionEvent::ACTION_DOWN, p0, t0, v, dt * 0));
159 Sample(MotionEvent::ACTION_DOWN, p0, t0, vFast, base::TimeDelta()));
202 Sample(MotionEvent::ACTION_DOWN, p0, t0, v, base::TimeDelta()));
H A Dgesture_provider.cc28 case MotionEvent::ACTION_DOWN:
29 return "ACTION_DOWN";
101 if (action == MotionEvent::ACTION_DOWN) {
466 case MotionEvent::ACTION_DOWN:
747 return current_down_event_ || event.GetAction() == MotionEvent::ACTION_DOWN ||
753 case MotionEvent::ACTION_DOWN:
802 case MotionEvent::ACTION_DOWN:
/external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/util/
H A DAwTestTouchUtils.java30 sendAction(view, MotionEvent.ACTION_DOWN, downTime, x, y);
95 eventTime, eventTime, MotionEvent.ACTION_DOWN,
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/appmenu/
H A DAppMenuButtonHelper.java84 case MotionEvent.ACTION_DOWN:
97 // If user starts to drag on this menu button, ACTION_DOWN and all the subsequent touch
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/util/
H A DKeyNavigationUtil.java70 * Checks whether the given event is an ACTION_DOWN event.
72 * @return Whether the event is an ACTION_DOWN event.
75 return event.getAction() == KeyEvent.ACTION_DOWN;
/external/droiddriver/src/com/google/android/droiddriver/actions/
H A DSingleKeyAction.java62 KeyEvent downEvent = Events.newKeyEvent(downTime, KeyEvent.ACTION_DOWN, keyCode);
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/input/
H A DGamepadDevice.java132 if (event.getAction() == KeyEvent.ACTION_DOWN) {
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
H A DMapViewTest.java81 dispatchTouchEvent(MotionEvent.ACTION_DOWN, 10, 10);
90 dispatchTouchEvent(MotionEvent.ACTION_DOWN, 10, 10);
101 dispatchTouchEvent(MotionEvent.ACTION_DOWN, 10, 10);
H A DPopupWindowTest.java17 import static android.view.MotionEvent.ACTION_DOWN;
116 return event.getAction() == ACTION_DOWN;
120 assertTrue(shadowOf(popupWindow).dispatchTouchEvent(obtain(1, 1, ACTION_DOWN, 1f, 1f, 0)));

Completed in 430 milliseconds

123