Home
last modified time | relevance | path

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

/ohos5.0/base/sensors/sensor/vibration_convert/core/native/src/
H A Dvibration_convert_core.cpp1128 … double slope1 = (continuousEvents[begIdx].intensity - continuousEvents[begIdx - 1].intensity); in CombinateContinuousEvents() local
1130 if ((slope1 * slope2) > 0) { in CombinateContinuousEvents()
1137 … double slope1 = (continuousEvents[begIdx].intensity - continuousEvents[begIdx - 1].intensity) / in CombinateContinuousEvents() local
1141 if (((slope1 * slope2) > 0) && (std::abs(slope2 - slope1) < slopDelta)) { in CombinateContinuousEvents()