Home
last modified time | relevance | path

Searched refs:touchHotAreas (Results 1 - 18 of 18) sorted by relevance

/foundation/window/window_manager/utils/src/
H A Daccessibility_window_info.cpp27 auto touchHotAreas = touchHotAreas_; in Marshalling() local
35 parcel.WriteString(bundleName_) && parcel.WriteUint32(touchHotAreas.size()); in Marshalling()
40 for (const auto& rect : touchHotAreas) { in Marshalling()
/foundation/window/window_manager/wmserver/src/
H A Dinput_window_monitor.cpp148 std::vector<Rect>& touchHotAreas, std::vector<Rect>& pointerHotAreas) in TransformWindowRects()
152 for (Rect& rect : touchHotAreas) { in TransformWindowRects()
186 std::vector<Rect> touchHotAreas; in TraverseWindowNodes() local
188 windowNode->GetTouchHotAreas(touchHotAreas); in TraverseWindowNodes()
192 TransformWindowRects(windowNode, areaRect, touchHotAreas, pointerHotAreas); in TraverseWindowNodes()
208 convertRectsToMmiRects(touchHotAreas, windowInfo.defaultHotAreas); in TraverseWindowNodes()
147 TransformWindowRects(const sptr<WindowNode>& windowNode, Rect& areaRect, std::vector<Rect>& touchHotAreas, std::vector<Rect>& pointerHotAreas) TransformWindowRects() argument
H A Dwindow_dumper.cpp234 std::vector<Rect> touchHotAreas; in AppendSpecifiedWindowNodeInfo() local
235 node->GetTouchHotAreas(touchHotAreas); in AppendSpecifiedWindowNodeInfo()
237 for (const auto& area : touchHotAreas) { in AppendSpecifiedWindowNodeInfo()
240 if (index < static_cast<int32_t>(touchHotAreas.size())) { in AppendSpecifiedWindowNodeInfo()
H A Dwindow_layout_policy.cpp445 std::vector<Rect> touchHotAreas; in CalcAndSetNodeHotZone() local
448 touchHotAreas.emplace_back(hotZoneRectTouch); in CalcAndSetNodeHotZone()
451 if (!WindowHelper::CalculateTouchHotAreas(winRect, requestedHotAreas, touchHotAreas)) { in CalcAndSetNodeHotZone()
454 pointerHotAreas = touchHotAreas; in CalcAndSetNodeHotZone()
456 node->SetTouchHotAreas(touchHotAreas); in CalcAndSetNodeHotZone()
H A Dwindow_controller.cpp1729 std::vector<Rect> touchHotAreas; in UpdateTouchHotAreas() local
1732 touchHotAreas.emplace_back(node->GetEntireWindowTouchHotArea()); in UpdateTouchHotAreas()
1736 if (!WindowHelper::CalculateTouchHotAreas(windowRect, rects, touchHotAreas)) { in UpdateTouchHotAreas()
1740 pointerHotAreas = touchHotAreas; in UpdateTouchHotAreas()
1743 node->SetTouchHotAreas(touchHotAreas); in UpdateTouchHotAreas()
/foundation/window/window_manager/window_scene/session_manager/src/
H A Dscene_session_dirty_manager.cpp207 std::vector<MMI::Rect>& touchHotAreas, in UpdateDefaultHotAreas()
248 touchHotAreas.emplace_back(touchRect); in UpdateDefaultHotAreas()
252 void SceneSessionDirtyManager::UpdateHotAreas(sptr<SceneSession> sceneSession, std::vector<MMI::Rect>& touchHotAreas, in UpdateHotAreas() argument
267 auto iter = std::find_if(touchHotAreas.begin(), touchHotAreas.end(), in UpdateHotAreas()
269 if (iter != touchHotAreas.end()) { in UpdateHotAreas()
272 touchHotAreas.emplace_back(rect); in UpdateHotAreas()
274 if (touchHotAreas.size() == static_cast<uint32_t>(MMI::WindowInfo::MAX_HOTAREA_COUNT)) { in UpdateHotAreas()
280 if (touchHotAreas.empty()) { in UpdateHotAreas()
281 return UpdateDefaultHotAreas(sceneSession, touchHotAreas, pointerHotArea in UpdateHotAreas()
206 UpdateDefaultHotAreas(sptr<SceneSession> sceneSession, std::vector<MMI::Rect>& touchHotAreas, std::vector<MMI::Rect>& pointerHotAreas) const UpdateDefaultHotAreas() argument
476 std::vector<MMI::Rect> touchHotAreas; AddModalExtensionWindowInfo() local
691 std::vector<MMI::Rect> touchHotAreas; GetWindowInfo() local
[all...]
/foundation/window/window_manager/window_scene/test/unittest/
H A Dscene_session_dirty_manager_test2.cpp141 std::vector<MMI::Rect> touchHotAreas; in HWTEST_F() local
143 manager_->UpdateHotAreas(sceneSession, touchHotAreas, pointerHotAreas); in HWTEST_F()
144 bool touchHotResult = touchHotAreas[0].x == 0 && touchHotAreas[0].y == 0 && in HWTEST_F()
145 touchHotAreas[0].width == 1270 && touchHotAreas[0].height == 2700; in HWTEST_F()
175 std::vector<MMI::Rect> touchHotAreas; in HWTEST_F() local
177 manager_->UpdateHotAreas(sceneSession, touchHotAreas, pointerHotAreas); in HWTEST_F()
178 bool touchHotResult = touchHotAreas[0].x == 0 && touchHotAreas[ in HWTEST_F()
[all...]
H A Dscene_session_dirty_manager_test.cpp323 std::vector<MMI::Rect> touchHotAreas(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()
H A Dsession_test.cpp1561 std::vector<Rect> touchHotAreas; in HWTEST_F() local
1562 session_->SetTouchHotAreas(touchHotAreas); in HWTEST_F()
1566 touchHotAreas = session_->property_->touchHotAreas_; in HWTEST_F()
1567 session_->property_->SetTouchHotAreas(touchHotAreas); in HWTEST_F()
1568 ASSERT_EQ(touchHotAreas, session_->property_->touchHotAreas_); in HWTEST_F()
/foundation/window/window_manager/wmserver/test/unittest/
H A Dinput_window_monitor_test.cpp126 std::vector<Rect> touchHotAreas; in HWTEST_F() local
128 input_monitor_->TransformWindowRects(windowNode, areaRect, touchHotAreas, pointerHotAreas); in HWTEST_F()
/foundation/barrierfree/accessibility/frameworks/common/src/
H A Daccessibility_window_info.cpp233 void AccessibilityWindowInfo::SetTouchHotAreas(const std::vector<Rect> &touchHotAreas) in SetTouchHotAreas() argument
235 touchHotAreas_ = touchHotAreas; in SetTouchHotAreas()
/foundation/window/window_manager/window_scene/session_manager/include/
H A Dscene_session_dirty_manager.h72 void UpdateHotAreas(sptr<SceneSession> sceneSession, std::vector<MMI::Rect>& touchHotAreas,
74 void UpdateDefaultHotAreas(sptr<SceneSession> sceneSession, std::vector<MMI::Rect>& touchHotAreas,
/foundation/window/window_manager/wmserver/include/
H A Dinput_window_monitor.h46 std::vector<Rect>& touchHotAreas, std::vector<Rect>& pointerHotAreas);
/foundation/barrierfree/accessibility/interfaces/innerkits/common/include/
H A Daccessibility_window_info.h290 void SetTouchHotAreas(const std::vector<Rect> &touchHotAreas);
/foundation/barrierfree/accessibility/frameworks/common/test/mock/include/
H A Dmock_accessibility_window_info.h287 void SetTouchHotAreas(const std::vector<Rect> &touchHotAreas);
/foundation/window/window_manager/window_scene/session/host/src/
H A Dsession.cpp3304 void Session::SetTouchHotAreas(const std::vector<Rect>& touchHotAreas) in SetTouchHotAreas() argument
3312 if (touchHotAreas == lastTouchHotAreas) { in SetTouchHotAreas()
3318 for (const auto& rect : touchHotAreas) { in SetTouchHotAreas()
3322 property->SetTouchHotAreas(touchHotAreas); in SetTouchHotAreas()
H A Dscene_session.cpp2980 std::vector<Rect> touchHotAreas; in GetTouchHotAreas() local
2983 property->GetTouchHotAreas(touchHotAreas); in GetTouchHotAreas()
2985 return touchHotAreas; in GetTouchHotAreas()
3798 std::vector<Rect> touchHotAreas; in HandleActionUpdateTouchHotArea() local
3799 property->GetTouchHotAreas(touchHotAreas); in HandleActionUpdateTouchHotArea()
3800 sessionProperty->SetTouchHotAreas(touchHotAreas); in HandleActionUpdateTouchHotArea()
/foundation/window/window_manager/window_scene/session/host/include/
H A Dsession.h438 virtual void SetTouchHotAreas(const std::vector<Rect>& touchHotAreas);

Completed in 28 milliseconds