Searched refs:M_PI (Results 1 – 13 of 13) sorted by relevance
/device/linaro/hikey/sensorhal/ |
D | sensorlist_argonkey.cpp | 187 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
|
D | sensorlist_neonkey.cpp | 185 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/ |
D | sensorlist.cpp | 168 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/ |
D | Scene.cpp | 343 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/ |
D | Scene.cpp | 373 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/ |
D | math.h | 431 #define M_PI 3.14159265358979323846 /**< pi */ macro
|
/device/google/cuttlefish_common/host/frontend/vnc_server/ |
D | vnc_client_connection.cpp | 485 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/ |
D | st_mag40.c | 526 (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/ |
D | window_orientation.c | 61 #define RADIANS_TO_DEGREES (180.0f / M_PI)
|
/device/google/contexthub/sensorhal/ |
D | hubconnection.cpp | 789 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/ |
D | orientation.c | 58 #define kRad2deg (180.0f / M_PI)
|
/device/google/contexthub/firmware/os/drivers/bosch_bmi160/ |
D | bosch_bmi160.c | 3228 (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/ |
D | st_lsm6dsm.c | 3733 (int)(d->declination * 180 / M_PI + 0.5f), in lsm6dsm_magnCfgData() 3734 (int)(d->inclination * 180 / M_PI + 0.5f)); in lsm6dsm_magnCfgData()
|