Home
last modified time | relevance | path

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

123

/frameworks/base/services/tests/wmtests/src/com/android/server/policy/
DSingleKeyGestureTests.java119 private void pressKey(long eventTime, int keyCode, long pressTime) { in pressKey()
123 private void pressKey(long eventTime, int keyCode, long pressTime, boolean interactive) { in pressKey()
144 final long eventTime = SystemClock.uptimeMillis(); in testShortPress() local
151 final long eventTime = SystemClock.uptimeMillis(); in testLongPress() local
158 final long eventTime = SystemClock.uptimeMillis(); in testVeryLongPress() local
165 final long eventTime = SystemClock.uptimeMillis(); in testMultiPress() local
173 long eventTime = SystemClock.uptimeMillis(); in testNonInteractive() local
DKeyCombinationTests.java153 final long eventTime = SystemClock.uptimeMillis(); in testTriggerRule() local
169 final long eventTime = SystemClock.uptimeMillis(); in testNotTrigger_NoRule() local
181 final long eventTime = SystemClock.uptimeMillis(); in testNotTrigger_Interval() local
192 final long eventTime = SystemClock.uptimeMillis(); in testNotTrigger_Condition() local
204 final long eventTime = SystemClock.uptimeMillis(); in testNotTrigger_EarlyRelease() local
/frameworks/base/services/tests/servicestests/src/com/android/server/
DGestureLauncherServiceTest.java226 long eventTime = INITIAL_EVENT_TIME_MILLIS + in testInterceptPowerKeyDown_firstPowerDownCameraPowerGestureOnInteractive() local
245 long eventTime = INITIAL_EVENT_TIME_MILLIS in testInterceptPowerKeyDown_firstPowerDown_emergencyGestureNotLaunched() local
265 long eventTime = INITIAL_EVENT_TIME_MILLIS; in testInterceptPowerKeyDown_intervalInBoundsCameraPowerGestureOffInteractive() local
310 long eventTime = INITIAL_EVENT_TIME_MILLIS; in testInterceptPowerKeyDown_intervalMidBoundsCameraPowerGestureOffInteractive() local
357 long eventTime = INITIAL_EVENT_TIME_MILLIS; in testInterceptPowerKeyDown_intervalOutOfBoundsCameraPowerGestureOffInteractive() local
404 long eventTime = INITIAL_EVENT_TIME_MILLIS; in testInterceptPowerKeyDown_intervalInBoundsCameraPowerGestureOnInteractiveSetupComplete() local
458 long eventTime = INITIAL_EVENT_TIME_MILLIS; in testInterceptPowerKeyDown_fiveInboundPresses_cameraAndEmergencyEnabled_bothLaunch() local
547 long eventTime = INITIAL_EVENT_TIME_MILLIS; in testInterceptPowerKeyDown_fiveInboundPresses_emergencyGestureEnabled_launchesFlow() local
601 long eventTime = INITIAL_EVENT_TIME_MILLIS; in testInterceptPowerKeyDown_tenInboundPresses_emergencyGestureEnabled_keyIntercepted() local
654 long eventTime = INITIAL_EVENT_TIME_MILLIS; in testInterceptPowerKeyDown_longpress() local
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/classifier/
DClassifierTest.java84 protected MotionEvent appendDownEvent(float x, float y, long eventTime) { in appendDownEvent()
92 protected MotionEvent appendMoveEvent(float x, float y, long eventTime) { in appendMoveEvent()
101 protected MotionEvent appendUpEvent(float x, float y, long eventTime) { in appendUpEvent()
107 long eventTime = mMotionEvents.isEmpty() ? 1 : mMotionEvents.get( in appendMotionEvent() local
112 private MotionEvent appendMotionEvent(int actionType, float x, float y, long eventTime) { in appendMotionEvent()
/frameworks/native/services/inputflinger/dispatcher/
DEntry.cpp60 EventEntry::EventEntry(int32_t id, Type type, nsecs_t eventTime, uint32_t policyFlags) in EventEntry()
81 ConfigurationChangedEntry::ConfigurationChangedEntry(int32_t id, nsecs_t eventTime) in ConfigurationChangedEntry()
92 DeviceResetEntry::DeviceResetEntry(int32_t id, nsecs_t eventTime, int32_t deviceId) in DeviceResetEntry()
104 FocusEntry::FocusEntry(int32_t id, nsecs_t eventTime, sp<IBinder> connectionToken, bool hasFocus, in FocusEntry()
121 PointerCaptureChangedEntry::PointerCaptureChangedEntry(int32_t id, nsecs_t eventTime, in PointerCaptureChangedEntry()
136 DragEntry::DragEntry(int32_t id, nsecs_t eventTime, sp<IBinder> connectionToken, bool isExiting, in DragEntry()
152 KeyEntry::KeyEntry(int32_t id, nsecs_t eventTime, int32_t deviceId, uint32_t source, in KeyEntry()
196 MotionEntry::MotionEntry(int32_t id, nsecs_t eventTime, int32_t deviceId, uint32_t source, in MotionEntry()
261 SensorEntry::SensorEntry(int32_t id, nsecs_t eventTime, int32_t deviceId, uint32_t source, in SensorEntry()
DLatencyTracker.cpp43 static bool isMatureEvent(nsecs_t eventTime, nsecs_t now) { in isMatureEvent()
69 void LatencyTracker::trackListener(int32_t inputEventId, bool isDown, nsecs_t eventTime, in trackListener()
DInputEventTimeline.h79 const nsecs_t eventTime; member
DInputEventTimeline.cpp67 InputEventTimeline::InputEventTimeline(bool isDown, nsecs_t eventTime, nsecs_t readTime) in InputEventTimeline()
/frameworks/native/services/inputflinger/
DInputListener.cpp36 NotifyConfigurationChangedArgs::NotifyConfigurationChangedArgs(int32_t id, nsecs_t eventTime) in NotifyConfigurationChangedArgs()
53 NotifyKeyArgs::NotifyKeyArgs(int32_t id, nsecs_t eventTime, nsecs_t readTime, int32_t deviceId, in NotifyKeyArgs()
99 int32_t id, nsecs_t eventTime, nsecs_t readTime, int32_t deviceId, uint32_t source, in NotifyMotionArgs()
197 NotifySwitchArgs::NotifySwitchArgs(int32_t id, nsecs_t eventTime, uint32_t policyFlags, in NotifySwitchArgs()
221 NotifySensorArgs::NotifySensorArgs(int32_t id, nsecs_t eventTime, int32_t deviceId, uint32_t source, in NotifySensorArgs()
256 NotifyVibratorStateArgs::NotifyVibratorStateArgs(int32_t id, nsecs_t eventTime, int32_t deviceId, in NotifyVibratorStateArgs()
274 NotifyDeviceResetArgs::NotifyDeviceResetArgs(int32_t id, nsecs_t eventTime, int32_t deviceId) in NotifyDeviceResetArgs()
290 NotifyPointerCaptureChangedArgs::NotifyPointerCaptureChangedArgs(int32_t id, nsecs_t eventTime, in NotifyPointerCaptureChangedArgs()
/frameworks/base/core/tests/coretests/src/android/widget/
DEditorCursorDragTest.java579 long eventTime = handleDownTime; in testCursorDrag_multiTouch() local
666 long eventTime = downTime; 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.java139 void onLongPress(long eventTime) {} in onLongPress()
143 void onVeryLongPress(long eventTime) {} in onVeryLongPress()
222 final long eventTime = event.getEventTime(); in interceptKeyDown() local
346 final long eventTime = (long) msg.obj; in handleMessage() local
DSideFpsEventHandler.java72 public boolean onSinglePressDetected(long eventTime) { in onSinglePressDetected()
DKeyCombinationManager.java115 final long eventTime = event.getEventTime(); in interceptKey() local
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/
DMotionEventHelper.java39 public MotionEvent obtainMotionEvent(long downTime, long eventTime, int action, float x, in obtainMotionEvent()
/frameworks/native/libs/input/
DVelocityControl.cpp52 void VelocityControl::move(nsecs_t eventTime, float* deltaX, float* deltaY) { in move()
DVelocityTracker.cpp196 void VelocityTracker::addMovement(nsecs_t eventTime, BitSet32 idBits, in addMovement()
297 nsecs_t eventTime = event->getHistoricalEventTime(h); in addMovement() local
346 nsecs_t eventTime, BitSet32 idBits, in addMovement()
764 nsecs_t eventTime, BitSet32 idBits, in addMovement()
795 nsecs_t eventTime, float xpos, float ypos) const { in initState()
808 nsecs_t eventTime, float xpos, float ypos) const { in updateState()
883 nsecs_t eventTime, BitSet32 idBits, in addMovement()
998 nsecs_t eventTime, BitSet32 idBits, in addMovement()
/frameworks/native/include/input/
DVelocityTracker.h197 nsecs_t eventTime; member
275 nsecs_t eventTime; member
309 nsecs_t eventTime; 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()
DGestureLogParser.java31 final int eventTime; in getMotionEventFromLogLine() local
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/phone/
DPipTouchStateTest.java144 private MotionEvent createMotionEvent(int action, long eventTime, float x, float y) { in createMotionEvent()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
DActivityManagerWrapper.java154 public void startRecentsActivity(Intent intent, long eventTime, in startRecentsActivity()
172 Intent intent, long eventTime, RecentsAnimationListener animationHandler) { in startRecentsActivity()
/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()
1592 public KeyEvent(KeyEvent origEvent, long eventTime, int newRepeat) { 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()
1751 public static KeyEvent changeTimeRepeat(KeyEvent event, long eventTime, in changeTimeRepeat()
[all …]
/frameworks/base/test-runner/src/android/test/
DTouchUtils.java277 long eventTime = SystemClock.uptimeMillis(); in tapView() local
317 long eventTime = SystemClock.uptimeMillis(); in touchAndCancelView() local
352 long eventTime = SystemClock.uptimeMillis(); in clickView() local
413 long eventTime = SystemClock.uptimeMillis(); in longClickView() local
780 long eventTime = SystemClock.uptimeMillis(); in drag() local
/frameworks/base/core/tests/coretests/src/android/view/
DPinchZoomAction.java82 long eventTime = startTime; in sendPinchZoomAction() local

123