/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing_ndk/cpp/dm/ |
H A D | path_interior.cpp | 78 const float rad = rect.Width() / 8; // 8 用于计算矩形的内边距 in draw_sence() local 93 OH_Drawing_RoundRect* rr = OH_Drawing_RoundRectCreate(r, rad, rad); in draw_sence() 104 rr = OH_Drawing_RoundRectCreate(r, rad, rad); in draw_sence()
|
H A D | dashing.cpp | 135 float rad = -M_PI_2; in make_path_star() local 142 rad += drad; in make_path_star() 143 OH_Drawing_PathLineTo(path, cos(rad), sin(rad)); in make_path_star() 144 DrawPathGetBound(r, cos(rad), sin(rad)); in make_path_star()
|
H A D | add_arc.cpp | 76 const float rad = (deg) * (FLOAT_PI / 180); in OnTestFunction() local 77 float rx = cosf(rad) * R; in OnTestFunction() 78 float ry = sinf(rad) * R; in OnTestFunction()
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-ts/ |
H A D | ts-universal-attributes-gradient-color.md | 29 …gle: 线性渐变的起始角度。0点方向顺时针旋转为正向角度。<br/> 默认值:180<br/>角度为字符串时仅支持类型deg,grad,rad,trun。<br/>- directi… 47 …rad,trun。<br/>- end:角度渐变的终点。<br/> 默认值:0<br/>角度为字符串时仅支持类型deg,grad,rad,trun。<br/>- rotation:&nb…
|
H A D | ts-universal-attributes-background.md | 523 @State rad: number = 40; 579 radius: this.rad,
|
/ohos5.0/docs/zh-cn/application-dev/device/sensor/ |
H A D | sensor-overview.md | 14 … | 陀螺仪传感器 | 测量三个物理轴(x、y 和 z)上,设备的旋转角速度,单位 : rad/s。 | 测量旋转的角速度。 … 15 … | 未校准陀螺仪传感器 | 测量三个物理轴(x、y 和 z)上,设备的未校准旋转角速度,单位 : rad/s。 | 测量旋转的角速度及偏差估值。… 24 | ORIENTATION | 方向传感器 | 测量设备围绕所有三个物理轴(z、x、y)旋转的角度值,单位:rad。 | 用于测量屏幕旋转的3个角度值…
|
H A D | sensor-overview-as.md | 11 … | 陀螺仪传感器 | 测量三个物理轴(x、y 和 z)上,设备的旋转角速度,单位 : rad/s。 | 测量旋转的角速度。 … 12 | ORIENTATION | 方向传感器 | 测量设备围绕三个物理轴(z、x 和 y)旋转的角度值,单位:rad。 | 用于测量…
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-js/ |
H A D | js-components-common-animation.md | 43 | rotate | <deg> \| <rad> \| <grad><sup>6+<… 44 | rotate3d<sup>6+</sup> | <deg> \| <rad> \| <grad> \|… 45 | rotateX | <deg> \| <rad> \| <grad><sup>6+<… 46 | rotateY | <deg> \| <rad> \| <grad><sup>6+<… 47 | rotateZ<sup>6+</sup> | <deg> \| <rad> \| <grad> \|… 48 | skew<sup>6+</sup> | <deg> \| <rad> \| <grad> \|… 49 | skewX<sup>6+</sup> | <deg> \| <rad> \| <grad> \|… 50 | skewY<sup>6+</sup> | <deg> \| <rad> \| <grad> \|…
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/animation/ |
H A D | rs_spring_model.h | 83 double rad = dampedAngularVelocity_ * time; in CalculateDisplacement() local 84 RSAnimatableType coeffPeriod = initialOffset_ * cos(rad) + coeffScale_ * sin(rad); in CalculateDisplacement()
|
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-ts/ |
H A D | ts-universal-attributes-gradient-color.md | 25 …> Default value: **180**<br>If **angle** is a string, only the deg, grad, rad, and turn types are… 43 …rad, and turn types are supported.<br>- **end**: end angle of the sweep gradient.<br> Default valu…
|
H A D | ts-universal-attributes-background.md | 512 @State rad: number = 40; 568 radius: this.rad,
|
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-js/ |
H A D | js-components-common-animation.md | 41 | rotate | \<deg> \| \<rad> \| \<grad><sup>6+</sup> \| \<turn><sup>6+</sup> | Rotates an ele… 42 | rotate3d<sup>6+</sup> | \<deg> \| \<rad> \| \<grad> \| \<turn> | Rotates an element in 3D spac… 43 | rotateX | \<deg> \| \<rad> \| \<grad><sup>6+</sup> \| \<turn><sup>6+</sup> | Rotates an ele… 44 | rotateY | \<deg> \| \<rad> \| \<grad><sup>6+</sup> \| \<turn><sup>6+</sup> | Rotates an ele… 45 | rotateZ<sup>6+</sup> | \<deg> \| \<rad> \| \<grad> \| \<turn> | Rotates an element around the… 46 | skew<sup>6+</sup> | \<deg> \| \<rad> \| \<grad> \| \<turn> | Skews an element in 2D space.… 47 | skewX<sup>6+</sup> | \<deg> \| \<rad> \| \<grad> \| \<turn> | Skews an element along the x-… 48 | skewY<sup>6+</sup> | \<deg> \| \<rad> \| \<grad> \| \<turn> | Skews an element along the y-…
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/animation/ |
H A D | rs_spring_model.cpp | 137 double rad = dampedAngularVelocity_ * time; in CalculateDisplacement() local 138 auto coeffPeriod = (initialOffset_ * cos(rad)) += (coeffScale_ * sin(rad)); in CalculateDisplacement()
|
/ohos5.0/docs/en/application-dev/device/sensor/ |
H A D | sensor-overview-as.md | 11 … velocity of a device on three physical axes (X, Y, and Z), in the unit of rad/s.| Measuring the r… 12 …entation angle of the screen around three physical axes (z, x , and y), in rad.| Measuring the thr…
|
H A D | sensor-overview.md | 14 … velocity of a device on three physical axes (X, Y, and Z), in the unit of rad/s.| Measuring the r… 15 … velocity of a device on three physical axes (X, Y, and Z), in the unit of rad/s.| Measuring the b… 24 …on angles of a device on three physical axes (Z, X, and Y), in the unit of rad.| Measuring the thr…
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-js-lite/ |
H A D | js-lite-components-common-animation.md | 24 | rotate | <deg> \| <rad> | 旋转动画属性 |
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/loading_progress/ |
H A D | loading_progress_modifier.cpp | 230 float rad = cometAngal * PI_NUM / (TOTAL_ANGLE * HALF); in DrawOrbit() local 231 point.SetX(std::cos(rad) * orbitRadius); in DrawOrbit() 232 point.SetY(-std::sin(rad) * orbitRadius); in DrawOrbit()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/canvas/ |
H A D | custom_paint_paint_method.cpp | 1578 float rad = 0.0f; in SetHueRotateFilter() local 1582 rad = StringUtils::StringToFloat(percent); in SetHueRotateFilter() 1583 rad = rad / HALF_CIRCLE_ANGLE * M_PI; in SetHueRotateFilter() 1586 rad = StringUtils::StringToFloat(percent); in SetHueRotateFilter() 1587 rad = rad * 2 * M_PI; in SetHueRotateFilter() 1590 rad = StringUtils::StringToFloat(percent); in SetHueRotateFilter() 1593 float cosValue = std::cos(rad); in SetHueRotateFilter() 1594 float sinValue = std::sin(rad); in SetHueRotateFilter()
|
/ohos5.0/docs/zh-cn/application-dev/ui/ |
H A D | napi-xcomponent-guidelines.md | 920 GLfloat rad = M_PI / 180 * 72; 924 rotate2d(centerX, centerY, &rotateX, &rotateY,rad); 925 rotate2d(centerX, centerY, &leftX, &leftY,rad); 926 rotate2d(centerX, centerY, &rightX, &rightY,rad); 999 GLfloat rad = M_PI / 180 * 72; 1003 rotate2d(centerX, centerY, &rotateX, &rotateY,rad); 1004 rotate2d(centerX, centerY, &leftX, &leftY,rad); 1005 rotate2d(centerX, centerY, &rightX, &rightY,rad);
|
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-js-lite/ |
H A D | js-lite-components-common-animation.md | 24 | rotate | <deg> \| <rad> | Rotates an element. |
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/base/geometry/ng/ |
H A D | rect_t.h | 558 inline RoundRect::RoundRect(const RectF& r, const RadiusF& rad) noexcept : RoundRect() in RoundRect() argument 561 radius_ = rad; in RoundRect()
|
/ohos5.0/docs/en/application-dev/ui/ |
H A D | napi-xcomponent-guidelines.md | 920 GLfloat rad = M_PI / 180 * 72; 924 rotate2d(centerX, centerY, &rotateX, &rotateY,rad); 925 rotate2d(centerX, centerY, &leftX, &leftY,rad); 926 rotate2d(centerX, centerY, &rightX, &rightY,rad); 999 GLfloat rad = M_PI / 180 * 72; 1003 rotate2d(centerX, centerY, &rotateX, &rotateY,rad); 1004 rotate2d(centerX, centerY, &leftX, &leftY,rad); 1005 rotate2d(centerX, centerY, &rightX, &rightY,rad);
|
/ohos5.0/docs/en/application-dev/reference/apis-sensor-service-kit/ |
H A D | oh_sensor_type_8h.md | 59 …city of rotation around the x, y, and z axes of a device, respectively, in rad/s.<br>- SENSOR_TYPE…
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/rosen/ |
H A D | drawing_decoration_painter.cpp | 277 static float Rad2deg(float rad) in Rad2deg() argument 279 return static_cast<float>(rad * 180.0 / M_PI); in Rad2deg()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/ |
H A D | skia_decoration_painter.cpp | 304 static float Rad2deg(float rad) in Rad2deg() argument 306 return static_cast<float>(rad * STRAIGHT_ANGLE_D / M_PI); in Rad2deg()
|