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

Commit 73c9508b authored by Yeabkal Wubshit's avatar Yeabkal Wubshit
Browse files

VelocityTracker Cleanups: Differential Axes Support Follow Up

This CL follows ag/19950271. It:
- fixes a param name, to make it consistent with the latest terminology we use (and the one we use in the .cpp file)
- add comment to the VelocityTrackr#createStrategy function about this param

Bug: 32830165
Change-Id: Idf90547c6b9629e98ee9014549085a1db9024700
Test: tests unaffected (trivial naming/comment change)
parent 52b3c475
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);
};