Home
last modified time | relevance | path

Searched refs:MouseFormat (Results 1 – 25 of 33) sorted by relevance

12

/ohos5.0/foundation/arkui/ace_engine/adapter/ohos/osal/
H A Dmouse_style_ohos.cpp42 { 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 Dmouse_style_ohos.h29 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 Dlinear_split_pattern.cpp467 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 Dlinear_split_pattern.h80 MouseFormat GetMouseFormat();
81 MouseFormat GetMouseFormatBeforeAPI10();
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/split_container/
H A Drender_column_split.cpp35 MouseFormat upDownStyle = MouseFormat::NORTH_SOUTH; in HandleDragStart()
62 MouseFormat upDownStyle = MouseFormat::NORTH_SOUTH; in HandleDragUpdate()
76 MouseFormat defaultStyle = MouseFormat::DEFAULT; in HandleDragEnd()
H A Drender_row_split.cpp38 MouseFormat leftRightStyle = MouseFormat::WEST_EAST; in HandleDragStart()
65 MouseFormat leftRightStyle = MouseFormat::WEST_EAST; in HandleDragUpdate()
79 MouseFormat defaultStyle = MouseFormat::DEFAULT; in HandleDragEnd()
H A Drender_split_container.cpp296 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 Drender_web.cpp35 { 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 Dmouse_style.h24 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 Drender_hyperlink.cpp150 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 Dwindow.h167 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 Dmock_mouse_style.h31 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 Dmouse_style_ohos.cpp25 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 Dmouse_style_ohos.h29 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 Drender_search.cpp575 MouseFormat defaultStyle = MouseFormat::DEFAULT; in HandleMouseEvent()
578 MouseFormat textCursorStyle = MouseFormat::TEXT_CURSOR; in HandleMouseEvent()
582MouseFormat 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 Dhyperlink_pattern.cpp283 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 Dweb_pattern.cpp93 { 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 Dside_bar_container_pattern.cpp1027 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 Dpipeline_context_test_ng_new.cpp940 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 Dsearch_pattern.h239 void SetMouseStyle(MouseFormat format);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/
H A Dtext_pattern.h848 MouseFormat currentMouseStyle_ = MouseFormat::DEFAULT;
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/navigation/
H A Dnavigation_pattern.cpp1637 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 Drender_text_field.cpp564 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 Dmock_pipeline_context.cpp495 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 Dpipeline_context.cpp3174 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()

12