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

Commit 7cae69c7 authored by Yeabkal Wubshit's avatar Yeabkal Wubshit Committed by Android (Google) Code Review
Browse files

Merge "VelocityTracker Cleanups: Differential Axes Support Follow Up"

parents 007713dd 73c9508b
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -160,8 +160,12 @@ private:

    void configureStrategy(int32_t axis);

    // Generates a VelocityTrackerStrategy instance for the given Strategy type.
    // The `deltaValues` parameter indicates whether or not the created strategy should treat motion
    // values as deltas (and not as absolute values). This the parameter is applicable only for
    // strategies that support differential axes.
    static std::unique_ptr<VelocityTrackerStrategy> createStrategy(const Strategy strategy,
                                                                   bool isCumulative);
                                                                   bool deltaValues);
};