Home
last modified time | relevance | path

Searched refs:pointerHotAreas (Results 1 - 23 of 23) sorted by relevance

/foundation/window/window_manager/wmserver/src/
H A Dinput_window_monitor.cpp148 std::vector<Rect>& touchHotAreas, std::vector<Rect>& pointerHotAreas) in TransformWindowRects()
155 for (Rect& rect : pointerHotAreas) { in TransformWindowRects()
187 std::vector<Rect> pointerHotAreas; in TraverseWindowNodes() local
189 windowNode->GetPointerHotAreas(pointerHotAreas); in TraverseWindowNodes()
192 TransformWindowRects(windowNode, areaRect, touchHotAreas, pointerHotAreas); in TraverseWindowNodes()
209 convertRectsToMmiRects(pointerHotAreas, windowInfo.pointerHotAreas); in TraverseWindowNodes()
147 TransformWindowRects(const sptr<WindowNode>& windowNode, Rect& areaRect, std::vector<Rect>& touchHotAreas, std::vector<Rect>& pointerHotAreas) TransformWindowRects() argument
H A Dwindow_layout_policy.cpp446 std::vector<Rect> pointerHotAreas; in CalcAndSetNodeHotZone() local
449 pointerHotAreas.emplace_back(hotZoneRectPointer); in CalcAndSetNodeHotZone()
454 pointerHotAreas = touchHotAreas; in CalcAndSetNodeHotZone()
457 node->SetPointerHotAreas(pointerHotAreas); in CalcAndSetNodeHotZone()
H A Dwindow_controller.cpp1730 std::vector<Rect> pointerHotAreas; in UpdateTouchHotAreas() local
1733 pointerHotAreas.emplace_back(node->GetEntireWindowPointerHotArea()); in UpdateTouchHotAreas()
1740 pointerHotAreas = touchHotAreas; in UpdateTouchHotAreas()
1744 node->SetPointerHotAreas(pointerHotAreas); in UpdateTouchHotAreas()
/foundation/window/window_manager/window_scene/test/unittest/
H A Dscene_session_dirty_manager_test2.cpp142 std::vector<MMI::Rect> pointerHotAreas; in HWTEST_F() local
143 manager_->UpdateHotAreas(sceneSession, touchHotAreas, pointerHotAreas); in HWTEST_F()
147 bool pointerHotResult = pointerHotAreas[0].x == 0 && pointerHotAreas[0].y == 0 && in HWTEST_F()
148 pointerHotAreas[0].width == 1270 && pointerHotAreas[0].height == 2700; in HWTEST_F()
176 std::vector<MMI::Rect> pointerHotAreas; in HWTEST_F() local
177 manager_->UpdateHotAreas(sceneSession, touchHotAreas, pointerHotAreas); in HWTEST_F()
181 bool pointerHotResult = pointerHotAreas[0].x == 0 && pointerHotAreas[ in HWTEST_F()
[all...]
H A Dscene_input_manager_test.cpp497 windowInfoList[0].pointerHotAreas.emplace_back(area); in HWTEST_F()
500 windowInfoList[0].pointerHotAreas.clear(); in HWTEST_F()
544 windowInfoList[0].pointerHotAreas.emplace_back(area); in HWTEST_F()
546 SceneInputManager::GetInstance().lastWindowInfoList_[0].pointerHotAreas.emplace_back(area); in HWTEST_F()
549 windowInfoList[0].pointerHotAreas.clear(); in HWTEST_F()
550 SceneInputManager::GetInstance().lastWindowInfoList_[0].pointerHotAreas.clear(); in HWTEST_F()
H A Dscene_session_dirty_manager_test.cpp324 std::vector<MMI::Rect> pointerHotAreas(0); in HWTEST_F()
337 manager_->UpdateHotAreas(sceneSession, touchHotAreas, pointerHotAreas); in HWTEST_F()
347 manager_->UpdateHotAreas(sceneSession, touchHotAreas, pointerHotAreas); in HWTEST_F()
350 manager_->UpdateHotAreas(sceneSession, touchHotAreas, pointerHotAreas); in HWTEST_F()
/foundation/window/window_manager/wmserver/test/unittest/
H A Dinput_window_monitor_test.cpp127 std::vector<Rect> pointerHotAreas; in HWTEST_F() local
128 input_monitor_->TransformWindowRects(windowNode, areaRect, touchHotAreas, pointerHotAreas); in HWTEST_F()
/foundation/window/window_manager/window_scene/session_manager/src/
H A Dscene_session_dirty_manager.cpp208 std::vector<MMI::Rect>& pointerHotAreas) const in UpdateDefaultHotAreas()
249 pointerHotAreas.emplace_back(pointerRect); in UpdateDefaultHotAreas()
253 std::vector<MMI::Rect>& pointerHotAreas) const in UpdateHotAreas()
273 pointerHotAreas.emplace_back(rect); in UpdateHotAreas()
281 return UpdateDefaultHotAreas(sceneSession, touchHotAreas, pointerHotAreas); in UpdateHotAreas()
485 windowInfo.pointerHotAreas = touchHotAreas; in AddModalExtensionWindowInfo()
692 std::vector<MMI::Rect> pointerHotAreas; in GetWindowInfo() local
693 UpdateHotAreas(sceneSession, touchHotAreas, pointerHotAreas); in GetWindowInfo()
701 .pointerHotAreas = pointerHotAreas, in GetWindowInfo()
[all...]
H A Dscene_input_manager.cpp94 a.pointerHotAreas.size() != b.pointerHotAreas.size() || in operator ==()
105 int sizeOfPointerHotAreas = static_cast<int>(a.pointerHotAreas.size()); in operator ==()
107 if (a.pointerHotAreas[index] != b.pointerHotAreas[index]) { in operator ==()
/foundation/window/window_manager/window_scene/session_manager/include/
H A Dscene_session_dirty_manager.h73 std::vector<MMI::Rect>& pointerHotAreas) const;
75 std::vector<MMI::Rect>& pointerHotAreas) const;
/foundation/window/window_manager/wmserver/include/
H A Dinput_window_monitor.h46 std::vector<Rect>& touchHotAreas, std::vector<Rect>& pointerHotAreas);
/foundation/multimodalinput/input/frameworks/proxy/events/test/
H A Dinput_manager_update_display_info_test.cpp171 info.pointerHotAreas = { info.area }; in HWTEST_F()
211 info.pointerHotAreas = { info.area }; in HWTEST_F()
257 info.pointerHotAreas = { info.area }; in HWTEST_F()
H A Dinput_manager_test.cpp770 * @tc.desc: Touch event Search window by pointerHotAreas
830 info.pointerHotAreas = { info.area }; in HWTEST_F()
872 info.pointerHotAreas = { info.area }; in HWTEST_F()
/foundation/multimodalinput/input/interfaces/native/innerkits/proxy/include/
H A Dwindow_info.h262 std::vector<Rect> pointerHotAreas; member
/foundation/multimodalinput/input/frameworks/proxy/event_handler/test/
H A Dinput_manager_impl_test.cpp52 windowInfo.pointerHotAreas.push_back(rect); in HWTEST_F()
92 windowInfo.pointerHotAreas.push_back(rect); in HWTEST_F()
/foundation/multimodalinput/input/test/fuzztest/updatedisplayinfo_fuzzer/
H A Dupdatedisplayinfo_fuzzer.cpp76 windowInfo.pointerHotAreas = pointerHotAreasInfo; in UpdateHotAreas()
/foundation/multimodalinput/input/test/fuzztest/pointerstyle_fuzzer/
H A Dpointerstyle_fuzzer.cpp70 windowInfo.pointerHotAreas = pointerHotAreasInfo; in UpdateHotAreas()
/foundation/multimodalinput/input/frameworks/proxy/event_handler/src/
H A Dinput_manager_impl.cpp197 if (window.defaultHotAreas.empty() || window.pointerHotAreas.empty() || in IsValiadWindowAreas()
202 "pointerHotAreas:size:%{public}zu, pointerChangeAreas:size:%{public}zu," in IsValiadWindowAreas()
204 window.pointerHotAreas.size(), window.pointerChangeAreas.size(), in IsValiadWindowAreas()
581 << item.defaultHotAreas << item.pointerHotAreas in PackWindowGroupInfo()
623 << item.defaultHotAreas << item.pointerHotAreas in PackUiExtentionWindowInfo()
644 << item.pointerHotAreas << item.agentWindowId << item.flags << item.action in PackWindowInfo()
709 "defaultHotAreas.size:%{public}zu,pointerHotAreas.size:%{public}zu," in PrintWindowInfo()
713 item.area.height, item.defaultHotAreas.size(), item.pointerHotAreas.size(), in PrintWindowInfo()
719 for (const auto &pointer : item.pointerHotAreas) { in PrintWindowInfo()
720 MMI_HILOGD("pointerHotAreas in PrintWindowInfo()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/window_scene/screen/
H A Dscreen_pattern.cpp170 .pointerHotAreas = { screenRect }, in UpdateToInputManager()
/foundation/multimodalinput/input/service/window_manager/test/
H A Dinput_windows_manager_test.cpp75 info.pointerHotAreas = { info.area }; in SetUp()
216 window.pointerHotAreas = { window.area }; in HWTEST_F()
340 EXPECT_TRUE(WIN_MGR->mouseDownInfo_.pointerHotAreas.empty()); in HWTEST_F()
359 EXPECT_TRUE(WIN_MGR->mouseDownInfo_.pointerHotAreas.empty()); in HWTEST_F()
796 windowInfo1.pointerHotAreas = {{30, 30, 150, 150}, {400, 400, 70, 70}}; in HWTEST_F()
809 windowInfo2.pointerHotAreas = {{70, 70, 250, 250}, {800, 800, 120, 120}}; in HWTEST_F()
3670 windowInfo.pointerHotAreas.push_back({ 100, 0, INT32_MAX, 0 }); in HWTEST_F()
3738 windowInfo.pointerHotAreas.push_back({ 100, 100, INT32_MAX, 100 }); in HWTEST_F()
3742 windowInfo.pointerHotAreas.clear(); in HWTEST_F()
3743 windowInfo.pointerHotAreas in HWTEST_F()
[all...]
H A Dinput_windows_manager_ex_test.cpp260 windowInfo.pointerHotAreas.push_back(rect); in HWTEST_F()
300 windowInfo.pointerHotAreas.push_back(rect); in HWTEST_F()
344 windowInfo.pointerHotAreas.push_back(rect); in HWTEST_F()
2529 windowInfo.pointerHotAreas.push_back({ 0, 0, 30, 40 }); in HWTEST_F()
2579 windowInfo.pointerHotAreas.push_back({ 0, 0, 30, 40 }); in HWTEST_F()
3006 winInfo.pointerHotAreas.push_back({ 100, 100, 1000, 1000 }); in HWTEST_F()
3036 winInfo.pointerHotAreas.push_back({ 100, 100, 1000, 1000 }); in HWTEST_F()
3066 winInfo.pointerHotAreas.push_back({ 100, 100, 1000, 1000 }); in HWTEST_F()
3095 winInfo.pointerHotAreas.push_back({ 100, 100, INT32_MAX, 1000 }); in HWTEST_F()
/foundation/multimodalinput/input/service/message_handle/src/
H A Dserver_msg_handler.cpp496 >> extensionInfo.defaultHotAreas >> extensionInfo.pointerHotAreas >> extensionInfo.agentWindowId in OnUiExtentionWindowInfo()
527 >> info.pointerHotAreas >> info.agentWindowId >> info.flags >> info.action in OnDisplayInfo()
592 >> info.pointerHotAreas >> info.agentWindowId >> info.flags >> info.action in OnWindowGroupInfo()
/foundation/multimodalinput/input/service/window_manager/src/
H A Dinput_windows_manager.cpp261 mouseDownInfo_.pointerHotAreas.clear(); in InitMouseDownInfo()
949 for (auto &area : windowInfo.pointerHotAreas) { in UpdateWindowInfo()
1520 "defaultHotAreas.size:%{public}zu,pointerHotAreas.size:%{public}zu," in UpdateDisplayInfo()
1524 item.area.height, item.defaultHotAreas.size(), item.pointerHotAreas.size(), in UpdateDisplayInfo()
1530 for (const auto &pointer : item.pointerHotAreas) { in UpdateDisplayInfo()
1531 MMI_HILOGD("pointerHotAreas:x:%d, y:%d, width:%{public}d, height:%{public}d", in UpdateDisplayInfo()
2226 if (IsInHotArea(logicalX, logicalY, item.pointerHotAreas, item)) { in UpdateDisplayInfo()
2240 } else if ((targetWindowId < 0) && (IsInHotArea(logicalX, logicalY, item.pointerHotAreas, item))) { in UpdateDisplayInfo()
2323 if (IsInHotArea(logicalX, logicalY, it.pointerHotAreas, it)) { in UpdateDisplayInfo()
2338 } else if (IsInHotArea(logicalX, logicalY, item.pointerHotAreas, ite in UpdateDisplayInfo()
[all...]

Completed in 41 milliseconds