Home
last modified time | relevance | path

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

123

/frameworks/base/services/tests/servicestests/src/com/android/server/
DGestureLauncherServiceTest.java184 long eventTime = INITIAL_EVENT_TIME_MILLIS + in testInterceptPowerKeyDown_firstPowerDownCameraPowerGestureOnInteractive() local
204 long eventTime = INITIAL_EVENT_TIME_MILLIS; in testInterceptPowerKeyDown_intervalInBoundsCameraPowerGestureOffInteractive() local
249 long eventTime = INITIAL_EVENT_TIME_MILLIS; in testInterceptPowerKeyDown_intervalMidBoundsCameraPowerGestureOffInteractive() local
296 long eventTime = INITIAL_EVENT_TIME_MILLIS; in testInterceptPowerKeyDown_intervalOutOfBoundsCameraPowerGestureOffInteractive() local
343 long eventTime = INITIAL_EVENT_TIME_MILLIS; in testInterceptPowerKeyDown_intervalInBoundsCameraPowerGestureOnInteractiveSetupComplete() local
392 long eventTime = INITIAL_EVENT_TIME_MILLIS; in testInterceptPowerKeyDown_longpress() local
438 long eventTime = INITIAL_EVENT_TIME_MILLIS; in testInterceptPowerKeyDown_intervalInBoundsCameraPowerGestureOnInteractiveSetupIncomplete() local
485 long eventTime = INITIAL_EVENT_TIME_MILLIS; in testInterceptPowerKeyDown_intervalMidBoundsCameraPowerGestureOnInteractive() local
532 long eventTime = INITIAL_EVENT_TIME_MILLIS; in testInterceptPowerKeyDown_intervalOutOfBoundsCameraPowerGestureOnInteractive() local
577 long eventTime = INITIAL_EVENT_TIME_MILLIS; in testInterceptPowerKeyDown_intervalInBoundsCameraPowerGestureOffNotInteractive() local
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/classifier/brightline/
DClassifierTest.java86 MotionEvent appendDownEvent(float x, float y, long eventTime) { in appendDownEvent()
94 MotionEvent appendMoveEvent(float x, float y, long eventTime) { in appendMoveEvent()
103 MotionEvent appendUpEvent(float x, float y, long eventTime) { in appendUpEvent()
109 long eventTime = mMotionEvents.isEmpty() ? 1 : mMotionEvents.get( in appendMotionEvent() local
114 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()
97 ConfigurationChangedEntry::ConfigurationChangedEntry(int32_t id, nsecs_t eventTime) in ConfigurationChangedEntry()
108 DeviceResetEntry::DeviceResetEntry(int32_t id, nsecs_t eventTime, int32_t deviceId) in DeviceResetEntry()
120 FocusEntry::FocusEntry(int32_t id, nsecs_t eventTime, sp<IBinder> connectionToken, bool hasFocus) in FocusEntry()
133 KeyEntry::KeyEntry(int32_t id, nsecs_t eventTime, int32_t deviceId, uint32_t source, in KeyEntry()
177 MotionEntry::MotionEntry(int32_t id, nsecs_t eventTime, int32_t deviceId, uint32_t source, in MotionEntry()
DEntry.h59 nsecs_t eventTime; member
157 nsecs_t eventTime; member
258 nsecs_t eventTime; member
/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/native/services/inputflinger/
DInputListener.cpp36 NotifyConfigurationChangedArgs::NotifyConfigurationChangedArgs(int32_t id, nsecs_t eventTime) in NotifyConfigurationChangedArgs()
54 NotifyKeyArgs::NotifyKeyArgs(int32_t id, nsecs_t eventTime, int32_t deviceId, uint32_t source, in NotifyKeyArgs()
96 NotifyMotionArgs::NotifyMotionArgs(int32_t id, nsecs_t eventTime, int32_t deviceId, uint32_t source, in NotifyMotionArgs()
195 NotifySwitchArgs::NotifySwitchArgs(int32_t id, nsecs_t eventTime, uint32_t policyFlags, in NotifySwitchArgs()
220 NotifyDeviceResetArgs::NotifyDeviceResetArgs(int32_t id, nsecs_t eventTime, int32_t deviceId) in NotifyDeviceResetArgs()
/frameworks/native/include/input/
DVelocityTracker.h176 nsecs_t eventTime; member
254 nsecs_t eventTime; member
288 nsecs_t eventTime; member
DInputTransport.h86 nsecs_t eventTime __attribute__((aligned(8))); member
106 nsecs_t eventTime __attribute__((aligned(8))); member
436 nsecs_t eventTime; member
/frameworks/base/cmds/statsd/src/metrics/duration_helper/
DMaxDurationTracker.cpp60 const int64_t eventTime, const ConditionKey& conditionKey) { in noteStart()
93 void MaxDurationTracker::noteStop(const HashableDimensionKey& key, const int64_t eventTime, in noteStop()
154 void MaxDurationTracker::noteStopAll(const int64_t eventTime) { in noteStopAll()
/frameworks/native/libs/input/
DVelocityTracker.cpp230 void VelocityTracker::addMovement(nsecs_t eventTime, BitSet32 idBits, const Position* positions) { in addMovement()
322 nsecs_t eventTime; in addMovement() local
383 void LeastSquaresVelocityTrackerStrategy::addMovement(nsecs_t eventTime, BitSet32 idBits, in addMovement()
795 void IntegratingVelocityTrackerStrategy::addMovement(nsecs_t eventTime, BitSet32 idBits, in addMovement()
826 nsecs_t eventTime, float xpos, float ypos) const { in initState()
839 nsecs_t eventTime, float xpos, float ypos) const { in updateState()
913 void LegacyVelocityTrackerStrategy::addMovement(nsecs_t eventTime, BitSet32 idBits, in addMovement()
1027 void ImpulseVelocityTrackerStrategy::addMovement(nsecs_t eventTime, BitSet32 idBits, in addMovement()
DVelocityControl.cpp52 void VelocityControl::move(nsecs_t eventTime, float* deltaX, float* deltaY) { in move()
DInput.cpp148 nsecs_t downTime, nsecs_t eventTime) { in initialize()
326 nsecs_t downTime, nsecs_t eventTime, size_t pointerCount, in initialize()
389 int64_t eventTime, in addSample()
/frameworks/base/cmds/statsd/src/metrics/
DEventMetricProducer.cpp90 const int64_t eventTime) { in onSlicedConditionMayChangeLocked()
140 const int64_t eventTime) { in onConditionChangedLocked()
DMetricProducer.h173 void onConditionChanged(const bool condition, const int64_t eventTime) { in onConditionChanged()
178 void onSlicedConditionMayChange(bool overallCondition, const int64_t eventTime) { in onSlicedConditionMayChange()
296 virtual void flushIfNeededLocked(const int64_t& eventTime){}; in flushIfNeededLocked()
DDurationMetricProducer.cpp212 const int64_t eventTime) { in onSlicedConditionMayChangeLocked_opt1()
285 const int64_t eventTime) { in onSlicedConditionMayChangeLocked()
327 const int64_t eventTime) { in onConditionChangedLocked()
DCountMetricProducer.cpp150 const int64_t eventTime) { in onSlicedConditionMayChangeLocked()
252 const int64_t eventTime) { in onConditionChangedLocked()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/pip/phone/
DPipTouchStateTest.java157 private MotionEvent createMotionEvent(int action, long eventTime, float x, float y) { in createMotionEvent()
/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/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()
1578 public KeyEvent(KeyEvent origEvent, long eventTime, int newRepeat) { 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()
1737 public static KeyEvent changeTimeRepeat(KeyEvent event, long eventTime, in changeTimeRepeat()
[all …]
DMotionEvent.java1698 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()
3267 public final void addBatch(long eventTime, float x, float y, in addBatch()
3293 public final void addBatch(long eventTime, PointerCoords[] pointerCoords, int metaState) { in addBatch()
/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/native/libs/input/tests/
DInputPublisherAndConsumer_test.cpp90 constexpr nsecs_t eventTime = 4; in PublishAndConsumeKeyEvent() local
168 constexpr nsecs_t eventTime = 4; in PublishAndConsumeMotionEvent() local
/frameworks/base/core/tests/coretests/src/android/view/
DPinchZoomAction.java82 long eventTime = startTime; in sendPinchZoomAction() local
/frameworks/base/core/java/android/view/contentcapture/
DContentCaptureEvent.java149 public ContentCaptureEvent(int sessionId, int type, long eventTime) { in ContentCaptureEvent()

123