Home
last modified time | relevance | path

Searched refs:rotate (Results 1 - 25 of 141) sorted by relevance

123456

/foundation/arkui/ace_engine/interfaces/native/node/
H A Dnode_transition.cpp67 if (!effectOption->rotate) { in ConvertToEffectOption()
72 toEffectOption->rotate.x = effectOption->rotate->x; in ConvertToEffectOption()
73 toEffectOption->rotate.y = effectOption->rotate->y; in ConvertToEffectOption()
74 toEffectOption->rotate.z = effectOption->rotate->z; in ConvertToEffectOption()
75 toEffectOption->rotate.angle = effectOption->rotate->angle; in ConvertToEffectOption()
76 toEffectOption->rotate in ConvertToEffectOption()
[all...]
H A Dnode_transition_imp.cpp30 option->rotate = nullptr; in OH_ArkUI_CreateOpacityTransitionEffect()
44 option->rotate = nullptr; in OH_ArkUI_CreateTranslationTransitionEffect()
58 option->rotate = nullptr; in OH_ArkUI_CreateScaleTransitionEffect()
67 ArkUI_TransitionEffect* OH_ArkUI_CreateRotationTransitionEffect(ArkUI_RotationOptions* rotate) in OH_ArkUI_CreateRotationTransitionEffect() argument
69 CHECK_NULL_RETURN(rotate, nullptr); in OH_ArkUI_CreateRotationTransitionEffect()
77 option->rotate = rotate; in OH_ArkUI_CreateRotationTransitionEffect()
89 option->rotate = nullptr; in OH_ArkUI_CreateMovementTransitionEffect()
107 option->rotate = nullptr; in OH_ArkUI_CreateAsymmetricTransitionEffect()
/foundation/arkui/ui_lite/frameworks/dock/
H A Drotate_input_device.cpp40 if (data.rotate == 0 || rotateStart_) { in DispatchEvent()
43 cachedRotation_ += data.rotate; in DispatchEvent()
71 if (data.rotate == 0 && rotateStart_) { in DispatchEvent()
82 view->OnRotateStartEvent(data.rotate); in DispatchEvent()
84 view->OnRotateEvent(data.rotate); in DispatchEvent()
86 GRAPHIC_LOGI("RotateInputDevice dispatched rotate event, targetView Type = %{public}d,\ in DispatchEvent()
87 rotate value = %{public}d\n!", static_cast<uint8_t>(view->GetViewType()), data.rotate); in DispatchEvent()
/foundation/window/window_manager/wmserver/test/unittest/
H A Dinput_window_monitor_test.cpp79 Rotation rotate = Rotation::ROTATION_0; in HWTEST_F() local
80 ASSERT_EQ(MMI::DIRECTION0, input_monitor_->GetDisplayDirectionForMmi(rotate)); in HWTEST_F()
142 Rotation rotate = Rotation::ROTATION_90; in HWTEST_F() local
143 rotate = Rotation::ROTATION_180; in HWTEST_F()
145 rotate = Rotation::ROTATION_270; in HWTEST_F()
147 ASSERT_NE(MMI::DIRECTION0, input_monitor_->GetDisplayDirectionForMmi(rotate)); in HWTEST_F()
/foundation/multimedia/image_effect/frameworks/native/render_environment/core/
H A Drender_opengl_renderer.cpp70 trans = glm::rotate(trans, glm::radians(90.0f), glm::vec3(0.0, 0.0, 1.0)); in ProcessTransform()
74 trans = glm::rotate(trans, glm::radians(90.0f), glm::vec3(0.0, 0.0, 1.0)); in ProcessTransform()
79 trans = glm::rotate(trans, glm::radians(90.0f), glm::vec3(0.0, 0.0, 1.0)); in ProcessTransform()
84 trans = glm::rotate(trans, glm::radians(180.0f), glm::vec3(0.0, 0.0, 1.0)); in ProcessTransform()
88 trans = glm::rotate(trans, glm::radians(180.0f), glm::vec3(0.0, 0.0, 1.0)); in ProcessTransform()
93 trans = glm::rotate(trans, glm::radians(180.0f), glm::vec3(0.0, 0.0, 1.0)); in ProcessTransform()
98 trans = glm::rotate(trans, glm::radians(270.0f), glm::vec3(0.0, 0.0, 1.0)); in ProcessTransform()
102 trans = glm::rotate(trans, glm::radians(270.0f), glm::vec3(0.0, 0.0, 1.0)); in ProcessTransform()
107 trans = glm::rotate(trans, glm::radians(270.0f), glm::vec3(0.0, 0.0, 1.0)); in ProcessTransform()
/foundation/arkui/ace_engine/frameworks/core/components_v2/indexer/
H A Drender_indexer_item.h88 RefPtr<RenderTransform> rotate = AceType::DynamicCast<RenderTransform>(GetChildren().front()); in SetRotate() local
89 if (rotate) { in SetRotate()
91 rotate->ResetTransform(); in SetRotate()
92 rotate->RotateZ(angle); in SetRotate()
H A Dindexer_item_component.cpp56 RefPtr<TransformComponent> rotate = AceType::MakeRefPtr<TransformComponent>(); in BuildItem() local
57 rotate->SetChild(box_); in BuildItem()
58 SetChild(rotate); in BuildItem()
H A Dindexer_item_component.h38 bool rotate = false) in IndexerItemComponent()
39 : strSection_(strSection), strLabel_(strLabel), itemSize_(itemSize), rotate_(rotate) in IndexerItemComponent()
/foundation/arkui/ace_engine/interfaces/napi/kits/componentutils/
H A Djs_component_utils.cpp55 napi_value rotate = nullptr; in JSGetRectangleById() local
106 napi_create_object(env, &rotate); in JSGetRectangleById()
125 napi_create_double(env, rectangle.rotate.x, &rotateX); in JSGetRectangleById()
126 napi_create_double(env, rectangle.rotate.y, &rotateY); in JSGetRectangleById()
127 napi_create_double(env, rectangle.rotate.z, &rotateZ); in JSGetRectangleById()
128 napi_create_double(env, rectangle.rotate.angle, &rotateAngle); in JSGetRectangleById()
129 napi_create_double(env, rectangle.rotate.centerX, &rotateCenterX); in JSGetRectangleById()
130 napi_create_double(env, rectangle.rotate.centerY, &rotateCenterY); in JSGetRectangleById()
188 napi_set_named_property(env, obj, "rotate", rotate); in JSGetRectangleById()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components/declaration/svg/
H A Dsvg_text_declaration.h28 double rotate = 0.0; member
40 void SetRotate(double rotate) in SetRotate() argument
43 attribute.rotate = rotate; in SetRotate()
49 return attribute.rotate; in GetRotate()
H A Dsvg_animate_declaration.h40 std::string rotate; member
194 return attribute.rotate; in GetRotate()
197 void SetRotate(const std::string& rotate) in SetRotate() argument
200 attribute.rotate = rotate; in SetRotate()
/foundation/arkui/ui_lite/interfaces/kits/events/
H A Drotate_event.h55 * @param rotate Indicates the short data representing the number reported by a <b>RotateEvent</b>.
60 RotateEvent(int16_t rotate) : rotate_(static_cast<int16_t>(rotate * ROTATE_SENSITIVITY)) {} // Rotation direction in RotateEvent() argument
/foundation/arkui/ace_engine/frameworks/core/components/indexer/
H A Dindexer_item_component.h38 const std::u16string& strSection, const std::u16string& strLabel, bool circleMode, bool rotate = false) in IndexerItemComponent()
39 : strSection_(strSection), strLabel_(strLabel), circleMode_(circleMode), rotate_(rotate) in IndexerItemComponent()
45 bool circleMode, bool rotate = false) in IndexerItemComponent()
46 : strSection_(strSection), strLabel_(strLabel), itemSize_(itemSize), circleMode_(circleMode), rotate_(rotate) in IndexerItemComponent()
H A Drender_indexer_item.h102 RefPtr<RenderTransform> rotate = AceType::DynamicCast<RenderTransform>(GetChildren().front()); in SetRotate() local
103 if (rotate) { in SetRotate()
105 rotate->ResetTransform(); in SetRotate()
106 rotate->RotateZ(angle); in SetRotate()
H A Dindexer_item_component.cpp60 RefPtr<TransformComponent> rotate = AceType::MakeRefPtr<TransformComponent>(); in BuildItem() local
61 rotate->SetChild(box_); in BuildItem()
62 Component::MergeRSNode(rotate, tail); in BuildItem()
63 SetChild(rotate); in BuildItem()
/foundation/arkui/ace_engine/frameworks/core/components/common/properties/
H A Dmotion_path_evaluator.cpp65 return MotionPathPosition { .offset = startPoint_ * (1.0f - fraction) + endPoint_ * fraction, .rotate = 0.0f }; in Evaluate()
78 return MotionPathPosition { .offset = Offset(), .rotate = 0.0f }; in Evaluate()
111 return position.rotate; in Evaluate()
124 rotation.rotateOperation_ = RotateOperation(0.0f, 0.0f, 1.0f, position.rotate); in Evaluate()
H A Dmotion_path_option.h26 MotionPathOption(const std::string& path = "", float begin = 0.0f, float end = 1.0f, bool rotate = false) in MotionPathOption()
27 : path_(path), begin_(begin), end_(end), rotate_(rotate) in MotionPathOption()
/foundation/arkui/ace_engine/frameworks/core/components/transform/
H A Drosen_render_transform.cpp185 Matrix4 rotate = Matrix4::CreateRotate(angle, 0.0f, 1.0f, 0.0f); in Mirror() local
186 transform_ = rotate * transform_; in Mirror()
248 auto& rotate = transform.rotateOperation_; in OnRSTransition() local
249 effect->Rotate({ rotate.dx, rotate.dy, rotate.dz, rotate.angle }); in OnRSTransition()
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/pixel_map_test/
H A Dpixel_yuv_ext_test.cpp83 pixelYuvExt.rotate(0); in HWTEST_F()
86 pixelYuvExt.rotate(1.0f); in HWTEST_F()
88 pixelYuvExt.rotate(-1.0f); in HWTEST_F()
104 pixelYuvExt.rotate(90.0f); in HWTEST_F()
109 pixelYuvExt.rotate(180.0f); in HWTEST_F()
/foundation/graphic/graphic_utils_lite/test/
H A Dgraphic_math_unit_test.cpp654 Matrix3<uint64_t> rotate = Matrix3<uint64_t>::Rotate(0, Vector2<uint64_t>(0, 0)); in HWTEST_F() local
656 EXPECT_EQ(rotate.GetData()[i++], 1); in HWTEST_F()
657 EXPECT_EQ(rotate.GetData()[i++], 0); in HWTEST_F()
658 EXPECT_EQ(rotate.GetData()[i++], 0); in HWTEST_F()
659 EXPECT_EQ(rotate.GetData()[i++], 0); in HWTEST_F()
660 EXPECT_EQ(rotate.GetData()[i++], 1); in HWTEST_F()
661 EXPECT_EQ(rotate.GetData()[i++], 0); in HWTEST_F()
662 EXPECT_EQ(rotate.GetData()[i++], 0); in HWTEST_F()
663 EXPECT_EQ(rotate.GetData()[i++], 0); in HWTEST_F()
664 EXPECT_EQ(rotate in HWTEST_F()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components/svg/
H A Dsvg_text_component.cpp121 void SvgTextComponent::SetRotate(double rotate) in SetRotate() argument
123 declaration_->SetRotate(rotate); in SetRotate()
/foundation/arkui/ace_engine/frameworks/core/components/common/painter/
H A Drosen_svg_painter.h48 double rotate = 0.0; member
53 double rotate = 0.0; member
117 const std::shared_ptr<RSNode>& rsNode, const std::string& path, const std::string& rotate, double percent);
/foundation/multimedia/image_framework/frameworks/kits/js/common/ndk/
H A Dimage_source_native.cpp56 uint32_t rotate; member
143 Image_ErrorCode OH_DecodingOptions_GetRotate(OH_DecodingOptions *options, float *rotate) in OH_DecodingOptions_GetRotate() argument
145 if (options == nullptr || rotate == nullptr) { in OH_DecodingOptions_GetRotate()
148 *rotate = options->rotate; in OH_DecodingOptions_GetRotate()
153 Image_ErrorCode OH_DecodingOptions_SetRotate(OH_DecodingOptions *options, float rotate) in OH_DecodingOptions_SetRotate() argument
158 options->rotate = rotate; in OH_DecodingOptions_SetRotate()
312 decOps.rotateNewDegrees = ops->rotate; in ParseDecodingOps()
/foundation/arkui/ace_engine/frameworks/bridge/common/utils/
H A DcomponentInfo.h52 RotateOption rotate; member
/foundation/arkui/ui_lite/tools/qt/simulator/drivers/indev/
H A Dmousewheel_input.cpp33 data.rotate = g_rotate; in Read()

Completed in 11 milliseconds

123456