Home
last modified time | relevance | path

Searched defs:downTime (Results 1 – 25 of 33) sorted by relevance

12

/frameworks/base/core/tests/coretests/src/android/widget/
DEditorCursorDragTest.java654 long downTime = sTicker.addAndGet(10_000); in tapAtPoint() local
665 long downTime = sTicker.addAndGet(10_000); in dragDownUntilLineChange() local
688 View view, int action, long downTime, long eventTime, float x, float y) { in obtainTouchEvent()
701 View view, int action, long downTime, long eventTime, int pointerId, float x, float y) { in obtainTouchEventWithPointerId()
719 View view, int action, long downTime, long eventTime, float x, float y) { in obtainMouseEvent()
728 private MotionEvent downEvent(View view, long downTime, long eventTime, float x, float y) { in downEvent()
732 private MotionEvent moveEvent(View view, long downTime, long eventTime, float x, float y) { in moveEvent()
736 private MotionEvent upEvent(View view, long downTime, long eventTime, float x, float y) { in upEvent()
740 private MotionEvent mouseDownEvent(View view, long downTime, long eventTime, float x, float y) { in mouseDownEvent()
744 private MotionEvent mouseMoveEvent(View view, long downTime, long eventTime, float x, float y) { in mouseMoveEvent()
[all …]
DEditorTouchStateTest.java492 private static MotionEvent downEvent(long downTime, long eventTime, float x, float y) { in downEvent()
496 private static MotionEvent upEvent(long downTime, long eventTime, float x, float y) { in upEvent()
500 private static MotionEvent moveEvent(long downTime, long eventTime, float x, float y) { in moveEvent()
504 private static MotionEvent cancelEvent(long downTime, long eventTime, float x, float y) { in cancelEvent()
/frameworks/native/services/inputflinger/tests/
DInputClassifierConverter_test.cpp40 static constexpr nsecs_t downTime = 2; in generateBasicMotionArgs() local
DInputClassifier_test.cpp43 static constexpr nsecs_t downTime = 2; in generateBasicMotionArgs() local
/frameworks/native/services/inputflinger/dispatcher/
DInputState.h88 nsecs_t downTime; member
101 nsecs_t downTime; member
DEntry.cpp136 nsecs_t downTime) in KeyEntry()
182 float xCursorPosition, float yCursorPosition, nsecs_t downTime, in MotionEntry()
DEntry.h133 nsecs_t downTime; member
172 nsecs_t downTime; member
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/utils/
DMotionEventMatcher.java37 MotionEventMatcher(long downTime, long eventTime, int actionMasked, int x, int y) { in MotionEventMatcher()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DSystemActionPerformer.java313 final long downTime = SystemClock.uptimeMillis(); in sendDownAndUpKeyEvents() local
321 private void sendKeyEventIdentityCleared(int keyCode, int action, long downTime, long time) { in sendKeyEventIdentityCleared()
DMotionEventInjector.java447 private MotionEvent obtainMotionEvent(long downTime, long eventTime, int action, in obtainMotionEvent()
/frameworks/base/test-runner/src/android/test/
DTouchUtils.java276 long downTime = SystemClock.uptimeMillis(); in tapView() local
316 long downTime = SystemClock.uptimeMillis(); in touchAndCancelView() local
351 long downTime = SystemClock.uptimeMillis(); in clickView() local
412 long downTime = SystemClock.uptimeMillis(); in longClickView() local
779 long downTime = SystemClock.uptimeMillis(); in drag() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/
DSystemActions.java304 final long downTime = SystemClock.uptimeMillis(); in sendDownAndUpKeyEvents() local
310 private void sendKeyEventIdentityCleared(int keyCode, int action, long downTime, long time) { in sendKeyEventIdentityCleared()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DMotionEventInjectorTest.java415 long downTime = events.get(0).getDownTime(); in testContinuedGesture_continuationArrivesAfterDispatched_gestureCompletes() local
455 long downTime = events.get(0).getDownTime(); in testContinuedGesture_withTwoTouchPoints_gestureCompletes() local
488 long downTime = events.get(0).getDownTime(); in testContinuedGesture_continuationArrivesWhileDispatching_gestureCompletes() local
528 long downTime = events.get(0).getDownTime(); in testContinuedGesture_twoContinuationsArriveWhileDispatching_gestureCompletes() local
/frameworks/native/services/inputflinger/include/
DInputListener.h74 nsecs_t downTime; member
121 nsecs_t downTime; member
/frameworks/native/services/inputflinger/
DInputListener.cpp56 int32_t keyCode, int32_t scanCode, int32_t metaState, nsecs_t downTime) in NotifyKeyArgs()
104 nsecs_t downTime, in NotifyMotionArgs()
DInputClassifier.cpp259 void MotionClassifier::updateLastDownTime(int32_t deviceId, nsecs_t downTime) { in updateLastDownTime()
327 const nsecs_t downTime = getValueForKey(mLastDownTimes, deviceId, static_cast<nsecs_t>(0)); in dump() local
/frameworks/native/libs/input/tests/
DInputPublisherAndConsumer_test.cpp89 constexpr nsecs_t downTime = 3; in PublishAndConsumeKeyEvent() local
166 constexpr nsecs_t downTime = 3; in PublishAndConsumeMotionEvent() local
/frameworks/base/core/java/android/view/
DKeyEvent.java1386 public KeyEvent(long downTime, long eventTime, int action, in KeyEvent()
1411 public KeyEvent(long downTime, long eventTime, int action, in KeyEvent()
1439 public KeyEvent(long downTime, long eventTime, int action, in KeyEvent()
1470 public KeyEvent(long downTime, long eventTime, int action, in KeyEvent()
1503 public KeyEvent(long downTime, long eventTime, int action, in KeyEvent()
1615 public static KeyEvent obtain(int id, long downTime, long eventTime, int action, in obtain()
1642 public static KeyEvent obtain(long downTime, long eventTime, int action, in obtain()
1655 public static KeyEvent obtain(long downTime, long eventTime, int action, in obtain()
2607 public final void setTime(long downTime, long eventTime) { in setTime()
DMotionEvent.java1624 private static native void nativeSetDownTimeNanos(long nativePtr, long downTime); in nativeSetDownTimeNanos()
1698 static public MotionEvent obtain(long downTime, long eventTime, in obtain()
1744 public static MotionEvent obtain(long downTime, long eventTime, in obtain()
1784 static public MotionEvent obtain(long downTime, long eventTime, in obtain()
1830 static public MotionEvent obtain(long downTime, long eventTime, int action, in obtain()
1870 public static MotionEvent obtain(long downTime, long eventTime, int action, in obtain()
1931 static public MotionEvent obtain(long downTime, long eventTime, int action, in obtain()
1953 static public MotionEvent obtain(long downTime, long eventTime, int action, in obtain()
2200 public final void setDownTime(long downTime) { in setDownTime()
/frameworks/native/services/inputflinger/reader/mapper/
DCursorInputMapper.cpp281 nsecs_t downTime = mDownTime; in sync() local
DKeyboardInputMapper.cpp334 nsecs_t downTime = mDownTime; in processKey() local
/frameworks/base/core/jni/
Dandroid_view_KeyEvent.cpp134 jlong downTime = env->GetLongField(eventObj, gKeyEventClassInfo.mDownTime); in android_view_KeyEvent_toNative() local
/frameworks/native/include/input/
DInputTransport.h98 nsecs_t downTime __attribute__((aligned(8))); member
119 nsecs_t downTime __attribute__((aligned(8))); member
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/gestures/
DTouchExplorerTest.java400 private MotionEvent manyPointerEvent(int action, float[] x, float[] y, long downTime) { in manyPointerEvent()
/frameworks/native/libs/input/
DInput.cpp148 nsecs_t downTime, nsecs_t eventTime) { in initialize()
326 nsecs_t downTime, nsecs_t eventTime, size_t pointerCount, in initialize()

12