Searched refs:rawAxisInfo (Results 1 – 4 of 4) sorted by relevance
/frameworks/native/services/inputflinger/reader/mapper/ |
D | JoystickInputMapper.cpp | 101 rawAxis, axis.rawAxisInfo.minValue, axis.rawAxisInfo.maxValue, in dump() 102 axis.rawAxisInfo.flat, axis.rawAxisInfo.fuzz, in dump() 103 axis.rawAxisInfo.resolution); in dump() 119 RawAbsoluteAxisInfo rawAxisInfo; in configure() local 120 getAbsoluteAxisInfo(abs, &rawAxisInfo); in configure() 121 if (rawAxisInfo.valid) { in configure() 131 mAxes.insert({abs, createAxis(axisInfo, rawAxisInfo, explicitlyMapped)}); in configure() 171 const RawAbsoluteAxisInfo& rawAxisInfo, in createAxis() argument 174 int32_t rawFlat = axisInfo.flatOverride < 0 ? rawAxisInfo.flat : axisInfo.flatOverride; in createAxis() 183 scale = 1.0f / (axisInfo.splitValue - rawAxisInfo.minValue); in createAxis() [all …]
|
D | SensorInputMapper.cpp | 116 axis.rawAxisInfo.minValue, axis.rawAxisInfo.maxValue, in dump() 117 axis.rawAxisInfo.flat, axis.rawAxisInfo.fuzz, in dump() 118 axis.rawAxisInfo.resolution); in dump() 139 RawAbsoluteAxisInfo rawAxisInfo; in configure() local 140 getAbsoluteAxisInfo(abs, &rawAxisInfo); in configure() 141 if (rawAxisInfo.valid) { in configure() 152 const Axis& axis = createAxis(axisInfo, rawAxisInfo); in configure() 163 const RawAbsoluteAxisInfo& rawAxisInfo) { in createAxis() argument 165 int32_t rawFlat = axisInfo.flatOverride < 0 ? rawAxisInfo.flat : axisInfo.flatOverride; in createAxis() 172 scale = 1.0f / rawAxisInfo.resolution; in createAxis() [all …]
|
D | JoystickInputMapper.h | 39 explicit Axis(const RawAbsoluteAxisInfo& rawAxisInfo, const AxisInfo& axisInfo, in Axis() 43 : rawAxisInfo(rawAxisInfo), in Axis() 59 RawAbsoluteAxisInfo rawAxisInfo; member 89 static Axis createAxis(const AxisInfo& AxisInfo, const RawAbsoluteAxisInfo& rawAxisInfo,
|
D | SensorInputMapper.h | 44 explicit Axis(const RawAbsoluteAxisInfo& rawAxisInfo, const AxisInfo& axisInfo, float scale, in Axis() 47 : rawAxisInfo(rawAxisInfo), in Axis() 60 RawAbsoluteAxisInfo rawAxisInfo; member 104 static Axis createAxis(const AxisInfo& AxisInfo, const RawAbsoluteAxisInfo& rawAxisInfo);
|