Searched refs:AccelerationCurveSegment (Results 1 – 5 of 5) sorted by relevance
31 constexpr std::array<AccelerationCurveSegment, 4> kSegments = {{45 std::vector<AccelerationCurveSegment> createAccelerationCurveForPointerSensitivity( in createAccelerationCurveForPointerSensitivity()48 std::vector<AccelerationCurveSegment> output; in createAccelerationCurveForPointerSensitivity()54 for (AccelerationCurveSegment seg : kSegments) { in createAccelerationCurveForPointerSensitivity()55 output.push_back(AccelerationCurveSegment{seg.maxPointerSpeedMmPerS, in createAccelerationCurveForPointerSensitivity()
141 void CurvedVelocityControl::setCurve(const std::vector<AccelerationCurveSegment>& curve) { in setCurve()164 const AccelerationCurveSegment& seg = segmentForSpeed(speedMmPerS); in scaleDeltas()188 const AccelerationCurveSegment& CurvedVelocityControl::segmentForSpeed(float speedMmPerS) { in segmentForSpeed()189 for (const AccelerationCurveSegment& seg : mCurveSegments) { in segmentForSpeed()
30 struct AccelerationCurveSegment { struct46 std::vector<AccelerationCurveSegment> createAccelerationCurveForPointerSensitivity( argument
139 void setCurve(const std::vector<AccelerationCurveSegment>& curve);147 const AccelerationCurveSegment& segmentForSpeed(float speedMmPerS);150 std::vector<AccelerationCurveSegment> mCurveSegments;
62 std::vector<AccelerationCurveSegment> segments = in createAccelerationCurveForSensitivity()89 for (AccelerationCurveSegment seg : segments) { in createAccelerationCurveForSensitivity()