Searched refs:sensorAlgorithm (Results 1 – 2 of 2) sorted by relevance
| /base/sensors/sensor/test/unittest/interfaces/inner_api/ |
| D | sensor_algorithm_test.cpp | 54 SensorAlgorithm sensorAlgorithm; variable 61 int32_t ret = sensorAlgorithm.CreateQuaternion(rotationVector, quaternion); 75 int32_t ret = sensorAlgorithm.CreateQuaternion(rotationVector, quaternion); 84 int32_t ret = sensorAlgorithm.CreateQuaternion(rotationVector, quaternion); 93 int32_t ret = sensorAlgorithm.CreateQuaternion(rotationVector, quaternion); 103 …int32_t ret = sensorAlgorithm.TransformCoordinateSystem(inRotationMatrix, 1, 2, outRotationMatrix); 118 …int32_t ret = sensorAlgorithm.TransformCoordinateSystem(inRotationMatrix, 1, 2, outRotationMatrix); 127 …int32_t ret = sensorAlgorithm.TransformCoordinateSystem(inRotationMatrix, 1, -1, outRotationMatrix… 136 …int32_t ret = sensorAlgorithm.TransformCoordinateSystem(inRotationMatrix, -1, 1, outRotationMatrix… 145 …int32_t ret = sensorAlgorithm.TransformCoordinateSystem(inRotationMatrix, 0, 2, outRotationMatrix); [all …]
|
| /base/sensors/sensor/frameworks/js/napi/src/ |
| D | sensor_js.cpp | 668 SensorAlgorithm sensorAlgorithm; in TransformCoordinateSystem() local 669 …int32_t ret = sensorAlgorithm.TransformCoordinateSystem(inRotationVector, axisX, axisY, outRotatio… in TransformCoordinateSystem() 718 SensorAlgorithm sensorAlgorithm; in GetAngleModify() local 719 int32_t ret = sensorAlgorithm.GetAngleModify(curRotationVector, preRotationVector, angleChange); in GetAngleModify() 759 SensorAlgorithm sensorAlgorithm; in GetDirection() local 760 int32_t ret = sensorAlgorithm.GetDirection(rotationMatrix, rotationAngle); in GetDirection() 800 SensorAlgorithm sensorAlgorithm; in CreateQuaternion() local 801 int32_t ret = sensorAlgorithm.CreateQuaternion(rotationVector, quaternion); in CreateQuaternion() 846 SensorAlgorithm sensorAlgorithm; in GetAltitude() local 847 int32_t ret = sensorAlgorithm.GetAltitude(seaPressure, currentPressure, &altitude); in GetAltitude() [all …]
|