Home
last modified time | relevance | path

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

123

/frameworks/base/services/tests/servicestests/src/com/android/server/
DGestureLauncherServiceTest.java178 long eventTime = INITIAL_EVENT_TIME_MILLIS + in testInterceptPowerKeyDown_firstPowerDownCameraPowerGestureOnInteractive() local
198 long eventTime = INITIAL_EVENT_TIME_MILLIS; in testInterceptPowerKeyDown_intervalInBoundsCameraPowerGestureOffInteractive() local
242 long eventTime = INITIAL_EVENT_TIME_MILLIS; in testInterceptPowerKeyDown_intervalMidBoundsCameraPowerGestureOffInteractive() local
288 long eventTime = INITIAL_EVENT_TIME_MILLIS; in testInterceptPowerKeyDown_intervalOutOfBoundsCameraPowerGestureOffInteractive() local
334 long eventTime = INITIAL_EVENT_TIME_MILLIS; in testInterceptPowerKeyDown_intervalInBoundsCameraPowerGestureOnInteractiveSetupComplete() local
381 long eventTime = INITIAL_EVENT_TIME_MILLIS; in testInterceptPowerKeyDown_longpress() local
426 long eventTime = INITIAL_EVENT_TIME_MILLIS; in testInterceptPowerKeyDown_intervalInBoundsCameraPowerGestureOnInteractiveSetupIncomplete() local
472 long eventTime = INITIAL_EVENT_TIME_MILLIS; in testInterceptPowerKeyDown_intervalMidBoundsCameraPowerGestureOnInteractive() local
518 long eventTime = INITIAL_EVENT_TIME_MILLIS; in testInterceptPowerKeyDown_intervalOutOfBoundsCameraPowerGestureOnInteractive() local
562 long eventTime = INITIAL_EVENT_TIME_MILLIS; in testInterceptPowerKeyDown_intervalInBoundsCameraPowerGestureOffNotInteractive() local
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/classifier/brightline/
DClassifierTest.java81 MotionEvent appendDownEvent(float x, float y, long eventTime) { in appendDownEvent()
89 MotionEvent appendMoveEvent(float x, float y, long eventTime) { in appendMoveEvent()
98 MotionEvent appendUpEvent(float x, float y, long eventTime) { in appendUpEvent()
104 long eventTime = mMotionEvents.isEmpty() ? 1 : mMotionEvents.get( in appendMotionEvent() local
109 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.java547 long eventTime = handleDownTime; in testCursorDrag_multiTouch() local
634 long eventTime = downTime; in dragDownUntilLineChange() local
656 View view, int action, long downTime, long eventTime, float x, float y) { in obtainTouchEvent()
669 View view, int action, long downTime, long eventTime, int pointerId, float x, float y) { in obtainTouchEventWithPointerId()
687 View view, int action, long downTime, long eventTime, float x, float y) { in obtainMouseEvent()
696 private MotionEvent downEvent(View view, long downTime, long eventTime, float x, float y) { in downEvent()
700 private MotionEvent moveEvent(View view, long downTime, long eventTime, float x, float y) { in moveEvent()
704 private MotionEvent upEvent(View view, long downTime, long eventTime, float x, float y) { in upEvent()
708 private MotionEvent mouseDownEvent(View view, long downTime, long eventTime, float x, float y) { in mouseDownEvent()
712 private MotionEvent mouseMoveEvent(View view, long downTime, long eventTime, float x, float y) { in mouseMoveEvent()
[all …]
DEditorTouchStateTest.java414 private static MotionEvent downEvent(long downTime, long eventTime, float x, float y) { in downEvent()
418 private static MotionEvent upEvent(long downTime, long eventTime, float x, float y) { in upEvent()
422 private static MotionEvent moveEvent(long downTime, long eventTime, float x, float y) { in moveEvent()
426 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 …]
/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()
/frameworks/base/services/core/java/com/android/server/power/
DAttentionDetector.java245 public int onUserActivity(long eventTime, int event) { in onUserActivity()

123