Home
last modified time | relevance | path

Searched refs:angle (Results 1 - 3 of 3) sorted by relevance

/base/sensors/sensor/test/unittest/interfaces/inner_api/
H A Dposture_test.cpp88 float angle = postureData->angle; in PostureDataCallbackImpl() local
89 if ((angle < ANGLE_MIN && std::fabs(angle - ANGLE_MIN) > std::numeric_limits<float>::epsilon()) in PostureDataCallbackImpl()
90 || (angle > ANGLE_MAX && std::fabs(angle - ANGLE_MAX) > std::numeric_limits<float>::epsilon())) { in PostureDataCallbackImpl()
91 SEN_HILOGE("Invalid posture angle, angle:%{public}f", angle); in PostureDataCallbackImpl()
95 "gym:%{public}f, gzm:%{public}f, gxs:%{public}f, gys:%{public}f, gzs:%{public}f, angle in PostureDataCallbackImpl()
115 float angle = postureData->angle; PostureDataCallbackImpl2() local
[all...]
/base/security/security_component_manager/frameworks/common/src/
H A Dsec_comp_tool.cpp107 double angle = THIRTY_ANGLE; in HsvDistance() local
108 double h = rDef * cos(angle / ONE_HUNDRED_EIGHTY_ANGLE * PI_CIRCLE); in HsvDistance()
109 double r = rDef * sin(angle / ONE_HUNDRED_EIGHTY_ANGLE * PI_CIRCLE); in HsvDistance()
/base/sensors/sensor/interfaces/inner_api/
H A Dsensor_agent_type.h363 * This sensor measures the angle of rotation of the device around all three physical axes (z, x, y), in rad.
366 float alpha = 0.0; /**< The device rotates at an angle around the Z axis. */
367 float beta = 0.0; /**< The device rotates at an angle around the X axis. */
368 float gamma = 0.0; /**< The device rotates at an angle around the Y axis. */
481 * This sensor measures the angle between two screens, in degrees. The angle ranges from 0 to 180.
490 float angle = 0.0; /**< The angle between two screens. The angle ranges from 0 to 180 degrees. */ member

Completed in 3 milliseconds