Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/
DMagnificationGestureDetectorTest.java78 final long downTime = SystemClock.uptimeMillis(); in onActionDown_invokeDownCallback() local
89 final long downTime = SystemClock.uptimeMillis(); in performSingleTap_invokeCallbacksInOrder() local
107 final long downTime = SystemClock.uptimeMillis(); in performSingleTapWithActionCancel_notInvokeOnSingleTapCallback() local
121 final long downTime = SystemClock.uptimeMillis(); in performSingleTapWithTwoPointers_notInvokeSingleTapCallback() local
135 final long downTime = SystemClock.uptimeMillis(); in performLongPress_invokeCallbacksInOrder() local
154 final long downTime = SystemClock.uptimeMillis(); in performDrag_invokeCallbacksInOrder() local
DMagnificationModeSwitchTest.java274 final long downTime = SystemClock.uptimeMillis(); in onDraggingGestureFinish_buttonIsShowing_stickToRightEdge() local
292 final long downTime = SystemClock.uptimeMillis(); in performSingleTap_fullscreenMode_removeViewAndChangeSettingsValue() local
307 final long downTime = SystemClock.uptimeMillis(); in sendDownEvent_fullscreenMode_fadeOutAnimationIsNull() local
320 final long downTime = SystemClock.uptimeMillis(); in sendDownEvent_fullscreenModeAndFadingOut_cancelAnimation() local
336 final long downTime = SystemClock.uptimeMillis(); in performDragging_showMagnificationButton_updateViewLayout() local
361 final long downTime = SystemClock.uptimeMillis(); in performSingleTapActionCanceled_showButtonAnimation() local
380 final long downTime = SystemClock.uptimeMillis(); in performDraggingActionCanceled_showButtonAnimation() local
580 private MotionEvent obtainMotionEvent(long downTime, long eventTime, int action, float x, in obtainMotionEvent()
DMotionEventHelper.java39 public MotionEvent obtainMotionEvent(long downTime, long eventTime, int action, float x, in obtainMotionEvent()
/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/base/services/core/java/com/android/server/policy/
DSingleKeyGestureDetector.java131 abstract void onPress(long downTime); in onPress()
135 void onMultiPress(long downTime, int count) {} in onMultiPress()
268 final long downTime = event.getDownTime(); in interceptKeyUp() local
/frameworks/native/services/inputflinger/tests/
DInputClassifierConverter_test.cpp40 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.cpp155 nsecs_t downTime) in KeyEntry()
201 float xCursorPosition, float yCursorPosition, nsecs_t downTime, in MotionEntry()
/frameworks/base/tests/Input/src/com/android/test/input/
DAnrTest.kt85 val downTime = SystemClock.uptimeMillis() in testGestureMonitorAnr() constant
/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()
DTouchEventGenerator.java99 final long downTime = SystemClock.uptimeMillis(); in generateMultiplePointersEvent() local
DGestureLogParser.java30 final int downTime; in getMotionEventFromLogLine() local
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DSystemActionPerformer.java313 final long downTime = SystemClock.uptimeMillis(); in sendDownAndUpKeyEvents() local
322 private void sendKeyEventIdentityCleared(int keyCode, int action, long downTime, long time) { in sendKeyEventIdentityCleared()
/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/services/tests/servicestests/src/com/android/server/accessibility/
DMotionEventInjectorTest.java432 long downTime = events.get(0).getDownTime(); in testContinuedGesture_continuationArrivesAfterDispatched_gestureCompletes() local
472 long downTime = events.get(0).getDownTime(); in testContinuedGesture_withTwoTouchPoints_gestureCompletes() local
505 long downTime = events.get(0).getDownTime(); in testContinuedGesture_continuationArrivesWhileDispatching_gestureCompletes() local
545 long downTime = events.get(0).getDownTime(); in testContinuedGesture_twoContinuationsArriveWhileDispatching_gestureCompletes() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/
DSystemActions.java355 final long downTime = SystemClock.uptimeMillis(); in sendDownAndUpKeyEvents() local
361 private void sendKeyEventIdentityCleared(int keyCode, int action, long downTime, long time) { in sendKeyEventIdentityCleared()
/frameworks/base/core/java/android/view/
DKeyEvent.java1400 public KeyEvent(long downTime, long eventTime, int action, in KeyEvent()
1425 public KeyEvent(long downTime, long eventTime, int action, in KeyEvent()
1453 public KeyEvent(long downTime, long eventTime, int action, in KeyEvent()
1484 public KeyEvent(long downTime, long eventTime, int action, in KeyEvent()
1517 public KeyEvent(long downTime, long eventTime, int action, in KeyEvent()
1629 public static KeyEvent obtain(int id, long downTime, long eventTime, int action, in obtain()
1656 public static KeyEvent obtain(long downTime, long eventTime, int action, in obtain()
1669 public static KeyEvent obtain(long downTime, long eventTime, int action, in obtain()
2619 public final void setTime(long downTime, long eventTime) { in setTime()
DMotionEvent.java1653 private static native void nativeSetDownTimeNanos(long nativePtr, long downTime); in nativeSetDownTimeNanos()
1727 static public MotionEvent obtain(long downTime, long eventTime, in obtain()
1773 public static MotionEvent obtain(long downTime, long eventTime, in obtain()
1813 static public MotionEvent obtain(long downTime, long eventTime, in obtain()
1859 static public MotionEvent obtain(long downTime, long eventTime, int action, in obtain()
1899 public static MotionEvent obtain(long downTime, long eventTime, int action, in obtain()
1960 static public MotionEvent obtain(long downTime, long eventTime, int action, in obtain()
1982 static public MotionEvent obtain(long downTime, long eventTime, int action, in obtain()
2229 public final void setDownTime(long downTime) { in setDownTime()
/frameworks/native/services/inputflinger/
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
DInputListener.cpp56 int32_t metaState, nsecs_t downTime) in NotifyKeyArgs()
104 float xCursorPosition, float yCursorPosition, nsecs_t downTime, in NotifyMotionArgs()
/frameworks/native/services/inputflinger/include/
DInputListener.h75 nsecs_t downTime; member
124 nsecs_t downTime; member
/frameworks/native/libs/input/tests/
DInputPublisherAndConsumer_test.cpp86 constexpr nsecs_t downTime = 3; in PublishAndConsumeKeyEvent() local
167 constexpr nsecs_t downTime = 3; in PublishAndConsumeMotionEvent() local
/frameworks/native/services/inputflinger/reader/mapper/
DCursorInputMapper.cpp310 nsecs_t downTime = mDownTime; in sync() local
/frameworks/base/core/jni/
Dandroid_view_KeyEvent.cpp135 jlong downTime = env->GetLongField(eventObj, gKeyEventClassInfo.mDownTime); in android_view_KeyEvent_toNative() local

12