Home
last modified time | relevance | path

Searched refs:maxRaw (Results 1 – 3 of 3) sorted by relevance

/hardware/libhardware/modules/sensors/dynamic_sensor/HidUtils/
DHidParser.h94 int64_t maxRaw; member
130 if (s < minRaw || s > maxRaw) { in decode()
142 if (input < minRaw || input > maxRaw) { in encode()
DHidParser.cpp252 .maxRaw = logical.second, in convertGroupToPacket()
297 report.decode(report.mask(report.maxRaw), &max); in operator <<()
303 << ", min: " << report.minRaw << ", max: " << report.maxRaw in operator <<()
309 << ", maxRawHex: 0x" << report.mask(report.maxRaw) in operator <<()
/hardware/libhardware/modules/sensors/dynamic_sensor/
DHidRawSensor.cpp116 if (pReportAccuracy->minRaw != 0 || pReportAccuracy->maxRaw != 2) { in HidRawSensor()
166 if (digest.minRaw >= digest.maxRaw) { in HidRawSensor()
181 .maxValue = digest.maxRaw, in HidRawSensor()
189 range = std::max(std::max(std::abs((digest.maxRaw + digest.b) * digest.a), in HidRawSensor()
241 quat.decode(quat.mask(quat.maxRaw), &max); in processQuaternionUsage()
247 if (quat.minRaw > quat.maxRaw) { in processQuaternionUsage()
254 .maxValue = quat.maxRaw, in processQuaternionUsage()
313 if (reportX.minRaw >= reportX.maxRaw in processTriAxisUsage()
315 || reportX.maxRaw != reportY.maxRaw in processTriAxisUsage()
317 || reportY.maxRaw != reportZ.maxRaw) { in processTriAxisUsage()
[all …]