diff options
author | 2024-05-14 16:54:28 +0000 | |
---|---|---|
committer | 2024-05-15 09:26:13 +0000 | |
commit | ba3344cc1c8ea990314686efbd108f336854d831 (patch) | |
tree | 7ec14ccb41fe8425b270c7527692f9102f8282c2 | |
parent | cfbee5304f8fa7210e6f0816ca2ef2b6ab22c689 (diff) |
InputEvent_test: fix parameter comment style
It seems I missed these in change
Id5207b5a621c9a1ac0a46a8b2ff2bbf9aa43e726.
Bug: 245989146
Test: m inputflinger_tests
Flag: EXEMPT refactor
Change-Id: I23c2d4b33d8884868ba4b71cfe1e20ff76240089
-rw-r--r-- | libs/input/tests/InputEvent_test.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/libs/input/tests/InputEvent_test.cpp b/libs/input/tests/InputEvent_test.cpp index 704ea46fe9..476b5cf818 100644 --- a/libs/input/tests/InputEvent_test.cpp +++ b/libs/input/tests/InputEvent_test.cpp @@ -858,11 +858,10 @@ MotionEvent createMotionEvent(int32_t source, uint32_t action, float x, float y, pointerCoords.back().setAxisValue(AMOTION_EVENT_AXIS_RELATIVE_Y, dy); nsecs_t eventTime = systemTime(SYSTEM_TIME_MONOTONIC); MotionEvent event; - event.initialize(InputEvent::nextId(), /* deviceId */ 1, source, ui::LogicalDisplayId::DEFAULT, - INVALID_HMAC, action, - /* actionButton */ 0, /* flags */ 0, /* edgeFlags */ 0, AMETA_NONE, - /* buttonState */ 0, MotionClassification::NONE, transform, - /* xPrecision */ 0, /* yPrecision */ 0, AMOTION_EVENT_INVALID_CURSOR_POSITION, + event.initialize(InputEvent::nextId(), /*deviceId=*/1, source, ui::LogicalDisplayId::DEFAULT, + INVALID_HMAC, action, /*actionButton=*/0, /*flags=*/0, /*edgeFlags=*/0, + AMETA_NONE, /*buttonState=*/0, MotionClassification::NONE, transform, + /*xPrecision=*/0, /*yPrecision=*/0, AMOTION_EVENT_INVALID_CURSOR_POSITION, AMOTION_EVENT_INVALID_CURSOR_POSITION, rawTransform, eventTime, eventTime, pointerCoords.size(), pointerProperties.data(), pointerCoords.data()); return event; |