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

Commit 13425c54 authored by Jeremy Sim's avatar Jeremy Sim Committed by Android (Google) Code Review
Browse files

Merge "Add some @Jvm annotations for GestureContext and MotionValue" into main

parents 247f51f1 d4cd80c0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -59,7 +59,7 @@ class DistanceGestureContext(
    }

    companion object {

        @JvmStatic
        fun create(
            context: Context,
            initialDragOffset: Float = 0f,
+3 −1
Original line number Diff line number Diff line
@@ -44,7 +44,9 @@ fun interface ViewMotionValueListener {
 *
 * See the documentation of [MotionValue].
 */
class ViewMotionValue(
class ViewMotionValue
@JvmOverloads
constructor(
    initialInput: Float,
    gestureContext: ViewGestureContext,
    initialSpec: MotionSpec = MotionSpec.Empty,