Home
last modified time | relevance | path

Searched refs:eventTime (Results 1 – 25 of 25) sorted by relevance

/external/chromium_org/content/public/android/javatests/src/org/chromium/content/browser/
DLongPressDetectorTest.java28 private MotionEvent motionEvent(int action, long downTime, long eventTime) { in motionEvent() argument
29 return MotionEvent.obtain(downTime, eventTime, action, FAKE_COORD_X, FAKE_COORD_Y, 0); in motionEvent()
46 final long eventTime = SystemClock.uptimeMillis(); in testGestureSimpleLongPress() local
48 MotionEvent event = motionEvent(MotionEvent.ACTION_DOWN, downTime, eventTime); in testGestureSimpleLongPress()
56 final long eventTime = SystemClock.uptimeMillis(); in gestureNoLongPressTestHelper() local
58 MotionEvent event = motionEvent(MotionEvent.ACTION_DOWN, downTime, eventTime); in gestureNoLongPressTestHelper()
63 event = motionEvent(cancelActionType, downTime, eventTime + 10); in gestureNoLongPressTestHelper()
101 final long eventTime = SystemClock.uptimeMillis(); in testGestureLongWithDelayedUp() local
103 MotionEvent event = motionEvent(MotionEvent.ACTION_DOWN, downTime, eventTime); in testGestureLongWithDelayedUp()
109 event = motionEvent(MotionEvent.ACTION_UP, downTime, eventTime + 1000); in testGestureLongWithDelayedUp()
[all …]
DContentViewGestureHandlerTest.java179 private static MotionEvent motionEvent(int action, long downTime, long eventTime) { in motionEvent() argument
180 return MotionEvent.obtain(downTime, eventTime, action, FAKE_COORD_X, FAKE_COORD_Y, 0); in motionEvent()
209 final long eventTime = SystemClock.uptimeMillis(); in testGestureSingleClick() local
217 event = motionEvent(MotionEvent.ACTION_UP, downTime, eventTime + 10); in testGestureSingleClick()
234 final long eventTime = SystemClock.uptimeMillis(); in testFlingOnTouchHandler() local
246 downTime, eventTime + 5, MotionEvent.ACTION_MOVE, in testFlingOnTouchHandler()
252 downTime, eventTime + 10, MotionEvent.ACTION_MOVE, in testFlingOnTouchHandler()
259 downTime, eventTime + 15, MotionEvent.ACTION_UP, in testFlingOnTouchHandler()
295 final long eventTime = SystemClock.uptimeMillis(); in testFlingOnTouchHandlerWithOneEventNotConsumed() local
307 downTime, eventTime + 5, MotionEvent.ACTION_MOVE, in testFlingOnTouchHandlerWithOneEventNotConsumed()
[all …]
/external/chromium_org/content/public/test/android/javatests/src/org/chromium/content/browser/test/util/
DTouchCommon.java62 long eventTime = SystemClock.uptimeMillis(); in dragTo() local
63 MotionEvent event = MotionEvent.obtain(downTime, eventTime, in dragTo()
79 long eventTime = SystemClock.uptimeMillis(); in dragEnd() local
80 MotionEvent event = MotionEvent.obtain(downTime, eventTime, in dragEnd()
95 long eventTime = SystemClock.uptimeMillis(); in singleClick() local
97 MotionEvent event = MotionEvent.obtain(downTime, eventTime, in singleClick()
101 eventTime = SystemClock.uptimeMillis(); in singleClick()
102 event = MotionEvent.obtain(downTime, eventTime, MotionEvent.ACTION_UP, in singleClick()
139 long eventTime = SystemClock.uptimeMillis(); in singleClickViewRelative() local
141 MotionEvent event = MotionEvent.obtain(downTime, eventTime, in singleClickViewRelative()
[all …]
DTestTouchUtils.java39 long eventTime = SystemClock.uptimeMillis(); in sendAction() local
40 MotionEvent event = MotionEvent.obtain(downTime, eventTime, action, x, y, 0); in sendAction()
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowMotionEvent.java25 private long eventTime; field in ShadowMotionEvent
30 …public static MotionEvent obtain(long downTime, long eventTime, int action, float x, float y, int … in obtain() argument
40 shadowMotionEvent.eventTime = eventTime; in obtain()
94 return eventTime; in getEventTime()
/external/droiddriver/src/com/google/android/droiddriver/util/
DEvents.java45 long eventTime = SystemClock.uptimeMillis(); in newTouchUpEvent() local
46 MotionEvent event = MotionEvent.obtain(downTime, eventTime, MotionEvent.ACTION_UP, x, y, 1); in newTouchUpEvent()
55 long eventTime = SystemClock.uptimeMillis(); in newTouchMoveEvent() local
56 MotionEvent event = MotionEvent.obtain(downTime, eventTime, MotionEvent.ACTION_MOVE, x, y, 1); in newTouchMoveEvent()
/external/chromium_org/third_party/WebKit/Source/core/svg/animation/
DSVGSMILElement.h121 …void addBeginTime(SMILTime eventTime, SMILTime endTime, SMILTimeWithOrigin::Origin = SMILTimeWithO…
122 …void addEndTime(SMILTime eventTime, SMILTime endTime, SMILTimeWithOrigin::Origin = SMILTimeWithOri…
152 void beginListChanged(SMILTime eventTime);
153 void endListChanged(SMILTime eventTime);
DSVGSMILElement.cpp750 void SVGSMILElement::addBeginTime(SMILTime eventTime, SMILTime beginTime, SMILTimeWithOrigin::Origi… in addBeginTime() argument
755 beginListChanged(eventTime); in addBeginTime()
758 void SVGSMILElement::addEndTime(SMILTime eventTime, SMILTime endTime, SMILTimeWithOrigin::Origin or… in addEndTime() argument
763 endListChanged(eventTime); in addEndTime()
926 void SVGSMILElement::beginListChanged(SMILTime eventTime) in beginListChanged() argument
931 SMILTime newBegin = findInstanceTime(Begin, eventTime, true); in beginListChanged()
932 if (newBegin.isFinite() && (m_intervalEnd <= eventTime || newBegin < m_intervalBegin)) { in beginListChanged()
935 m_intervalEnd = eventTime; in beginListChanged()
939 if (m_activeState == Active && m_intervalBegin > eventTime) { in beginListChanged()
940 m_activeState = determineActiveState(eventTime); in beginListChanged()
/external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/util/
DAwTestTouchUtils.java23 long eventTime = SystemClock.uptimeMillis(); in sendAction() local
24 MotionEvent event = MotionEvent.obtain(downTime, eventTime, action, x, y, 0); in sendAction()
/external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/
DWebKitHitTestTest.java66 long eventTime = SystemClock.uptimeMillis(); in simulateTouchCenterOfWebViewOnUiThread()
70 eventTime, eventTime, MotionEvent.ACTION_DOWN, in simulateTouchCenterOfWebViewOnUiThread()
73 eventTime, eventTime, MotionEvent.ACTION_UP, in simulateTouchCenterOfWebViewOnUiThread()
/external/chromium_org/chrome/browser/ui/cocoa/download/
Ddownload_item_drag_mac.mm21 NSTimeInterval eventTime = [[NSApp currentEvent] timestamp];
25 timestamp:eventTime
/external/chromium_org/third_party/WebKit/Source/core/page/
DAutoscrollController.cpp130 …ontroller::updateDragAndDrop(Node* dropTargetNode, const IntPoint& eventPosition, double eventTime) in updateDragAndDrop() argument
163 m_dragAndDropAutoscrollStartTime = eventTime; in updateDragAndDrop()
166 m_dragAndDropAutoscrollStartTime = eventTime; in updateDragAndDrop()
DAutoscrollController.h66 void updateDragAndDrop(Node* targetNode, const IntPoint& eventPosition, double eventTime);
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/input/
DImeAdapter.java307 long eventTime = System.currentTimeMillis(); in sendKeyEventWithKeyCode() local
308 translateAndSendNativeEvents(new KeyEvent(eventTime, eventTime, in sendKeyEventWithKeyCode()
312 translateAndSendNativeEvents(new KeyEvent(System.currentTimeMillis(), eventTime, in sendKeyEventWithKeyCode()
/external/chromium/chrome/browser/ui/cocoa/download/
Ddownload_util_mac.mm49 NSTimeInterval eventTime = [[NSApp currentEvent] timestamp];
53 timestamp:eventTime
/external/chromium_org/third_party/eyesfree/src/android/java/src/com/googlecode/eyesfree/braille/display/
DBrailleInputEvent.java189 public BrailleInputEvent(int command, int argument, long eventTime) { in BrailleInputEvent() argument
192 mEventTime = eventTime; in BrailleInputEvent()
/external/chromium/chrome/browser/tab_contents/
Drender_view_context_menu_mac.mm41 NSTimeInterval eventTime = [currentEvent timestamp];
45 timestamp:eventTime
/external/chromium/chrome/browser/ui/cocoa/tab_contents/
Dweb_contents_drag_source.mm79 NSTimeInterval eventTime = [currentEvent timestamp];
83 timestamp:eventTime
Dweb_drag_source.mm247 NSTimeInterval eventTime = [currentEvent timestamp];
251 timestamp:eventTime
/external/chromium_org/chrome/browser/resources/net_internals/
Dlog_view_painter.js111 function addRowWithTime(tablePrinter, eventTime, startTime) { argument
114 var tCell = tablePrinter.addCell(eventTime);
117 var stCell = tablePrinter.addCell(eventTime - startTime);
/external/chromium_org/content/shell/browser/
Dshell_web_contents_view_delegate_mac.mm207 NSTimeInterval eventTime = [currentEvent timestamp];
211 timestamp:eventTime
/external/chromium_org/content/public/android/javatests/src/org/chromium/content/browser/input/
DSelectionHandleTest.java357 long eventTime = SystemClock.uptimeMillis();
358 event = MotionEvent.obtain(downTime, eventTime, MotionEvent.ACTION_MOVE,
/external/chromium_org/chrome/browser/ui/cocoa/tab_contents/
Drender_view_context_menu_mac.mm76 NSTimeInterval eventTime = [currentEvent timestamp];
80 timestamp:eventTime
/external/chromium_org/chrome/common/extensions/api/
Dnotifications.idl78 double? eventTime;
/external/chromium_org/content/browser/web_contents/
Dweb_drag_source_mac.mm235 NSTimeInterval eventTime = [currentEvent timestamp];
239 timestamp:eventTime