Home
last modified time | relevance | path

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

123

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/
DMagnificationGestureDetectorTest.java81 final long downTime = SystemClock.uptimeMillis(); in onActionDown_invokeDownCallback() local
92 final long downTime = SystemClock.uptimeMillis(); in performSingleTap_invokeCallbacksInOrder() local
110 final long downTime = SystemClock.uptimeMillis(); in performSingleTapWithActionCancel_notInvokeOnSingleTapCallback() local
124 final long downTime = SystemClock.uptimeMillis(); in performSingleTapWithTwoPointers_notInvokeSingleTapCallback() local
138 final long downTime = SystemClock.uptimeMillis(); in performLongPress_invokeCallbacksInOrder() local
157 final long downTime = SystemClock.uptimeMillis(); in performDrag_invokeCallbacksInOrder() local
DMagnificationModeSwitchTest.java359 final long downTime = SystemClock.uptimeMillis(); in onDraggingGestureFinish_buttonIsShowing_stickToRightEdge() local
377 final long downTime = SystemClock.uptimeMillis(); in performSingleTap_fullscreenMode_callbackTriggered() local
392 final long downTime = SystemClock.uptimeMillis(); in sendDownEvent_fullscreenMode_fadeOutAnimationIsNull() local
405 final long downTime = SystemClock.uptimeMillis(); in sendDownEvent_fullscreenModeAndFadingOut_cancelAnimation() local
419 final long downTime = SystemClock.uptimeMillis(); in performDragging_showMagnificationButton_updateViewLayout() local
442 final long downTime = SystemClock.uptimeMillis(); in performSingleTapActionCanceled_showButtonAnimation() local
459 final long downTime = SystemClock.uptimeMillis(); in performDraggingActionCanceled_showButtonAnimation() local
669 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/tests/FlickerTests/test-apps/app-helpers/src/com/android/server/wm/flicker/helpers/
DGestureHelper.java110 long downTime = SystemClock.uptimeMillis(); in dragWithoutRelease() local
163 long downTime = SystemClock.uptimeMillis(); in pinch() local
186 @NonNull PointerCoords coord, long downTime) { in primaryPointerDown()
194 @NonNull PointerCoords[] coords, long downTime, int index) { in nonPrimaryPointerDown()
209 @NonNull PointerCoords[] coords, @NonNull Tuple[] endPoints, long downTime, int steps) { in movePointers()
256 @NonNull PointerCoords coord, long downTime) { in primaryPointerUp()
266 @NonNull PointerCoords[] coords, long downTime, int index) { in nonPrimaryPointerUp()
296 private static MotionEvent getMotionEvent(long downTime, long eventTime, int action, in getMotionEvent()
/frameworks/base/services/core/java/com/android/server/policy/
DDeferredKeyActionExecutor.java62 public void queueKeyAction(int keyCode, long downTime, Runnable action) { in queueKeyAction()
75 public void setActionsExecutable(int keyCode, long downTime) { in setActionsExecutable()
91 private TimedActionsBuffer getActionsBufferWithLazyCleanUp(int keyCode, long downTime) { in getActionsBufferWithLazyCleanUp()
124 TimedActionsBuffer(int keyCode, long downTime) { in TimedActionsBuffer()
DSingleKeyGestureDetector.java119 abstract void onPress(long downTime, int displayId); in onPress()
123 void onMultiPress(long downTime, int count, int displayId) {} in onMultiPress()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DAccessibilityInputFilterInputTest.kt176 val downTime = SystemClock.uptimeMillis() in testSingleDeviceTouchEventsWithoutA11yFeatures() constant
197 val downTime = SystemClock.uptimeMillis() in testSingleDeviceTouchEventsWithAllA11yFeatures() constant
221 val downTime = SystemClock.uptimeMillis() in testTouchDownCancelDownWithAllA11yFeatures() constant
247 val downTime = SystemClock.uptimeMillis() in testStylusDownCancelDownWithAllA11yFeatures() constant
271 val downTime = SystemClock.uptimeMillis() in testStylusThenTouch() constant
297 val downTime = SystemClock.uptimeMillis() in testSingleDeviceTouchEventsDisableFeaturesMidGesture() constant
DMotionEventInjectorTest.java434 long downTime = events.get(0).getDownTime(); in testContinuedGesture_continuationArrivesAfterDispatched_gestureCompletes() local
474 long downTime = events.get(0).getDownTime(); in testContinuedGesture_withTwoTouchPoints_gestureCompletes() local
507 long downTime = events.get(0).getDownTime(); in testContinuedGesture_continuationArrivesWhileDispatching_gestureCompletes() local
547 long downTime = events.get(0).getDownTime(); in testContinuedGesture_twoContinuationsArriveWhileDispatching_gestureCompletes() local
/frameworks/native/services/inputflinger/include/
DNotifyArgsBuilders.h48 MotionArgsBuilder& downTime(nsecs_t downTime) { in downTime() argument
180 KeyArgsBuilder& downTime(nsecs_t downTime) { in downTime() function
/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/include/input/
DInputEventBuilders.h75 MotionEventBuilder& downTime(nsecs_t downTime) { in downTime() function
201 KeyEventBuilder& downTime(nsecs_t downTime) { in downTime() function
/frameworks/native/libs/input/tests/
DInputPublisherAndConsumer_test.cpp46 const nsecs_t downTime; member
277 constexpr nsecs_t downTime = 3; in publishAndConsumeKeyEvent() local
333 const nsecs_t downTime = systemTime(SYSTEM_TIME_MONOTONIC); in publishAndConsumeMotionStream() local
354 void InputPublisherAndConsumerTest::publishAndConsumeMotionDown(nsecs_t downTime) { in publishAndConsumeMotionDown()
359 void InputPublisherAndConsumerTest::publishAndConsumeBatchedMotionMove(nsecs_t downTime) { in publishAndConsumeBatchedMotionMove()
380 int32_t action, nsecs_t downTime, const std::vector<Pointer>& pointers) { in publishAndConsumeMotionEvent()
592 const nsecs_t downTime = systemTime(SYSTEM_TIME_MONOTONIC); in TEST_F() local
676 const nsecs_t downTime = systemTime(SYSTEM_TIME_MONOTONIC); in TEST_F() local
DInputPublisherAndConsumerNoResampling_test.cpp53 const nsecs_t downTime; member
460 constexpr nsecs_t downTime = 3; in publishAndConsumeKeyEvent() local
496 const nsecs_t downTime = systemTime(SYSTEM_TIME_MONOTONIC); in publishAndConsumeMotionStream() local
517 void InputPublisherAndConsumerNoResamplingTest::publishAndConsumeMotionDown(nsecs_t downTime) { in publishAndConsumeMotionDown()
523 nsecs_t downTime) { in publishAndConsumeBatchedMotionMove()
573 int32_t action, nsecs_t downTime, const std::vector<Pointer>& pointers) { in publishAndConsumeMotionEvent()
706 const nsecs_t downTime = systemTime(SYSTEM_TIME_MONOTONIC); in TEST_F() local
792 const nsecs_t downTime = systemTime(SYSTEM_TIME_MONOTONIC); in TEST_F() local
/frameworks/base/tests/Input/src/com/android/test/input/
DPointerEventDispatcherTest.kt77 val downTime = 0L in testSendMotionToCrashingListenerDoesNotCrash() constant
/frameworks/native/services/inputflinger/dispatcher/
DInputState.h98 nsecs_t downTime; member
111 nsecs_t downTime; member
/frameworks/native/services/inputflinger/tests/
DUnwantedInteractionBlocker_test.cpp68 static NotifyMotionArgs generateMotionArgs(nsecs_t downTime, nsecs_t eventTime, int32_t action, in generateMotionArgs()
722 constexpr nsecs_t downTime = 0; in TEST_F() local
734 const nsecs_t downTime = toNs(0ms); in TEST_F() local
934 constexpr nsecs_t downTime = 0; in TEST_F() local
974 constexpr nsecs_t downTime = 0; in TEST_F() local
1021 constexpr nsecs_t downTime = 0; in TEST_F() local
1055 constexpr nsecs_t downTime = 0; in TEST_F() local
DInputProcessorConverter_test.cpp39 static constexpr nsecs_t downTime = 2; in generateBasicMotionArgs() local
DNotifyArgs_test.cpp34 nsecs_t downTime = systemTime(); in TEST() local
/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.java344 final long downTime = SystemClock.uptimeMillis(); in sendDownAndUpKeyEvents() local
353 private void sendKeyEventIdentityCleared(int keyCode, int action, long downTime, long time, in sendKeyEventIdentityCleared()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/common/split/
DDividerViewTest.java85 long downTime = SystemClock.uptimeMillis(); in testHoverDividerView() local
/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/native/services/inputflinger/
DNotifyArgs.cpp48 int32_t metaState, nsecs_t downTime) in NotifyKeyArgs()
71 float xCursorPosition, float yCursorPosition, nsecs_t downTime, in NotifyMotionArgs()
/frameworks/native/services/inputflinger/dispatcher/trace/
DInputTracingBackendInterface.h58 nsecs_t downTime; member
85 nsecs_t downTime; member

123