Home
last modified time | relevance | path

Searched refs:AccelerationCurveSegment (Results 1 – 5 of 5) sorted by relevance

/frameworks/native/libs/input/
DAccelerationCurve.cpp31 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()
DVelocityControl.cpp141 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()
/frameworks/native/include/input/
DAccelerationCurve.h30 struct AccelerationCurveSegment { struct
46 std::vector<AccelerationCurveSegment> createAccelerationCurveForPointerSensitivity( argument
DVelocityControl.h139 void setCurve(const std::vector<AccelerationCurveSegment>& curve);
147 const AccelerationCurveSegment& segmentForSpeed(float speedMmPerS);
150 std::vector<AccelerationCurveSegment> mCurveSegments;
/frameworks/native/services/inputflinger/reader/mapper/
DTouchpadInputMapper.cpp62 std::vector<AccelerationCurveSegment> segments = in createAccelerationCurveForSensitivity()
89 for (AccelerationCurveSegment seg : segments) { in createAccelerationCurveForSensitivity()