Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b45efb6e authored by Biswarup Pal's avatar Biswarup Pal Committed by Vladimir Komsiyski
Browse files

Improve documentation for setting virtual input event time

Fix: 349684396
Test: m
Flag: EXEMPT documentation improvement
Change-Id: Idb5accc0b139a001644e88cd10533aa7d03203ca
parent dadf7aed
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -286,6 +286,10 @@ public final class VirtualKeyEvent implements Parcelable {
         * obtained from {@link SystemClock#uptimeMillis()} (with nanosecond precision instead of
         * millisecond), but can be different depending on the use case.
         * This field is optional and can be omitted.
         * <p>
         * If this field is unset, then the time at which this event is sent to the framework would
         * be considered as the event time (even though
         * {@link VirtualKeyEvent#getEventTimeNanos()}) would return {@code 0L}).
         *
         * @return this builder, to allow for chaining of calls
         * @see InputEvent#getEventTime()
+4 −0
Original line number Diff line number Diff line
@@ -197,6 +197,10 @@ public final class VirtualMouseButtonEvent implements Parcelable {
         * obtained from {@link SystemClock#uptimeMillis()} (with nanosecond precision instead of
         * millisecond), but can be different depending on the use case.
         * This field is optional and can be omitted.
         * <p>
         * If this field is unset, then the time at which this event is sent to the framework would
         * be considered as the event time (even though
         * {@link VirtualMouseButtonEvent#getEventTimeNanos()}) would return {@code 0L}).
         *
         * @return this builder, to allow for chaining of calls
         * @see InputEvent#getEventTime()
+4 −0
Original line number Diff line number Diff line
@@ -135,6 +135,10 @@ public final class VirtualMouseRelativeEvent implements Parcelable {
         * obtained from {@link SystemClock#uptimeMillis()} (with nanosecond precision instead of
         * millisecond), but can be different depending on the use case.
         * This field is optional and can be omitted.
         * <p>
         * If this field is unset, then the time at which this event is sent to the framework would
         * be considered as the event time (even though
         * {@link VirtualMouseRelativeEvent#getEventTimeNanos()}) would return {@code 0L}).
         *
         * @return this builder, to allow for chaining of calls
         * @see InputEvent#getEventTime()
+4 −0
Original line number Diff line number Diff line
@@ -146,6 +146,10 @@ public final class VirtualMouseScrollEvent implements Parcelable {
         * obtained from {@link SystemClock#uptimeMillis()} (with nanosecond precision instead of
         * millisecond), but can be different depending on the use case.
         * This field is optional and can be omitted.
         * <p>
         * If this field is unset, then the time at which this event is sent to the framework would
         * be considered as the event time (even though
         * {@link VirtualMouseScrollEvent#getEventTimeNanos()}) would return {@code 0L}).
         *
         * @return this builder, to allow for chaining of calls
         * @see InputEvent#getEventTime()
+4 −0
Original line number Diff line number Diff line
@@ -129,6 +129,10 @@ public final class VirtualRotaryEncoderScrollEvent implements Parcelable {
         * obtained from {@link SystemClock#uptimeMillis()} (with nanosecond precision instead of
         * millisecond), but can be different depending on the use case.
         * This field is optional and can be omitted.
         * <p>
         * If this field is unset, then the time at which this event is sent to the framework would
         * be considered as the event time (even though
         * {@link VirtualRotaryEncoderScrollEvent#getEventTimeNanos()}) would return {@code 0L}).
         *
         * @return this builder, to allow for chaining of calls
         * @see InputEvent#getEventTime()
Loading