Home
last modified time | relevance | path

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

/hardware/google/pixel/pixelstats/
DDropDetect.cpp148 float impact_magnitude = sqrt(p->impact_accel_x * p->impact_accel_x + in dropEventFromNanoappPayload() local
155 impact_magnitude < min_confidence_magnitude ? 0 : in dropEventFromNanoappPayload()
156 impact_magnitude > max_confidence_magnitude ? 100 : in dropEventFromNanoappPayload()
157 (impact_magnitude - min_confidence_magnitude) / in dropEventFromNanoappPayload()
164 .accelPeak = static_cast<int32_t>(impact_magnitude * 1000), in dropEventFromNanoappPayload()