/frameworks/base/services/tests/wmtests/src/com/android/server/policy/ |
D | KeyCombinationManagerTests.java | 162 final long eventTime = SystemClock.uptimeMillis(); in testTriggerRule() local 163 pressKeys(eventTime, KEYCODE_POWER, eventTime, KEYCODE_VOLUME_DOWN); in testTriggerRule() 166 pressKeys(eventTime, KEYCODE_VOLUME_UP, eventTime, KEYCODE_VOLUME_DOWN); in testTriggerRule() 169 pressKeys(eventTime, KEYCODE_POWER, eventTime, KEYCODE_VOLUME_UP, SCHEDULE_TIME + 50); in testTriggerRule() 178 final long eventTime = SystemClock.uptimeMillis(); in testNotTrigger_NoRule() local 179 pressKeys(eventTime, KEYCODE_BACK, eventTime, KEYCODE_VOLUME_DOWN); in testNotTrigger_NoRule() 190 final long eventTime = SystemClock.uptimeMillis(); in testNotTrigger_Interval() local 191 final long earlyEventTime = eventTime - 200; // COMBINE_KEY_DELAY_MILLIS = 150; in testNotTrigger_Interval() 192 pressKeys(earlyEventTime, KEYCODE_POWER, eventTime, KEYCODE_VOLUME_DOWN); in testNotTrigger_Interval() 201 final long eventTime = SystemClock.uptimeMillis(); in testNotTrigger_Condition() local [all …]
|
/frameworks/native/services/inputflinger/ |
D | NotifyArgs.cpp | 40 NotifyConfigurationChangedArgs::NotifyConfigurationChangedArgs(int32_t id, nsecs_t eventTime) in NotifyConfigurationChangedArgs() argument 41 : id(id), eventTime(eventTime) {} in NotifyConfigurationChangedArgs() 45 NotifyKeyArgs::NotifyKeyArgs(int32_t id, nsecs_t eventTime, nsecs_t readTime, int32_t deviceId, in NotifyKeyArgs() argument 50 eventTime(eventTime), in NotifyKeyArgs() 66 int32_t id, nsecs_t eventTime, nsecs_t readTime, int32_t deviceId, uint32_t source, in NotifyMotionArgs() argument 74 eventTime(eventTime), in NotifyMotionArgs() 104 return id == rhs.id && eventTime == rhs.eventTime && readTime == rhs.readTime && in operator ==() 143 id, eventTime, deviceId, inputEventSourceToString(source).c_str(), in dump() 150 NotifySwitchArgs::NotifySwitchArgs(int32_t id, nsecs_t eventTime, uint32_t policyFlags, in NotifySwitchArgs() argument 153 eventTime(eventTime), in NotifySwitchArgs() [all …]
|
/frameworks/native/libs/input/ |
D | VirtualInputDevice.cpp | 48 std::chrono::nanoseconds eventTime) { in writeInputEvent() argument 49 std::chrono::seconds seconds = std::chrono::duration_cast<std::chrono::seconds>(eventTime); in writeInputEvent() 51 std::chrono::duration_cast<std::chrono::microseconds>(eventTime - seconds); in writeInputEvent() 63 std::chrono::nanoseconds eventTime) { in writeEvKeyEvent() argument 74 static_cast<int32_t>(actionIterator->second), eventTime)) { in writeEvKeyEvent() 77 if (!writeInputEvent(EV_SYN, SYN_REPORT, 0, eventTime)) { in writeEvKeyEvent() 201 std::chrono::nanoseconds eventTime) { in writeKeyEvent() argument 203 eventTime); in writeKeyEvent() 224 std::chrono::nanoseconds eventTime) { in writeDpadKeyEvent() argument 226 VirtualKeyboard::KEY_ACTION_MAPPING, eventTime); in writeDpadKeyEvent() [all …]
|
D | VelocityTracker.cpp | 239 void VelocityTracker::addMovement(nsecs_t eventTime, int32_t pointerId, int32_t axis, in addMovement() argument 242 std::chrono::nanoseconds(eventTime - mLastEventTime) > ASSUME_POINTER_STOPPED_TIME) { in addMovement() 244 toString(std::chrono::nanoseconds(eventTime - mLastEventTime)).c_str()); in addMovement() 250 mLastEventTime = eventTime; in addMovement() 261 mConfiguredStrategies[axis]->addMovement(eventTime, pointerId, position); in addMovement() 266 eventTime, pointerId, toString(mActivePointerId).c_str()); in addMovement() 334 const nsecs_t eventTime = event->getHistoricalEventTime(h); in addMovement() local 342 addMovement(eventTime, pointerId, axis, position); in addMovement() 397 void LeastSquaresVelocityTrackerStrategy::addMovement(nsecs_t eventTime, int32_t pointerId, in addMovement() argument 407 if (!inserted && movementIt->second[index].eventTime != eventTime) { in addMovement() [all …]
|
D | VelocityControl.cpp | 56 void VelocityControl::move(nsecs_t eventTime, float* deltaX, float* deltaY) { in move() argument 58 if (eventTime >= mLastMovementTime + STOP_TIME) { in move() 61 (eventTime - mLastMovementTime) * 0.000001f); in move() 66 mLastMovementTime = eventTime; in move() 73 mVelocityTracker.addMovement(eventTime, /*pointerId=*/0, AMOTION_EVENT_AXIS_X, in move() 75 mVelocityTracker.addMovement(eventTime, /*pointerId=*/0, AMOTION_EVENT_AXIS_Y, in move()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | GestureLauncherServiceTest.java | 253 long eventTime = INITIAL_EVENT_TIME_MILLIS + in testInterceptPowerKeyDown_firstPowerDownCameraPowerGestureOnInteractive() local 255 KeyEvent keyEvent = new KeyEvent(IGNORED_DOWN_TIME, eventTime, IGNORED_ACTION, IGNORED_CODE, in testInterceptPowerKeyDown_firstPowerDownCameraPowerGestureOnInteractive() 264 verify(mMetricsLogger).histogram("power_double_tap_interval", (int) eventTime); in testInterceptPowerKeyDown_firstPowerDownCameraPowerGestureOnInteractive() 272 long eventTime = INITIAL_EVENT_TIME_MILLIS in testInterceptPowerKeyDown_firstPowerDown_emergencyGestureNotLaunched() local 274 KeyEvent keyEvent = new KeyEvent(IGNORED_DOWN_TIME, eventTime, IGNORED_ACTION, IGNORED_CODE, in testInterceptPowerKeyDown_firstPowerDown_emergencyGestureNotLaunched() 283 verify(mMetricsLogger).histogram("power_double_tap_interval", (int) eventTime); in testInterceptPowerKeyDown_firstPowerDown_emergencyGestureNotLaunched() 292 long eventTime = INITIAL_EVENT_TIME_MILLIS; in testInterceptPowerKeyDown_intervalInBoundsCameraPowerGestureOffInteractive() local 293 KeyEvent keyEvent = new KeyEvent(IGNORED_DOWN_TIME, eventTime, IGNORED_ACTION, IGNORED_CODE, in testInterceptPowerKeyDown_intervalInBoundsCameraPowerGestureOffInteractive() 303 eventTime += interval; in testInterceptPowerKeyDown_intervalInBoundsCameraPowerGestureOffInteractive() 304 keyEvent = new KeyEvent(IGNORED_DOWN_TIME, eventTime, IGNORED_ACTION, IGNORED_CODE, in testInterceptPowerKeyDown_intervalInBoundsCameraPowerGestureOffInteractive() [all …]
|
/frameworks/base/services/core/java/com/android/server/input/ |
D | BatteryController.java | 352 private void handleUEventNotification(int deviceId, long eventTime) { in handleUEventNotification() argument 358 monitor.onUEvent(eventTime); in handleUEventNotification() 367 final long eventTime = SystemClock.uptimeMillis(); in handlePollEvent() local 368 mDeviceMonitors.forEach((deviceId, monitor) -> monitor.onPoll(eventTime)); in handlePollEvent() 384 private void handleBluetoothBatteryLevelChange(long eventTime, String address, in handleBluetoothBatteryLevelChange() argument 391 monitor.onBluetoothBatteryChanged(eventTime, batteryLevel); in handleBluetoothBatteryLevelChange() 402 final long eventTime = SystemClock.uptimeMillis(); in handleBluetoothMetadataChange() local 403 monitor.onBluetoothMetadataChanged(eventTime, key, value); in handleBluetoothMetadataChange() 430 public void notifyStylusGestureStarted(int deviceId, long eventTime) { in notifyStylusGestureStarted() argument 437 monitor.onStylusGestureStarted(eventTime); in notifyStylusGestureStarted() [all …]
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | PowerGroup.java | 88 boolean supportsSandman, long eventTime) { in PowerGroup() argument 96 mLastWakeTime = eventTime; in PowerGroup() 97 mLastSleepTime = eventTime; in PowerGroup() 101 DisplayManagerInternal displayManagerInternal, long eventTime) { in PowerGroup() argument 109 mLastWakeTime = eventTime; in PowerGroup() 110 mLastSleepTime = eventTime; in PowerGroup() 134 boolean setWakefulnessLocked(int newWakefulness, long eventTime, int uid, int reason, int opUid, in setWakefulnessLocked() argument 138 setLastPowerOnTimeLocked(eventTime); in setWakefulnessLocked() 140 mLastWakeTime = eventTime; in setWakefulnessLocked() 142 mLastSleepTime = eventTime; in setWakefulnessLocked() [all …]
|
/frameworks/native/services/inputflinger/dispatcher/ |
D | Entry.cpp | 33 return {{VerifiedInputEvent::Type::KEY, entry.deviceId, entry.eventTime, entry.source, in verifiedKeyEventFromKeyEntry() 49 return {{VerifiedInputEvent::Type::MOTION, entry.deviceId, entry.eventTime, entry.source, in verifiedMotionEventFromMotionEntry() 62 EventEntry::EventEntry(int32_t id, Type type, nsecs_t eventTime, uint32_t policyFlags) in EventEntry() argument 65 eventTime(eventTime), in EventEntry() 83 ConfigurationChangedEntry::ConfigurationChangedEntry(int32_t id, nsecs_t eventTime) in ConfigurationChangedEntry() argument 84 : EventEntry(id, Type::CONFIGURATION_CHANGED, eventTime, 0) {} in ConfigurationChangedEntry() 94 DeviceResetEntry::DeviceResetEntry(int32_t id, nsecs_t eventTime, int32_t deviceId) in DeviceResetEntry() argument 95 : EventEntry(id, Type::DEVICE_RESET, eventTime, 0), deviceId(deviceId) {} in DeviceResetEntry() 106 FocusEntry::FocusEntry(int32_t id, nsecs_t eventTime, sp<IBinder> connectionToken, bool hasFocus, in FocusEntry() argument 108 : EventEntry(id, Type::FOCUS, eventTime, POLICY_FLAG_PASS_TO_USER), in FocusEntry() [all …]
|
D | Entry.h | 48 nsecs_t eventTime; member 73 EventEntry(int32_t id, Type type, nsecs_t eventTime, uint32_t policyFlags); 81 explicit ConfigurationChangedEntry(int32_t id, nsecs_t eventTime); 90 DeviceResetEntry(int32_t id, nsecs_t eventTime, int32_t deviceId); 101 FocusEntry(int32_t id, nsecs_t eventTime, sp<IBinder> connectionToken, bool hasFocus, 111 PointerCaptureChangedEntry(int32_t id, nsecs_t eventTime, const PointerCaptureRequest&); 122 DragEntry(int32_t id, nsecs_t eventTime, sp<IBinder> connectionToken, bool isExiting, float x, 152 KeyEntry(int32_t id, nsecs_t eventTime, int32_t deviceId, uint32_t source, int32_t displayId, 181 MotionEntry(int32_t id, nsecs_t eventTime, int32_t deviceId, uint32_t source, int32_t displayId, 202 SensorEntry(int32_t id, nsecs_t eventTime, int32_t deviceId, uint32_t source, [all …]
|
D | InputEventTimeline.cpp | 67 InputEventTimeline::InputEventTimeline(bool isDown, nsecs_t eventTime, nsecs_t readTime) in InputEventTimeline() argument 68 : isDown(isDown), eventTime(eventTime), readTime(readTime) {} in InputEventTimeline() 83 return isDown == rhs.isDown && eventTime == rhs.eventTime && readTime == rhs.readTime; in operator ==()
|
D | LatencyTracker.cpp | 43 static bool isMatureEvent(nsecs_t eventTime, nsecs_t now) { in isMatureEvent() argument 44 std::chrono::duration age = std::chrono::nanoseconds(now) - std::chrono::nanoseconds(eventTime); in isMatureEvent() 68 void LatencyTracker::trackListener(int32_t inputEventId, bool isDown, nsecs_t eventTime, in trackListener() argument 70 reportAndPruneMatureRecords(eventTime); in trackListener() 81 mTimelines.emplace(inputEventId, InputEventTimeline(isDown, eventTime, readTime)); in trackListener() 82 mEventTimes.emplace(eventTime, inputEventId); in trackListener()
|
/frameworks/native/services/inputflinger/include/ |
D | NotifyArgs.h | 45 nsecs_t eventTime; member 49 NotifyConfigurationChangedArgs(int32_t id, nsecs_t eventTime); 60 nsecs_t eventTime; member 76 NotifyKeyArgs(int32_t id, nsecs_t eventTime, nsecs_t readTime, int32_t deviceId, 90 nsecs_t eventTime; member 125 NotifyMotionArgs(int32_t id, nsecs_t eventTime, nsecs_t readTime, int32_t deviceId, 147 nsecs_t eventTime; member 159 NotifySensorArgs(int32_t id, nsecs_t eventTime, int32_t deviceId, uint32_t source, 170 nsecs_t eventTime; member 178 NotifySwitchArgs(int32_t id, nsecs_t eventTime, uint32_t policyFlags, uint32_t switchValues, [all …]
|
D | NotifyArgsBuilders.h | 50 MotionArgsBuilder& eventTime(nsecs_t eventTime) { in eventTime() argument 51 mEventTime = eventTime; in eventTime() 181 KeyArgsBuilder& eventTime(nsecs_t eventTime) { in eventTime() argument 182 mEventTime = eventTime; in eventTime()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/classifier/ |
D | ClassifierTest.java | 94 protected MotionEvent appendDownEvent(float x, float y, long eventTime) { in appendDownEvent() argument 95 return appendMotionEvent(MotionEvent.ACTION_DOWN, x, y, eventTime); in appendDownEvent() 102 protected MotionEvent appendMoveEvent(float x, float y, long eventTime) { in appendMoveEvent() argument 103 return appendMotionEvent(MotionEvent.ACTION_MOVE, x, y, eventTime); in appendMoveEvent() 111 protected MotionEvent appendUpEvent(float x, float y, long eventTime) { in appendUpEvent() argument 112 return appendMotionEvent(MotionEvent.ACTION_UP, x, y, eventTime); in appendUpEvent() 117 long eventTime = mMotionEvents.isEmpty() ? 1 : mMotionEvents.get( in appendMotionEvent() local 119 return appendMotionEvent(actionType, x, y, eventTime); in appendMotionEvent() 122 private MotionEvent appendMotionEvent(int actionType, float x, float y, long eventTime) { in appendMotionEvent() argument 126 MotionEvent motionEvent = MotionEvent.obtain(1, eventTime, actionType, x, y, in appendMotionEvent() [all …]
|
/frameworks/native/include/input/ |
D | VirtualInputDevice.h | 38 std::chrono::nanoseconds eventTime); 42 std::chrono::nanoseconds eventTime); 53 std::chrono::nanoseconds eventTime); 62 std::chrono::nanoseconds eventTime); 70 std::chrono::nanoseconds eventTime); 72 bool writeRelativeEvent(float relativeX, float relativeY, std::chrono::nanoseconds eventTime); 74 std::chrono::nanoseconds eventTime); 88 std::chrono::nanoseconds eventTime); 101 bool handleTouchDown(int32_t pointerId, std::chrono::nanoseconds eventTime); 102 bool handleTouchUp(int32_t pointerId, std::chrono::nanoseconds eventTime);
|
D | VelocityTracker.h | 111 void addMovement(nsecs_t eventTime, int32_t pointerId, int32_t axis, float position); 170 virtual void addMovement(nsecs_t eventTime, int32_t pointerId, float position) = 0; 200 void addMovement(nsecs_t eventTime, int32_t pointerId, float position) override; 213 nsecs_t eventTime; member 236 void addMovement(nsecs_t eventTime, int32_t pointerId, float positions) override; 252 void initState(State& state, nsecs_t eventTime, float pos) const; 253 void updateState(State& state, nsecs_t eventTime, float pos) const; 267 void addMovement(nsecs_t eventTime, int32_t pointerId, float position) override; 281 nsecs_t eventTime; member 295 void addMovement(nsecs_t eventTime, int32_t pointerId, float position) override; [all …]
|
/frameworks/base/services/tests/servicestests/res/raw/ |
D | a11y_three_finger_swipe_down_gesture.log | 2 …, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=5273700, downTim… 3 …, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=2, historySize=0, eventTime=5273700, downTim… 4 …, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=2, historySize=0, eventTime=5273709, downTim… 5 …, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=3, historySize=0, eventTime=5273709, downTim… 6 …, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=3, historySize=0, eventTime=5273715, downTim… 7 …, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=3, historySize=0, eventTime=5273725, downTim… 8 …, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=3, historySize=0, eventTime=5273734, downTim… 9 …, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=3, historySize=0, eventTime=5273741, downTim… 10 …, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=3, historySize=0, eventTime=5273750, downTim… 11 …, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=3, historySize=0, eventTime=5273758, downTim… [all …]
|
/frameworks/base/test-runner/src/android/test/ |
D | TouchUtils.java | 277 long eventTime = SystemClock.uptimeMillis(); in tapView() local 279 MotionEvent event = MotionEvent.obtain(downTime, eventTime, in tapView() 284 eventTime = SystemClock.uptimeMillis(); in tapView() 286 event = MotionEvent.obtain(downTime, eventTime, MotionEvent.ACTION_MOVE, in tapView() 291 eventTime = SystemClock.uptimeMillis(); in tapView() 292 event = MotionEvent.obtain(downTime, eventTime, MotionEvent.ACTION_UP, x, y, 0); in tapView() 317 long eventTime = SystemClock.uptimeMillis(); in touchAndCancelView() local 319 MotionEvent event = MotionEvent.obtain(downTime, eventTime, in touchAndCancelView() 324 eventTime = SystemClock.uptimeMillis(); in touchAndCancelView() 326 event = MotionEvent.obtain(downTime, eventTime, MotionEvent.ACTION_CANCEL, in touchAndCancelView() [all …]
|
/frameworks/native/services/inputflinger/tests/ |
D | LatencyTracker_test.cpp | 119 << expectedTimeline.eventTime; in assertReceivedTimelines() 130 << receivedTimeline.eventTime; in assertReceivedTimelines() 174 mTracker->trackListener(inputEventId, expected.isDown, expected.eventTime, expected.readTime); in TEST_F() 179 triggerEventReporting(expected.eventTime); in TEST_F() 234 mTracker->trackListener(inputEventId1, timeline1.isDown, timeline1.eventTime, in TEST_F() 237 mTracker->trackListener(inputEventId2, timeline2.isDown, timeline2.eventTime, in TEST_F() 249 triggerEventReporting(timeline2.eventTime); in TEST_F() 263 mTracker->trackListener(/*inputEventId=*/i, timeline.isDown, timeline.eventTime, in TEST_F() 266 InputEventTimeline{timeline.isDown, timeline.eventTime, timeline.readTime}); in TEST_F() 274 triggerEventReporting(timeline.eventTime); in TEST_F() [all …]
|
/frameworks/base/apct-tests/perftests/core/src/android/input/ |
D | MotionPredictorBenchmark.kt | 47 eventTime: Duration, in getStylusMotionEvent() 65 return MotionEvent.obtain(/*downTime=*/0, eventTime.toMillis(), action, properties.size, in getStylusMotionEvent() 112 var eventTime = Duration.ofMillis(0) in timeRecordAndPredict() variable 121 eventTime, ACTION_DOWN, /*x=*/eventPosition, /*y=*/eventPosition)) in timeRecordAndPredict() 125 eventTime += eventInterval in timeRecordAndPredict() 130 eventTime, ACTION_MOVE, /*x=*/eventPosition, /*y=*/eventPosition) in timeRecordAndPredict() 132 val predictionTime = eventTime + eventInterval in timeRecordAndPredict() 134 assertTrue(predicted.eventTime <= (predictionTime + offset).toMillis()) in timeRecordAndPredict()
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | PinchZoomAction.java | 82 long eventTime = startTime; in sendPinchZoomAction() local 86 eventTime, MotionEvent.ACTION_DOWN, 1, pointerProperties, pointerCoords, in sendPinchZoomAction() 89 eventTime = SystemClock.uptimeMillis(); in sendPinchZoomAction() 90 final MotionEvent secondFingerEvent = MotionEvent.obtain(startTime, eventTime, in sendPinchZoomAction() 123 eventTime = SystemClock.uptimeMillis(); in sendPinchZoomAction() 130 final MotionEvent event = MotionEvent.obtain(startTime, eventTime, in sendPinchZoomAction() 147 eventTime = SystemClock.uptimeMillis(); in sendPinchZoomAction() 150 final MotionEvent secondFingerUpEvent = MotionEvent.obtain(startTime, eventTime, in sendPinchZoomAction() 163 eventTime = SystemClock.uptimeMillis(); in sendPinchZoomAction() 165 final MotionEvent firstFingerUpEvent = MotionEvent.obtain(startTime, eventTime, in sendPinchZoomAction()
|
/frameworks/base/tests/FlickerTests/src/com/android/server/wm/flicker/helpers/ |
D | GestureHelper.java | 200 long eventTime = SystemClock.uptimeMillis(); in nonPrimaryPointerDown() local 202 MotionEvent event = getMotionEvent(downTime, eventTime, MotionEvent.ACTION_POINTER_DOWN in nonPrimaryPointerDown() 228 long eventTime; in movePointers() local 240 eventTime = SystemClock.uptimeMillis(); in movePointers() 242 event = getMotionEvent(downTime, eventTime, MotionEvent.ACTION_MOVE, in movePointers() 257 long eventTime = SystemClock.uptimeMillis(); in primaryPointerUp() local 259 MotionEvent event = getMotionEvent(downTime, eventTime, MotionEvent.ACTION_UP, 1, in primaryPointerUp() 272 long eventTime = SystemClock.uptimeMillis(); in nonPrimaryPointerUp() local 274 MotionEvent event = getMotionEvent(downTime, eventTime, MotionEvent.ACTION_POINTER_UP in nonPrimaryPointerUp() 296 private static MotionEvent getMotionEvent(long downTime, long eventTime, int action, in getMotionEvent() argument [all …]
|
/frameworks/base/tests/Input/src/com/android/test/input/ |
D | MotionPredictorTest.kt | 46 eventTime: Duration, in getStylusMotionEvent() 64 return MotionEvent.obtain(/*downTime=*/0, eventTime.toMillis(), action, properties.size, in getStylusMotionEvent() 116 var eventTime = Duration.ofMillis(0) in testPredictedCoordinatesAndTime() variable 117 val downEvent = getStylusMotionEvent(eventTime, ACTION_DOWN, /*x=*/0f, /*y=*/0f) in testPredictedCoordinatesAndTime() 121 eventTime += Duration.ofMillis(4) in testPredictedCoordinatesAndTime() 122 val moveEvent = getStylusMotionEvent(eventTime, ACTION_MOVE, /*x=*/10f, /*y=*/20f) in testPredictedCoordinatesAndTime() 131 assertEquals(12, predicted!!.eventTime) in testPredictedCoordinatesAndTime()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/notetask/ |
D | NoteTaskInitializerTest.kt | 96 eventTime: Long = 0L, in createUnderTest() 98 ): KeyEvent = KeyEvent(downTime, eventTime, action, code, 0 /*repeat*/, metaState) in createUnderTest() 228 createKeyEvent(ACTION_DOWN, KEYCODE_STYLUS_BUTTON_TAIL, downTime = 0, eventTime = 0) in tailButtonGestureDetection_singlePress_shouldShowNoteTaskOnUp() 233 createKeyEvent(ACTION_UP, KEYCODE_STYLUS_BUTTON_TAIL, downTime = 0, eventTime = 50) in tailButtonGestureDetection_singlePress_shouldShowNoteTaskOnUp() 246 createKeyEvent(ACTION_DOWN, KEYCODE_STYLUS_BUTTON_TAIL, downTime = 0, eventTime = 0) in tailButtonGestureDetection_doublePress_shouldNotShowNoteTaskTwice() 249 createKeyEvent(ACTION_UP, KEYCODE_STYLUS_BUTTON_TAIL, downTime = 0, eventTime = 50) in tailButtonGestureDetection_doublePress_shouldNotShowNoteTaskTwice() 252 createKeyEvent(ACTION_DOWN, KEYCODE_STYLUS_BUTTON_TAIL, downTime = 99, eventTime = 99) in tailButtonGestureDetection_doublePress_shouldNotShowNoteTaskTwice() 255 createKeyEvent(ACTION_UP, KEYCODE_STYLUS_BUTTON_TAIL, downTime = 99, eventTime = 150) in tailButtonGestureDetection_doublePress_shouldNotShowNoteTaskTwice() 268 createKeyEvent(ACTION_DOWN, KEYCODE_STYLUS_BUTTON_TAIL, downTime = 0, eventTime = 0) in tailButtonGestureDetection_longPress_shouldNotShowNoteTask() 271 createKeyEvent(ACTION_UP, KEYCODE_STYLUS_BUTTON_TAIL, downTime = 0, eventTime = 1000) in tailButtonGestureDetection_longPress_shouldNotShowNoteTask()
|