Home
last modified time | relevance | path

Searched refs:rotateAngle (Results 1 – 23 of 23) sorted by relevance

/ohos5.0/docs/zh-cn/application-dev/form/
H A Darkts-ui-widget-page-animation.md28 @State rotateAngle: number = 0;
37 this.rotateAngle = (this.rotateAngle === 0 ? 90 : 0);
39 .rotate({ angle: this.rotateAngle })
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_5.0.0.52/
H A Dchangelogs-arkui.md277 @State rotateAngle: number = 0
289 .rotate({ x: 0, y: 0, z: 1, angle: this.rotateAngle })
305 this.rotateAngle = 90
319 @State rotateAngle: number = 0
331 .rotate({ x: 0, y: 0, z: 1, angle: this.rotateAngle })
342 this.rotateAngle = 90
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-ts/
H A Dts-basic-gestures-swipegesture.md58 @State rotateAngle: number = 0
65 Text("SwipeGesture angle\n" + this.rotateAngle)
71 .rotate({ angle: this.rotateAngle })
78 this.rotateAngle = event.angle
H A Dts-animatorproperty.md26 @State rotateAngle: number = 0;
67 @State rotateAngle: number = 0
94 this.rotateAngle = 90
97 .rotate({ angle: this.rotateAngle })
H A Dts-explicit-animation.md97 @State rotateAngle: number = 0
132 .rotate({ x: 0, y: 0, z: 1, angle: this.rotateAngle })
148 this.rotateAngle = 90
154 // this.rotateAngle之前为90,在duration为0的动画中修改属性,可以停止该属性之前的动画,按新设置的属性显示
155 this.rotateAngle = 0
/ohos5.0/docs/en/application-dev/form/
H A Darkts-ui-widget-page-animation.md29 @State rotateAngle: number = 0;
38 this.rotateAngle = (this.rotateAngle === 0 ? 90 : 0);
40 .rotate({ angle: this.rotateAngle })
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/list/
H A Drender_list_item_group.cpp75 double rotateAngle = 0.0; in GetRotateAngle() local
77 rotateAngle = expand_ ? ROTATE_ANGLE : 0.0; in GetRotateAngle()
79 rotateAngle = expand_ ? 0.0 : ROTATE_ANGLE; in GetRotateAngle()
81 rotateAngle = expand_ ? ROTATE_ROW_REVERSE_ANGLE : ROTATE_ROW_ANGLE; in GetRotateAngle()
85 return rotateAngle; in GetRotateAngle()
140 double rotateAngle = GetRotateAngle(expand_); in AddArrowImage() local
141 arrowImage_->SetRotate(rotateAngle); in AddArrowImage()
530 double rotateAngle = GetRotateAngle(expand_); in InitialImage() local
536 arrowImage_->SetRotate(rotateAngle); in InitialImage()
612 double rotateAngle = expand_ ? angle : ROTATE_ANGLE - angle; in RotateArrow() local
[all …]
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-ts/
H A Dts-basic-gestures-swipegesture.md58 @State rotateAngle: number = 0
65 Text("SwipeGesture angle\n" + this.rotateAngle)
71 .rotate({ angle: this.rotateAngle })
78 this.rotateAngle = event.angle
H A Dts-animatorproperty.md30 @State rotateAngle: number = 0
57 this.rotateAngle = 90
60 .rotate({ angle: this.rotateAngle })
H A Dts-explicit-animation.md79 @State rotateAngle: number = 0
112 .rotate({ x: 0, y: 0, z: 1, angle: this.rotateAngle })
129 this.rotateAngle = 90
/ohos5.0/foundation/arkui/ui_lite/frameworks/draw/
H A Ddraw_label.cpp182 float rotateAngle; in DrawArcText() local
195 posX, posY, rotateAngle, angle, in DrawArcText()
202 static_cast<int16_t>(rotateAngle), style.textColor_, opaScale, arcTextInfo.startAngle, in DrawArcText()
219 float& rotateAngle, in CalculateAngle() argument
237rotateAngle = (orientation == TextOrientation::INSIDE) ? angle : (angle - SEMICIRCLE_IN_DEGREE); in CalculateAngle()
241 rotateAngle += (xorFlag ? -fineTuningAngle : fineTuningAngle); in CalculateAngle()
251rotateAngle = xorFlag ? (angle - SEMICIRCLE_IN_DEGREE - fineTuningAngle) : (angle + fineTuningAngl… in CalculateAngle()
289 transMap.Rotate(letterInfo.rotateAngle, Vector2<float>(posX, posY)); in DrawLetterWithRotate()
H A Ddraw_label.h44 float& rotateAngle,
/ohos5.0/docs/zh-cn/application-dev/ui/
H A Darkts-gesture-events-single-gesture.md357 @State rotateAngle: number = 0;
364 Text("SwipeGesture angle\n" + this.rotateAngle)
371 .rotate({ angle: this.rotateAngle })
379 this.rotateAngle = event.angle;
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/clock/
H A Drosen_render_clock.cpp86 const RefPtr<RenderImage>& renderHand, double rotateAngle) in LayoutHand() argument
88 renderHand->SetRotate(rotateAngle); in LayoutHand()
H A Drosen_render_clock.h45 … void LayoutHand(const Offset& offset, const RefPtr<RenderImage>& renderHand, double rotateAngle);
/ohos5.0/foundation/arkui/ace_engine/interfaces/napi/kits/componentutils/
H A Djs_component_utils.cpp82 napi_value rotateAngle = nullptr; in JSGetRectangleById() local
133 napi_create_double(env, rectangle.rotate.angle, &rotateAngle); in JSGetRectangleById()
197 napi_set_named_property(env, rotate, "angle", rotateAngle); in JSGetRectangleById()
/ohos5.0/foundation/arkui/ui_lite/frameworks/common/
H A Dtyped_text.cpp130 float rotateAngle = in GetArcTextRect() local
134 rotateAngle += (xorFlag ? -fineTuningAngle : fineTuningAngle); in GetArcTextRect()
136 transform.Rotate(MATH_ROUND(rotateAngle), Vector2<float>(0, 0)); in GetArcTextRect()
/ohos5.0/docs/en/application-dev/ui/
H A Darkts-gesture-events-single-gesture.md357 @State rotateAngle: number = 0;
364 Text("SwipeGesture angle\n" + this.rotateAngle)
371 .rotate({ angle: this.rotateAngle })
379 this.rotateAngle = event.angle;
/ohos5.0/foundation/arkui/ui_lite/interfaces/kits/common/
H A Dtext.h116 rotateAngle = inRotateAngle; in InitData()
132 int16_t rotateAngle; member
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/progress/
H A Dprogress_modifier.cpp1260 float rotateAngle = -ANGLE_90 + startSweepAngle; in PaintRingSweeping() local
1261 canvas.Rotate(rotateAngle, centerPt.GetX(), centerPt.GetY()); in PaintRingSweeping()
1309 float rotateAngle = 0.0f; in PaintTrailing() local
1311 rotateAngle = -ANGLE_360 + head - tail + additionalAngle * FLOAT_TWO_ZERO; in PaintTrailing()
1313 head += (additionalAngle + rotateAngle); in PaintTrailing()
1314 tail += (additionalAngle + rotateAngle); in PaintTrailing()
1345 canvas.Rotate(-ANGLE_90 - rotateAngle - additionalAngle, centerPt.GetX(), centerPt.GetY()); in PaintTrailing()
/ohos5.0/base/msdp/device_status/services/interaction/drag/src/
H A Ddrag_drawing.cpp1888 float rotateAngle = (rotation == Rosen::Rotation::ROTATION_0) ? ROTATION_0 : in RotateDragWindow() local
1890 FI_HILOGI("rotateAngle:%{public}f, isAnimated:%{public}d", rotateAngle, isAnimated); in RotateDragWindow()
1891 return DoRotateDragWindow(rotateAngle, rsTransaction, isAnimated); in RotateDragWindow()
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/
H A Djs-apis-arkui-UIContext.md218 @State rotateAngle: number = 0
260 .rotate({ x: 0, y: 0, z: 1, angle: this.rotateAngle })
275 this.rotateAngle = 90
280 // this.rotateAngle之前为90,在duration为0的动画中修改属性,可以停止该属性之前的动画,按新设置的属性显示
281 this.rotateAngle = 0
/ohos5.0/docs/en/application-dev/reference/apis-arkui/
H A Djs-apis-arkui-UIContext.md218 @State rotateAngle: number = 0
260 .rotate({ x: 0, y: 0, z: 1, angle: this.rotateAngle })
275 this.rotateAngle = 90
280 …// The value of this.rotateAngle is 90 before the animation. In an animation with a duration of 0,…
281 this.rotateAngle = 0