Home
last modified time | relevance | path

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

/device/linaro/hikey/sensorhal/
Dsensorlist_argonkey.cpp187 2000.0f * M_PI / 180.0f, // maxRange
188 0.07f * M_PI / 180.0f, // resolution
205 2000.0f * M_PI / 180.0f, // maxRange
206 0.07f * M_PI / 180.0f, // resolution
Dsensorlist_neonkey.cpp185 1000.0f * M_PI / 180.0f, // maxRange
186 1000.0f * M_PI / (180.0f * 32768.0f), // resolution
203 1000.0f * M_PI / 180.0f, // maxRange
204 1000.0f * M_PI / (180.0f * 32768.0f), // resolution
/device/google/marlin/sensorhal/
Dsensorlist.cpp168 1000.0f * M_PI / 180.0f, // maxRange
169 1000.0f * M_PI / (180.0f * 32768.0f), // resolution
186 1000.0f * M_PI / 180.0f, // maxRange
187 1000.0f * M_PI / (180.0f * 32768.0f), // resolution
/device/google/cuttlefish_common/guest/hals/camera/fake-pipeline2/
DScene.cpp343 const float Scene::kHorizShakeFreq1 = 2 * M_PI * 2 / 1e9; // 2 Hz
344 const float Scene::kHorizShakeFreq2 = 2 * M_PI * 13 / 1e9; // 13 Hz
345 const float Scene::kVertShakeFreq1 = 2 * M_PI * 3 / 1e9; // 3 Hz
346 const float Scene::kVertShakeFreq2 = 2 * M_PI * 11 / 1e9; // 1 Hz
/device/generic/goldfish/camera/fake-pipeline2/
DScene.cpp373 const float Scene::kHorizShakeFreq1 = 2 * M_PI * 2 / 1e9; // 2 Hz
374 const float Scene::kHorizShakeFreq2 = 2 * M_PI * 13 / 1e9; // 13 Hz
375 const float Scene::kVertShakeFreq1 = 2 * M_PI * 3 / 1e9; // 3 Hz
376 const float Scene::kVertShakeFreq2 = 2 * M_PI * 11 / 1e9; // 1 Hz
/device/linaro/bootloader/edk2/StdLib/Include/
Dmath.h431 #define M_PI 3.14159265358979323846 /**< pi */ macro
/device/google/cuttlefish_common/host/frontend/vnc_server/
Dvnc_client_connection.cpp485 const float cos_angle = std::cos(angle / M_PI); in CoordinatesForOrientation()
486 const float sin_angle = std::sin(angle / M_PI); in CoordinatesForOrientation()
/device/google/contexthub/firmware/os/drivers/st_mag40/
Dst_mag40.c526 (int)(d->declination * 180 / M_PI + 0.5f), in magCfgData()
527 (int)(d->inclination * 180 / M_PI + 0.5f)); in magCfgData()
/device/google/contexthub/firmware/os/drivers/window_orientation/
Dwindow_orientation.c61 #define RADIANS_TO_DEGREES (180.0f / M_PI)
/device/google/contexthub/sensorhal/
Dhubconnection.cpp789 static const float heading_accuracy = M_PI / 6.0f; in processSample()
1763 info.data_float[1] * 180 / M_PI, in setOperationParameter()
1764 info.data_float[2] * 180 / M_PI); in setOperationParameter()
/device/google/contexthub/firmware/os/drivers/orientation/
Dorientation.c58 #define kRad2deg (180.0f / M_PI)
/device/google/contexthub/firmware/os/drivers/bosch_bmi160/
Dbosch_bmi160.c3228 (int)(d->declination * 180 / M_PI + 0.5f),
3229 (int)(d->inclination * 180 / M_PI + 0.5f));
/device/google/contexthub/firmware/os/drivers/st_lsm6dsm/
Dst_lsm6dsm.c3733 (int)(d->declination * 180 / M_PI + 0.5f), in lsm6dsm_magnCfgData()
3734 (int)(d->inclination * 180 / M_PI + 0.5f)); in lsm6dsm_magnCfgData()