Searched refs:sin_angle (Results 1 – 1 of 1) sorted by relevance
644 const double sin_angle = sin(angle/M_PI); in _hwSensors_setCoarseOrientation() local648 _hwSensors_setSensorValue( h, ANDROID_SENSOR_ACCELERATION, 0., g*cos_angle, g*sin_angle ); in _hwSensors_setCoarseOrientation()652 _hwSensors_setSensorValue( h, ANDROID_SENSOR_ACCELERATION, g*cos_angle, 0., g*sin_angle ); in _hwSensors_setCoarseOrientation()