/foundation/window/window_manager/utils/src/ |
H A D | accessibility_window_info.cpp | 27 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 D | input_window_monitor.cpp | 148 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 D | window_dumper.cpp | 234 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 D | window_layout_policy.cpp | 445 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 D | window_controller.cpp | 1729 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 D | scene_session_dirty_manager.cpp | 207 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 D | scene_session_dirty_manager_test2.cpp | 141 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 D | scene_session_dirty_manager_test.cpp | 323 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 D | session_test.cpp | 1561 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 D | input_window_monitor_test.cpp | 126 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 D | accessibility_window_info.cpp | 233 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 D | scene_session_dirty_manager.h | 72 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 D | input_window_monitor.h | 46 std::vector<Rect>& touchHotAreas, std::vector<Rect>& pointerHotAreas);
|
/foundation/barrierfree/accessibility/interfaces/innerkits/common/include/ |
H A D | accessibility_window_info.h | 290 void SetTouchHotAreas(const std::vector<Rect> &touchHotAreas);
|
/foundation/barrierfree/accessibility/frameworks/common/test/mock/include/ |
H A D | mock_accessibility_window_info.h | 287 void SetTouchHotAreas(const std::vector<Rect> &touchHotAreas);
|
/foundation/window/window_manager/window_scene/session/host/src/ |
H A D | session.cpp | 3304 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 D | scene_session.cpp | 2980 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 D | session.h | 438 virtual void SetTouchHotAreas(const std::vector<Rect>& touchHotAreas);
|