Home
last modified time | relevance | path

Searched defs:CurveSegment (Results 1 – 1 of 1) sorted by relevance

/aosp_15_r20/external/libchrome-gestures/include/
H A Daccel_filter_interpreter.h51 struct CurveSegment { struct
52 CurveSegment() : x_(INFINITY), sqr_(0.0), mul_(1.0), int_(0.0) {} in CurveSegment() function
53 CurveSegment(float x, float s, float m, float b) in CurveSegment() argument
55 CurveSegment(const CurveSegment& that) in CurveSegment() argument
59 double x_; // Max X value of segment. User's point will be less than this.
60 double sqr_; // x^2 multiplier
61 double mul_; // Slope of line (x multiplier)
62 double int_; // Intercept of line