Home
last modified time | relevance | path

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

1234

/frameworks/base/services/tests/wmtests/src/com/android/server/policy/
DKeyCombinationManagerTests.java162 final long eventTime = SystemClock.uptimeMillis(); in testTriggerRule() local
178 final long eventTime = SystemClock.uptimeMillis(); in testNotTrigger_NoRule() local
190 final long eventTime = SystemClock.uptimeMillis(); in testNotTrigger_Interval() local
201 final long eventTime = SystemClock.uptimeMillis(); in testNotTrigger_Condition() local
213 final long eventTime = SystemClock.uptimeMillis(); in testNotTrigger_EarlyRelease() local
223 final long eventTime = SystemClock.uptimeMillis(); in testKeyInterceptTimeout() local
247 long eventTime = SystemClock.uptimeMillis(); in testAddRemove() local
DShortcutKeyTestBase.java122 final long eventTime = SystemClock.uptimeMillis(); in sendKeyCombination() local
153 final long eventTime = longPress in sendKey() local
/frameworks/base/services/tests/servicestests/src/com/android/server/
DGestureLauncherServiceTest.java253 long eventTime = INITIAL_EVENT_TIME_MILLIS + in testInterceptPowerKeyDown_firstPowerDownCameraPowerGestureOnInteractive() local
272 long eventTime = INITIAL_EVENT_TIME_MILLIS in testInterceptPowerKeyDown_firstPowerDown_emergencyGestureNotLaunched() local
292 long eventTime = INITIAL_EVENT_TIME_MILLIS; in testInterceptPowerKeyDown_intervalInBoundsCameraPowerGestureOffInteractive() local
337 long eventTime = INITIAL_EVENT_TIME_MILLIS; in testInterceptPowerKeyDown_intervalMidBoundsCameraPowerGestureOffInteractive() local
384 long eventTime = INITIAL_EVENT_TIME_MILLIS; in testInterceptPowerKeyDown_intervalOutOfBoundsCameraPowerGestureOffInteractive() local
431 long eventTime = INITIAL_EVENT_TIME_MILLIS; in testInterceptPowerKeyDown_intervalInBoundsCameraPowerGestureOnInteractiveSetupComplete() local
485 long eventTime = INITIAL_EVENT_TIME_MILLIS; in testInterceptPowerKeyDown_fiveInboundPresses_cameraAndEmergencyEnabled_bothLaunch() local
574 long eventTime = INITIAL_EVENT_TIME_MILLIS; in testInterceptPowerKeyDown_fiveInboundPresses_emergencyGestureEnabled_launchesFlow() local
628 long eventTime = INITIAL_EVENT_TIME_MILLIS; in testInterceptPowerKeyDown_tenInboundPresses_emergencyGestureEnabled_keyIntercepted() local
681 long eventTime = triggerEmergencyGesture(); in testInterceptPowerKeyDown_triggerEmergency_singleTaps_cooldownTriggered() local
[all …]
/frameworks/native/libs/input/
DVirtualInputDevice.cpp48 std::chrono::nanoseconds eventTime) { in writeInputEvent()
63 std::chrono::nanoseconds eventTime) { in writeEvKeyEvent()
201 std::chrono::nanoseconds eventTime) { in writeKeyEvent()
224 std::chrono::nanoseconds eventTime) { in writeDpadKeyEvent()
251 std::chrono::nanoseconds eventTime) { in writeButtonEvent()
257 std::chrono::nanoseconds eventTime) { in writeRelativeEvent()
264 std::chrono::nanoseconds eventTime) { in writeScrollEvent()
309 float majorAxisSize, std::chrono::nanoseconds eventTime) { in writeTouchEvent()
354 bool VirtualTouchscreen::handleTouchUp(int32_t pointerId, std::chrono::nanoseconds eventTime) { in handleTouchUp()
374 bool VirtualTouchscreen::handleTouchDown(int32_t pointerId, std::chrono::nanoseconds eventTime) { in handleTouchDown()
DVelocityTracker.cpp239 void VelocityTracker::addMovement(nsecs_t eventTime, int32_t pointerId, int32_t axis, in addMovement()
334 const nsecs_t eventTime = event->getHistoricalEventTime(h); in addMovement() local
397 void LeastSquaresVelocityTrackerStrategy::addMovement(nsecs_t eventTime, int32_t pointerId, in addMovement()
818 void IntegratingVelocityTrackerStrategy::addMovement(nsecs_t eventTime, int32_t pointerId, in addMovement()
842 void IntegratingVelocityTrackerStrategy::initState(State& state, nsecs_t eventTime, in initState()
852 void IntegratingVelocityTrackerStrategy::updateState(State& state, nsecs_t eventTime, in updateState()
909 void LegacyVelocityTrackerStrategy::addMovement(nsecs_t eventTime, int32_t pointerId, in addMovement()
1024 void ImpulseVelocityTrackerStrategy::addMovement(nsecs_t eventTime, int32_t pointerId, in addMovement()
DVelocityControl.cpp56 void VelocityControl::move(nsecs_t eventTime, float* deltaX, float* deltaY) { in move()
/frameworks/base/services/core/java/com/android/server/input/
DBatteryController.java352 private void handleUEventNotification(int deviceId, long eventTime) { in handleUEventNotification()
367 final long eventTime = SystemClock.uptimeMillis(); in handlePollEvent() local
384 private void handleBluetoothBatteryLevelChange(long eventTime, String address, in handleBluetoothBatteryLevelChange()
402 final long eventTime = SystemClock.uptimeMillis(); in handleBluetoothMetadataChange() local
430 public void notifyStylusGestureStarted(int deviceId, long eventTime) { in notifyStylusGestureStarted()
576 final long eventTime = SystemClock.uptimeMillis(); in DeviceMonitor() local
580 protected void processChangesAndNotify(long eventTime, Consumer<Long> changes) { in processChangesAndNotify()
589 public void onConfiguration(long eventTime) { in onConfiguration()
593 private void configureDeviceMonitor(long eventTime) { in configureDeviceMonitor()
655 private void startBluetoothMetadataMonitoring(long eventTime) { in startBluetoothMetadataMonitoring()
[all …]
/frameworks/native/services/inputflinger/
DNotifyArgs.cpp40 NotifyConfigurationChangedArgs::NotifyConfigurationChangedArgs(int32_t id, nsecs_t eventTime) in NotifyConfigurationChangedArgs()
45 NotifyKeyArgs::NotifyKeyArgs(int32_t id, nsecs_t eventTime, nsecs_t readTime, int32_t deviceId, in NotifyKeyArgs()
66 int32_t id, nsecs_t eventTime, nsecs_t readTime, int32_t deviceId, uint32_t source, in NotifyMotionArgs()
150 NotifySwitchArgs::NotifySwitchArgs(int32_t id, nsecs_t eventTime, uint32_t policyFlags, in NotifySwitchArgs()
160 NotifySensorArgs::NotifySensorArgs(int32_t id, nsecs_t eventTime, int32_t deviceId, uint32_t source, in NotifySensorArgs()
176 NotifyVibratorStateArgs::NotifyVibratorStateArgs(int32_t id, nsecs_t eventTime, int32_t deviceId, in NotifyVibratorStateArgs()
182 NotifyDeviceResetArgs::NotifyDeviceResetArgs(int32_t id, nsecs_t eventTime, int32_t deviceId) in NotifyDeviceResetArgs()
188 int32_t id, nsecs_t eventTime, const PointerCaptureRequest& request) in NotifyPointerCaptureChangedArgs()
/frameworks/native/services/inputflinger/dispatcher/
DEntry.cpp62 EventEntry::EventEntry(int32_t id, Type type, nsecs_t eventTime, uint32_t policyFlags) in EventEntry()
83 ConfigurationChangedEntry::ConfigurationChangedEntry(int32_t id, nsecs_t eventTime) in ConfigurationChangedEntry()
94 DeviceResetEntry::DeviceResetEntry(int32_t id, nsecs_t eventTime, int32_t deviceId) in DeviceResetEntry()
106 FocusEntry::FocusEntry(int32_t id, nsecs_t eventTime, sp<IBinder> connectionToken, bool hasFocus, in FocusEntry()
123 PointerCaptureChangedEntry::PointerCaptureChangedEntry(int32_t id, nsecs_t eventTime, in PointerCaptureChangedEntry()
138 DragEntry::DragEntry(int32_t id, nsecs_t eventTime, sp<IBinder> connectionToken, bool isExiting, in DragEntry()
154 KeyEntry::KeyEntry(int32_t id, nsecs_t eventTime, int32_t deviceId, uint32_t source, in KeyEntry()
199 TouchModeEntry::TouchModeEntry(int32_t id, nsecs_t eventTime, bool inTouchMode, int displayId) in TouchModeEntry()
212 MotionEntry::MotionEntry(int32_t id, nsecs_t eventTime, int32_t deviceId, uint32_t source, in MotionEntry()
274 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()
68 void LatencyTracker::trackListener(int32_t inputEventId, bool isDown, nsecs_t eventTime, in trackListener()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/classifier/
DClassifierTest.java94 protected MotionEvent appendDownEvent(float x, float y, long eventTime) { in appendDownEvent()
102 protected MotionEvent appendMoveEvent(float x, float y, long eventTime) { in appendMoveEvent()
111 protected MotionEvent appendUpEvent(float x, float y, long eventTime) { in appendUpEvent()
117 long eventTime = mMotionEvents.isEmpty() ? 1 : mMotionEvents.get( in appendMotionEvent() local
122 private MotionEvent appendMotionEvent(int actionType, float x, float y, long eventTime) { in appendMotionEvent()
150 long eventTime = mMotionEvents.isEmpty() ? 1 : mMotionEvents.get( in appendTrackpadMotionEvent() local
156 int pointerCount, long eventTime) { in appendTrackpadMotionEvent()
/frameworks/native/services/inputflinger/include/
DNotifyArgsBuilders.h50 MotionArgsBuilder& eventTime(nsecs_t eventTime) { in eventTime() argument
181 KeyArgsBuilder& eventTime(nsecs_t eventTime) { in eventTime() argument
DNotifyArgs.h45 nsecs_t eventTime; member
60 nsecs_t eventTime; member
90 nsecs_t eventTime; member
147 nsecs_t eventTime; member
170 nsecs_t eventTime; member
191 nsecs_t eventTime; member
208 nsecs_t eventTime; member
223 nsecs_t eventTime; member
/frameworks/base/services/core/java/com/android/server/power/
DPowerGroup.java88 boolean supportsSandman, long eventTime) { in PowerGroup()
101 DisplayManagerInternal displayManagerInternal, long eventTime) { in PowerGroup()
134 boolean setWakefulnessLocked(int newWakefulness, long eventTime, int uid, int reason, int opUid, in setWakefulnessLocked()
208 void wakeUpLocked(long eventTime, @PowerManager.WakeReason int reason, String details, int uid, in wakeUpLocked()
234 boolean dreamLocked(long eventTime, int uid, boolean allowWake) { in dreamLocked()
251 boolean dozeLocked(long eventTime, int uid, @PowerManager.GoToSleepReason int reason) { in dozeLocked()
278 boolean sleepLocked(long eventTime, int uid, @PowerManager.GoToSleepReason int reason) { in sleepLocked()
476 void onWakefulnessChangedLocked(int groupId, int wakefulness, long eventTime, int reason, in onWakefulnessChangedLocked()
/frameworks/base/tests/FlickerTests/src/com/android/server/wm/flicker/helpers/
DGestureHelper.java200 long eventTime = SystemClock.uptimeMillis(); in nonPrimaryPointerDown() local
228 long eventTime; in movePointers() local
257 long eventTime = SystemClock.uptimeMillis(); in primaryPointerUp() local
272 long eventTime = SystemClock.uptimeMillis(); in nonPrimaryPointerUp() local
296 private static MotionEvent getMotionEvent(long downTime, long eventTime, int action, in getMotionEvent()
/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 …]
/frameworks/base/services/core/java/com/android/server/policy/
DSideFpsEventHandler.java146 public boolean shouldConsumeSinglePress(long eventTime) { in shouldConsumeSinglePress()
171 private void goToSleep(long eventTime) { in goToSleep()
DSingleKeyGestureDetector.java133 void onLongPress(long eventTime) {} in onLongPress()
145 void onVeryLongPress(long eventTime) {} in onVeryLongPress()
307 final long eventTime = event.getEventTime(); in interceptKeyUp() 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/include/input/
DInputEventBuilders.h81 MotionEventBuilder& eventTime(nsecs_t eventTime) { in eventTime() function
DVelocityTracker.h213 nsecs_t eventTime; member
281 nsecs_t eventTime; member
308 nsecs_t eventTime; member
/frameworks/base/tests/MotionPrediction/src/test/motionprediction/
DDrawingView.kt89 var eventTime = 0L in onDraw() variable
/frameworks/native/libs/input/tests/
DTouchResampling_test.cpp38 std::chrono::nanoseconds eventTime; member
74 int32_t action, nsecs_t eventTime, const std::vector<PointerProperties>& properties, in publishSimpleMotionEventWithCoords()
93 void TouchResamplingTest::publishSimpleMotionEvent(int32_t action, nsecs_t eventTime, in publishSimpleMotionEvent()
/frameworks/base/tests/Input/src/com/android/test/input/
DMotionPredictorTest.kt116 var eventTime = Duration.ofMillis(0) in testPredictedCoordinatesAndTime() variable
/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()

1234