Loading core/java/android/window/BackEvent.java +2 −3 Original line number Original line Diff line number Diff line Loading @@ -23,7 +23,6 @@ import static com.android.window.flags.Flags.predictiveBackTimestampApi; import android.annotation.FlaggedApi; import android.annotation.FlaggedApi; import android.annotation.FloatRange; import android.annotation.FloatRange; import android.annotation.IntDef; import android.annotation.IntDef; import android.util.TimeUtils; import java.lang.annotation.Retention; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.RetentionPolicy; Loading Loading @@ -76,7 +75,7 @@ public final class BackEvent { } } /** /** * Creates a new {@link BackEvent} instance with the current uptime as frame time. * Creates a new {@link BackEvent} instance with a frame time of 0. * * * @param touchX Absolute X location of the touch point of this event. * @param touchX Absolute X location of the touch point of this event. * @param touchY Absolute Y location of the touch point of this event. * @param touchY Absolute Y location of the touch point of this event. Loading @@ -88,7 +87,7 @@ public final class BackEvent { mTouchY = touchY; mTouchY = touchY; mProgress = progress; mProgress = progress; mSwipeEdge = swipeEdge; mSwipeEdge = swipeEdge; mFrameTimeMillis = System.nanoTime() / TimeUtils.NANOS_PER_MS; mFrameTimeMillis = 0; } } /** /** Loading Loading
core/java/android/window/BackEvent.java +2 −3 Original line number Original line Diff line number Diff line Loading @@ -23,7 +23,6 @@ import static com.android.window.flags.Flags.predictiveBackTimestampApi; import android.annotation.FlaggedApi; import android.annotation.FlaggedApi; import android.annotation.FloatRange; import android.annotation.FloatRange; import android.annotation.IntDef; import android.annotation.IntDef; import android.util.TimeUtils; import java.lang.annotation.Retention; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.RetentionPolicy; Loading Loading @@ -76,7 +75,7 @@ public final class BackEvent { } } /** /** * Creates a new {@link BackEvent} instance with the current uptime as frame time. * Creates a new {@link BackEvent} instance with a frame time of 0. * * * @param touchX Absolute X location of the touch point of this event. * @param touchX Absolute X location of the touch point of this event. * @param touchY Absolute Y location of the touch point of this event. * @param touchY Absolute Y location of the touch point of this event. Loading @@ -88,7 +87,7 @@ public final class BackEvent { mTouchY = touchY; mTouchY = touchY; mProgress = progress; mProgress = progress; mSwipeEdge = swipeEdge; mSwipeEdge = swipeEdge; mFrameTimeMillis = System.nanoTime() / TimeUtils.NANOS_PER_MS; mFrameTimeMillis = 0; } } /** /** Loading