/ohos5.0/foundation/arkui/ace_engine/adapter/ohos/osal/ |
H A D | mouse_style_ohos.cpp | 42 { MouseFormat::DEFAULT, MMI::DEFAULT }, in SetPointerStyle() 43 { MouseFormat::EAST, MMI::EAST }, in SetPointerStyle() 44 { MouseFormat::WEST, MMI::WEST }, in SetPointerStyle() 45 { MouseFormat::SOUTH, MMI::SOUTH }, in SetPointerStyle() 46 { MouseFormat::NORTH, MMI::NORTH }, in SetPointerStyle() 55 { MouseFormat::CROSS, MMI::CROSS }, in SetPointerStyle() 62 { MouseFormat::HELP, MMI::HELP }, in SetPointerStyle() 69 { MouseFormat::ZOOM_IN, MMI::ZOOM_IN }, in SetPointerStyle() 70 { MouseFormat::ZOOM_OUT, MMI::ZOOM_OUT }, in SetPointerStyle() 84 { MouseFormat::LOADING, MMI::LOADING }, in SetPointerStyle() [all …]
|
H A D | mouse_style_ohos.h | 29 bool SetPointerStyle(int32_t windowId, MouseFormat pointerStyle) const override; 31 bool ChangePointerStyle(int32_t windowId, MouseFormat mouseFormat) const override; 33 …int32_t windowId, MouseFormat pointerStyle, std::shared_ptr<Media::PixelMap> pixelMap) const overr… 36 void SetPointerVisible(MouseFormat pointerStyle) const override;
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/linear_split/ |
H A D | linear_split_pattern.cpp | 467 MouseFormat format = MouseFormat::DEFAULT; in GetMouseFormat() 470 format = MouseFormat::DEFAULT; in GetMouseFormat() 472 format = MouseFormat::EAST; in GetMouseFormat() 474 format = MouseFormat::WEST; in GetMouseFormat() 482 format = MouseFormat::SOUTH; in GetMouseFormat() 484 format = MouseFormat::NORTH; in GetMouseFormat() 494 MouseFormat format = MouseFormat::DEFAULT; in GetMouseFormatBeforeAPI10() 499 format = MouseFormat::WEST; in GetMouseFormatBeforeAPI10() 501 format = MouseFormat::EAST; in GetMouseFormatBeforeAPI10() 509 format = MouseFormat::NORTH; in GetMouseFormatBeforeAPI10() [all …]
|
H A D | linear_split_pattern.h | 80 MouseFormat GetMouseFormat(); 81 MouseFormat GetMouseFormatBeforeAPI10();
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/split_container/ |
H A D | render_column_split.cpp | 35 MouseFormat upDownStyle = MouseFormat::NORTH_SOUTH; in HandleDragStart() 62 MouseFormat upDownStyle = MouseFormat::NORTH_SOUTH; in HandleDragUpdate() 76 MouseFormat defaultStyle = MouseFormat::DEFAULT; in HandleDragEnd()
|
H A D | render_row_split.cpp | 38 MouseFormat leftRightStyle = MouseFormat::WEST_EAST; in HandleDragStart() 65 MouseFormat leftRightStyle = MouseFormat::WEST_EAST; in HandleDragUpdate() 79 MouseFormat defaultStyle = MouseFormat::DEFAULT; in HandleDragEnd()
|
H A D | render_split_container.cpp | 296 MouseFormat leftRightStyle = MouseFormat::WEST_EAST; in HandleMouseEvent() 299 MouseFormat defaultStyle = MouseFormat::DEFAULT; in HandleMouseEvent() 320 MouseFormat upDownStyle = MouseFormat::NORTH_SOUTH; in HandleMouseEvent() 323 MouseFormat defaultStyle = MouseFormat::DEFAULT; in HandleMouseEvent()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/web/ |
H A D | render_web.cpp | 35 { OHOS::NWeb::CursorType::CT_CROSS, MouseFormat::CROSS }, 36 { OHOS::NWeb::CursorType::CT_HAND, MouseFormat::HAND_POINTING }, 37 { OHOS::NWeb::CursorType::CT_IBEAM, MouseFormat::TEXT_CURSOR }, 38 { OHOS::NWeb::CursorType::CT_HELP, MouseFormat::HELP }, 39 { OHOS::NWeb::CursorType::CT_EASTRESIZE, MouseFormat::WEST_EAST }, 62 { OHOS::NWeb::CursorType::CT_MOVE, MouseFormat::CURSOR_MOVE }, 64 { OHOS::NWeb::CursorType::CT_COPY, MouseFormat::CURSOR_COPY }, 66 { OHOS::NWeb::CursorType::CT_ZOOMIN, MouseFormat::ZOOM_IN }, 67 { OHOS::NWeb::CursorType::CT_ZOOMOUT, MouseFormat::ZOOM_OUT }, 68 { OHOS::NWeb::CursorType::CT_GRAB, MouseFormat::HAND_OPEN }, [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/base/mousestyle/ |
H A D | mouse_style.h | 24 enum class MouseFormat : int32_t { enum 80 virtual bool SetPointerStyle(int32_t windowId, MouseFormat pointerStyle) const = 0; 82 virtual bool ChangePointerStyle(int32_t windowId, MouseFormat mouseFormat) const = 0; 84 … int32_t windowId, MouseFormat pointerStyle, std::shared_ptr<Media::PixelMap> pixelMap) const {}; in SetMouseIcon() 87 virtual void SetPointerVisible(MouseFormat pointerStyle) const {}; in SetPointerVisible()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/hyperlink/ |
H A D | render_hyperlink.cpp | 150 MouseFormat handPointStyle = MouseFormat::HAND_POINTING; in HandleMouseHoverEvent() 151 MouseFormat defaultStyle = MouseFormat::DEFAULT; in HandleMouseHoverEvent()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/common/ |
H A D | window.h | 167 void SetCursor(MouseFormat cursor) in SetCursor() 172 MouseFormat GetCursor() const in GetCursor() 207 MouseFormat cursor_ = MouseFormat::DEFAULT;
|
/ohos5.0/foundation/arkui/ace_engine/test/mock/base/ |
H A D | mock_mouse_style.h | 31 MOCK_CONST_METHOD2(SetPointerStyle, bool(int32_t, MouseFormat)); 33 MOCK_CONST_METHOD2(ChangePointerStyle, bool(int32_t, MouseFormat));
|
/ohos5.0/foundation/arkui/ace_engine/adapter/preview/osal/ |
H A D | mouse_style_ohos.cpp | 25 bool MouseStyleOhos::SetPointerStyle(int32_t windowId, MouseFormat pointerStyle) const in SetPointerStyle() 37 bool MouseStyleOhos::ChangePointerStyle(int32_t windowId, MouseFormat mouseFormat) const in ChangePointerStyle()
|
H A D | mouse_style_ohos.h | 29 bool SetPointerStyle(int32_t windowId, MouseFormat pointerStyle) const override; 31 bool ChangePointerStyle(int32_t windowId, MouseFormat mouseFormat) const override;
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/search/ |
H A D | render_search.cpp | 575 MouseFormat defaultStyle = MouseFormat::DEFAULT; in HandleMouseEvent() 578 MouseFormat textCursorStyle = MouseFormat::TEXT_CURSOR; in HandleMouseEvent() 582 … MouseFormat hopenPointStyle = isInSearchButton_ ? MouseFormat::DEFAULT : MouseFormat::TEXT_CURSOR; in HandleMouseEvent() 585 isInSearchButton_ = hopenPointStyle == MouseFormat::DEFAULT ? true : false; in HandleMouseEvent()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/hyperlink/ |
H A D | hyperlink_pattern.cpp | 283 pipeline->ChangeMouseStyle(frameId, MouseFormat::HAND_POINTING); in OnHoverEvent() 293 pipeline->ChangeMouseStyle(frameId, MouseFormat::DEFAULT); in OnHoverEvent() 313 pipeline->ChangeMouseStyle(frameId, MouseFormat::DEFAULT); in OnMouseEvent() 318 frameId, MouseFormat::HAND_POINTING, 0, info.GetAction() == MouseAction::WINDOW_LEAVE); in OnMouseEvent()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/web/ |
H A D | web_pattern.cpp | 93 { OHOS::NWeb::CursorType::CT_CROSS, MouseFormat::CROSS }, 95 { OHOS::NWeb::CursorType::CT_IBEAM, MouseFormat::TEXT_CURSOR }, 96 { OHOS::NWeb::CursorType::CT_WAIT, MouseFormat::LOADING }, 97 { OHOS::NWeb::CursorType::CT_HELP, MouseFormat::HELP }, 121 { OHOS::NWeb::CursorType::CT_MOVE, MouseFormat::CURSOR_MOVE }, 124 { OHOS::NWeb::CursorType::CT_PROGRESS, MouseFormat::RUNNING }, 129 { OHOS::NWeb::CursorType::CT_ZOOMIN, MouseFormat::ZOOM_IN }, 131 { OHOS::NWeb::CursorType::CT_GRAB, MouseFormat::HAND_OPEN }, 4707 MouseFormat pointStyle = MouseFormat::DEFAULT; in OnCursorChange() 4725 MouseFormat pointStyle = MouseFormat::CONTEXT_MENU; in UpdateLocalCursorStyle() [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/side_bar/ |
H A D | side_bar_container_pattern.cpp | 1027 mouseStyle->SetPointerStyle(static_cast<int32_t>(windowId), MouseFormat::RESIZE_LEFT_RIGHT); in HandleDragStart() 1099 mouseStyle->SetPointerStyle(static_cast<int32_t>(windowId), MouseFormat::DEFAULT); in HandleDragEnd() 1153 MouseFormat format = MouseFormat::DEFAULT; in OnDividerMouseEvent() 1180 MouseFormat format = isHover ? MouseFormat::RESIZE_LEFT_RIGHT : MouseFormat::DEFAULT; in OnHover()
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pipeline/ |
H A D | pipeline_context_test_ng_new.cpp | 940 ASSERT_EQ(context_->GetWindow()->cursor_, MouseFormat::DEFAULT); 948 ASSERT_EQ(context_->GetWindow()->cursor_, MouseFormat::DEFAULT); 954 context_->SetCursor(static_cast<int32_t>(MouseFormat::EAST)); 956 ASSERT_EQ(context_->GetWindow()->cursor_, MouseFormat::EAST); 964 ASSERT_EQ(context_->GetWindow()->cursor_, MouseFormat::DEFAULT);
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/search/ |
H A D | search_pattern.h | 239 void SetMouseStyle(MouseFormat format);
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/ |
H A D | text_pattern.h | 848 MouseFormat currentMouseStyle_ = MouseFormat::DEFAULT;
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/navigation/ |
H A D | navigation_pattern.cpp | 1637 mouseStyle->SetPointerStyle(static_cast<int32_t>(windowId), MouseFormat::RESIZE_LEFT_RIGHT); in HandleDragStart() 1709 mouseStyle->SetPointerStyle(static_cast<int32_t>(windowId), MouseFormat::DEFAULT); in HandleDragEnd() 1775 MouseFormat format = isHover ? MouseFormat::RESIZE_LEFT_RIGHT : MouseFormat::DEFAULT; in OnHover()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/text_field/ |
H A D | render_text_field.cpp | 564 MouseFormat defaultStyle = MouseFormat::DEFAULT; in HandleMouseHoverEvent() 565 MouseFormat textCursorStyle = MouseFormat::TEXT_CURSOR; in HandleMouseHoverEvent()
|
/ohos5.0/foundation/arkui/ace_engine/test/mock/core/pipeline/ |
H A D | mock_pipeline_context.cpp | 495 bool PipelineContext::ChangeMouseStyle(int32_t nodeId, MouseFormat format, int32_t windowId, bool i… in ChangeMouseStyle()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/pipeline_ng/ |
H A D | pipeline_context.cpp | 3174 bool PipelineContext::ChangeMouseStyle(int32_t nodeId, MouseFormat format, int32_t windowId, bool i… in ChangeMouseStyle() 4288 if (cursorValue >= 0 && cursorValue <= static_cast<int32_t>(MouseFormat::RUNNING)) { in SetCursor() 4293 auto cursor = static_cast<MouseFormat>(cursorValue); in SetCursor() 4306 window->SetCursor(MouseFormat::DEFAULT); in RestoreDefault() 4308 …mouseStyle->ChangePointerStyle(windowId > 0 ? windowId : GetFocusWindowId(), MouseFormat::DEFAULT); in RestoreDefault()
|