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.h95 int64_t maxRaw; member
131 if (s < minRaw || s > maxRaw) { in decode()
143 if (input < minRaw || input > maxRaw) { in encode()
DHidParser.cpp253 .maxRaw = logical.second, in convertGroupToPacket()
298 report.decode(report.mask(report.maxRaw), &max); in operator <<()
304 << ", min: " << report.minRaw << ", max: " << report.maxRaw in operator <<()
310 << ", maxRawHex: 0x" << report.mask(report.maxRaw) in operator <<()
/hardware/libhardware/modules/sensors/dynamic_sensor/
DHidRawSensor.cpp118 if (pReportAccuracy->minRaw != 0 || pReportAccuracy->maxRaw != 2) { in HidRawSensor()
168 if (digest.minRaw >= digest.maxRaw) { in HidRawSensor()
183 .maxValue = digest.maxRaw, in HidRawSensor()
191 range = std::max(std::max(std::abs((digest.maxRaw + digest.b) * digest.a), in HidRawSensor()
243 quat.decode(quat.mask(quat.maxRaw), &max); in processQuaternionUsage()
249 if (quat.minRaw > quat.maxRaw) { in processQuaternionUsage()
256 .maxValue = quat.maxRaw, in processQuaternionUsage()
315 if (reportX.minRaw >= reportX.maxRaw in processTriAxisUsage()
317 || reportX.maxRaw != reportY.maxRaw in processTriAxisUsage()
319 || reportY.maxRaw != reportZ.maxRaw) { in processTriAxisUsage()
[all …]