Home
last modified time | relevance | path

Searched refs:rawAxisInfo (Results 1 – 4 of 4) sorted by relevance

/frameworks/native/services/inputflinger/reader/mapper/
DJoystickInputMapper.cpp101 rawAxis, axis.rawAxisInfo.minValue, axis.rawAxisInfo.maxValue, in dump()
102 axis.rawAxisInfo.flat, axis.rawAxisInfo.fuzz, in dump()
103 axis.rawAxisInfo.resolution); in dump()
120 RawAbsoluteAxisInfo rawAxisInfo; in reconfigure() local
121 getAbsoluteAxisInfo(abs, &rawAxisInfo); in reconfigure()
122 if (rawAxisInfo.valid) { in reconfigure()
132 mAxes.insert({abs, createAxis(axisInfo, rawAxisInfo, explicitlyMapped)}); in reconfigure()
173 const RawAbsoluteAxisInfo& rawAxisInfo, in createAxis() argument
176 int32_t rawFlat = axisInfo.flatOverride < 0 ? rawAxisInfo.flat : axisInfo.flatOverride; in createAxis()
185 scale = 1.0f / (axisInfo.splitValue - rawAxisInfo.minValue); in createAxis()
[all …]
DSensorInputMapper.cpp112 axis.rawAxisInfo.minValue, axis.rawAxisInfo.maxValue, in dump()
113 axis.rawAxisInfo.flat, axis.rawAxisInfo.fuzz, in dump()
114 axis.rawAxisInfo.resolution); in dump()
136 RawAbsoluteAxisInfo rawAxisInfo; in reconfigure() local
137 getAbsoluteAxisInfo(abs, &rawAxisInfo); in reconfigure()
138 if (rawAxisInfo.valid) { in reconfigure()
149 const Axis& axis = createAxis(axisInfo, rawAxisInfo); in reconfigure()
161 const RawAbsoluteAxisInfo& rawAxisInfo) { in createAxis() argument
163 int32_t rawFlat = axisInfo.flatOverride < 0 ? rawAxisInfo.flat : axisInfo.flatOverride; in createAxis()
170 scale = 1.0f / rawAxisInfo.resolution; in createAxis()
[all …]
DJoystickInputMapper.h42 explicit Axis(const RawAbsoluteAxisInfo& rawAxisInfo, const AxisInfo& axisInfo, in Axis()
46 : rawAxisInfo(rawAxisInfo), in Axis()
62 RawAbsoluteAxisInfo rawAxisInfo; member
95 static Axis createAxis(const AxisInfo& AxisInfo, const RawAbsoluteAxisInfo& rawAxisInfo,
DSensorInputMapper.h51 explicit Axis(const RawAbsoluteAxisInfo& rawAxisInfo, const AxisInfo& axisInfo, float scale, in Axis()
54 : rawAxisInfo(rawAxisInfo), in Axis()
67 RawAbsoluteAxisInfo rawAxisInfo; member
114 static Axis createAxis(const AxisInfo& AxisInfo, const RawAbsoluteAxisInfo& rawAxisInfo);