/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/form/ |
H A D | form_node_test.cpp | 78 TouchRestrict touchRestrict; variable 79 touchRestrict.hitTestType = SourceType::MOUSE; 86 parentRevertPoint, touchRestrict, result, touchId, responseLinkResult, isDispatch); 89 touchRestrict.hitTestType = SourceType::NONE; 91 parentRevertPoint, touchRestrict, result, touchId, responseLinkResult, isDispatch); 97 parentRevertPoint, touchRestrict, result, touchId, responseLinkResult, isDispatch); 104 parentRevertPoint, touchRestrict, result, touchId, responseLinkResult, isDispatch); 116 parentRevertPoint, touchRestrict, result, touchId, responseLinkResult, isDispatch); 123 parentRevertPoint, touchRestrict, result, touchId, responseLinkResult, isDispatch); 128 parentRevertPoint, touchRestrict, result, touchId, responseLinkResult, isDispatch);
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pipeline/ |
H A D | mock_event_manager.cpp | 23 const TouchRestrict& touchRestrict, const Offset& offset, float viewScale, bool needAppend) in TouchTest() argument 27 const TouchRestrict& touchRestrict, const Offset& offset, float viewScale, bool needAppend) in TouchTest() argument 31 …const AxisEvent& event, const RefPtr<NG::FrameNode>& frameNode, const TouchRestrict& touchRestrict) in TouchTest() argument 46 … const AxisEvent& event, const RefPtr<RenderNode>& renderNode, const TouchRestrict& touchRestrict) in TouchTest() argument 102 …onst MouseEvent& event, const RefPtr<NG::FrameNode>& frameNode, const TouchRestrict& touchRestrict) in MouseTest() argument
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/manager/post_event/ |
H A D | post_event_manager.cpp | 73 TouchRestrict touchRestrict { TouchRestrict::NONE }; in PostDownEvent() local 74 touchRestrict.sourceType = touchEvent.sourceType; in PostDownEvent() 75 touchRestrict.touchEvent = touchEvent; in PostDownEvent() 76 touchRestrict.inputEventType = InputEventType::TOUCH_SCREEN; in PostDownEvent() 77 touchRestrict.touchTestType = EventTreeType::POST_EVENT; in PostDownEvent() 78 auto result = eventManager->PostEventTouchTest(scalePoint, targetNode, touchRestrict); in PostDownEvent()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/common/ |
H A D | event_manager.h | 76 TouchRestrict& touchRestrict, const Offset& offset = Offset(), 80 TouchRestrict& touchRestrict, const Offset& offset = Offset(), 84 TouchRestrict& touchRestrict); 86 …chTest(const AxisEvent& event, const RefPtr<RenderNode>& renderNode, TouchRestrict& touchRestrict); 88 …Test(const AxisEvent& event, const RefPtr<NG::FrameNode>& frameNode, TouchRestrict& touchRestrict); 125 …est(const MouseEvent& event, const RefPtr<NG::FrameNode>& frameNode, TouchRestrict& touchRestrict); 127 … const TouchEvent& event, const RefPtr<NG::FrameNode>& frameNode, TouchRestrict& touchRestrict); 129 …est(const TouchEvent& event, const RefPtr<NG::FrameNode>& frameNode, TouchRestrict& touchRestrict); 305 TouchRestrict& touchRestrict, const Offset& offset = Offset(), float viewScale = 1.0f,
|
H A D | event_manager.cpp | 50 renderNode->TouchTest(point, point, touchRestrict, hitTestResult); in TouchTest() 150 frameNode->TouchTest(point, point, point, touchRestrict, in TouchTest() 577 renderNode->TouchTest(point, point, touchRestrict, hitTestResult); in TouchTest() 1202 touchRestrict.touchEvent.isMouseTouchTest = true; in MouseTest() 1212 touchRestrict.touchEvent.isMouseTouchTest = true; in MouseTest() 1577 TouchRestrict touchRestrict { TouchRestrict::NONE }; in AxisTest() local 1578 touchRestrict.sourceType = event.sourceType; in AxisTest() 1579 touchRestrict.hitTestType = SourceType::MOUSE; in AxisTest() 1580 touchRestrict.inputEventType = InputEventType::AXIS; in AxisTest() 1581 touchRestrict.touchEvent = ConvertAxisEventToTouchEvent(event); in AxisTest() [all …]
|
H A D | event_manager_pen.cpp | 28 const TouchEvent& event, const RefPtr<NG::FrameNode>& frameNode, TouchRestrict& touchRestrict) in PenHoverTest() argument 35 point, point, point, touchRestrict, testResult, event.id, responseLinkResult); in PenHoverTest()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/window_scene/screen/ |
H A D | screen_node.cpp | 21 …const PointF& parentRevertPoint, TouchRestrict& touchRestrict, TouchTestResult& result, int32_t to… in TouchTest() argument 29 uint64_t targetDisplayId = static_cast<uint64_t>(touchRestrict.touchEvent.targetDisplayId); in TouchTest() 34 …globalPoint, parentLocalPoint, parentRevertPoint, touchRestrict, result, touchId, responseLinkResu… in TouchTest()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/event/ |
H A D | scrollable_event.cpp | 53 …leActuator::CollectTouchTarget(const OffsetF& coordinateOffset, const TouchRestrict& touchRestrict, in CollectTouchTarget() argument 63 if (event->InBarRegion(localPoint, touchRestrict.sourceType)) { in CollectTouchTarget() 66 } else if (event->InBarRectRegion(localPoint, touchRestrict.sourceType)) { in CollectTouchTarget() 79 localPoint, touchRestrict.sourceType); in CollectTouchTarget()
|
H A D | gesture_event_actuator.h | 35 …tual void OnCollectTouchTarget(const OffsetF& coordinateOffset, const TouchRestrict& touchRestrict, in OnCollectTouchTarget() argument 44 virtual void AddTouchListener(const TouchRestrict& touchRestrict) in AddTouchListener() argument
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_v2/indexer/ |
H A D | render_indexer.cpp | 280 const TouchRestrict& touchRestrict, TouchTestResult& result) in TouchTest() argument 314 OnTouchTestHit(coordinateOffset, touchRestrict, result); in TouchTest() 324 OnTouchTestHit(coordinateOffset, touchRestrict, result); in TouchTest() 325 return RenderNode::TouchTest(globalPoint, parentLocalPoint, touchRestrict, result); in TouchTest() 334 OnTouchTestHit(coordinateOffset, touchRestrict, result); in TouchTest() 335 return RenderNode::TouchTest(globalPoint, parentLocalPoint, touchRestrict, result); in TouchTest() 346 const Offset& coordinateOffset, const TouchRestrict& touchRestrict, TouchTestResult& result) in OnTouchTestHit() argument
|
H A D | render_popup_list.h | 47 …chTest(const Point& globalPoint, const Point& parentLocalPoint, const TouchRestrict& touchRestrict, 50 …const Offset& coordinateOffset, const TouchRestrict& touchRestrict, TouchTestResult& result) overr…
|
H A D | render_indexer.h | 57 …const Offset& coordinateOffset, const TouchRestrict& touchRestrict, TouchTestResult& result) overr… 58 …chTest(const Point& globalPoint, const Point& parentLocalPoint, const TouchRestrict& touchRestrict,
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/search/ |
H A D | render_search.h | 63 …chTest(const Point& globalPoint, const Point& parentLocalPoint, const TouchRestrict& touchRestrict, 66 …const Offset& coordinateOffset, const TouchRestrict& touchRestrict, TouchTestResult& result) overr…
|
H A D | render_search.cpp | 378 const TouchRestrict& touchRestrict, TouchTestResult& result) in TouchTest() argument 397 OnTouchTestHit(coordinateOffset, touchRestrict, result); in TouchTest() 406 if (child->TouchTest(globalPoint, localPoint, touchRestrict, result)) { in TouchTest() 420 const Offset& coordinateOffset, const TouchRestrict& touchRestrict, TouchTestResult& result) in OnTouchTestHit() argument 449 rawRecognizer_->SetTouchRestrict(touchRestrict); in OnTouchTestHit() 462 clickRecognizer_->SetTouchRestrict(touchRestrict); in OnTouchTestHit()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/semi_modal/ |
H A D | render_semi_modal.h | 37 …chTest(const Point& globalPoint, const Point& parentLocalPoint, const TouchRestrict& touchRestrict, 63 …const Offset& coordinateOffset, const TouchRestrict& touchRestrict, TouchTestResult& result) overr…
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/form/ |
H A D | form_node.cpp | 164 …const PointF& parentRevertPoint, TouchRestrict& touchRestrict, TouchTestResult& result, int32_t to… in TouchTest() argument 170 if (touchRestrict.hitTestType == SourceType::MOUSE) { in TouchTest() 175 …globalPoint, parentLocalPoint, parentRevertPoint, touchRestrict, result, touchId, responseLinkResu… in TouchTest() 196 context->AddEtsCardTouchEventCallback(touchRestrict.touchEvent.id, callback); in TouchTest()
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/event/ |
H A D | event_manager_test_ng.cpp | 423 TouchRestrict touchRestrict; variable 472 TouchRestrict touchRestrict; variable 475 eventManager->TouchTest(axisEvent, frameNode, touchRestrict); 502 TouchRestrict touchRestrict; variable 596 TouchRestrict touchRestrict; variable 598 eventManager->TouchTest(event, frameNode, touchRestrict); 707 TouchRestrict touchRestrict; variable 713 eventManager->MouseTest(event, frameNode, touchRestrict); 723 eventManager->MouseTest(event, frameNode, touchRestrict); 732 eventManager->MouseTest(event, frameNode, touchRestrict); [all …]
|
H A D | gesture_event_hub_test_ng.cpp | 96 TouchRestrict touchRestrict; variable 651 TouchRestrict touchRestrict; variable 669 …COORDINATE_OFFSET, touchRestrict, innerTargets, finalResult, TOUCH_ID, nullptr, responseLinkResult… 697 …COORDINATE_OFFSET, touchRestrict, innerTargets, finalResult, TOUCH_ID, nullptr, responseLinkResult… 706 …COORDINATE_OFFSET, touchRestrict, innerTargets2, finalResult, TOUCH_ID, nullptr, responseLinkResul… 714 …COORDINATE_OFFSET, touchRestrict, innerTargets3, finalResult, TOUCH_ID, nullptr, responseLinkResul… 722 …COORDINATE_OFFSET, touchRestrict, innerTargets4, finalResult, TOUCH_ID, nullptr, responseLinkResul… 730 …COORDINATE_OFFSET, touchRestrict, innerTargets5, finalResult, TOUCH_ID, nullptr, responseLinkResul… 869 TouchRestrict touchRestrict; variable 892 …coordinateOffset, touchRestrict, innerTargets, finalResult, 2, localPoint, nullptr, responseLinkRe… [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/picker/ |
H A D | render_picker_base.cpp | 27 const TouchRestrict& touchRestrict, TouchTestResult& result) in TouchTest() argument 32 triangle_->OnTouchTestHit(Offset(), touchRestrict, result); in TouchTest() 40 return onChildTouchTest(switch_, touchRestrict, result); in TouchTest() 48 return onChildTouchTest(ok_, touchRestrict, result); in TouchTest() 55 return onChildTouchTest(cancel_, touchRestrict, result); in TouchTest() 67 return RenderNode::TouchTest(globalPoint, parentLocalPoint, touchRestrict, result); in TouchTest() 71 const RefPtr<RenderNode>& child, const TouchRestrict& touchRestrict, TouchTestResult& result) in onChildTouchTest() argument 79 return child->TouchTest(global, local, touchRestrict, result); in onChildTouchTest()
|
H A D | render_picker_base.h | 74 …chTest(const Point& globalPoint, const Point& parentLocalPoint, const TouchRestrict& touchRestrict, 188 …bool onChildTouchTest(const RefPtr<RenderNode>& child, const TouchRestrict& touchRestrict, TouchTe…
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/panel/ |
H A D | render_sliding_panel.h | 38 …chTest(const Point& globalPoint, const Point& parentLocalPoint, const TouchRestrict& touchRestrict, 118 …const Offset& coordinateOffset, const TouchRestrict& touchRestrict, TouchTestResult& result) overr…
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/indexer/ |
H A D | render_indexer.h | 52 …const Offset& coordinateOffset, const TouchRestrict& touchRestrict, TouchTestResult& result) overr… 53 …chTest(const Point& globalPoint, const Point& parentLocalPoint, const TouchRestrict& touchRestrict,
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/pipeline_ng/ |
H A D | pipeline_context.cpp | 2441 touchRestrict.sourceType = point.sourceType; in OnTouchEvent() 2442 touchRestrict.touchEvent = point; in OnTouchEvent() 3022 touchRestrict.hitTestType = SourceType::MOUSE; in OnAccessibilityHoverEvent() 3046 touchRestrict.touchEvent.type = scaleEvent.type; in OnPenHoverEvent() 3050 touchRestrict.hitTestType = SourceType::MOUSE; in OnPenHoverEvent() 3125 touchRestrict.sourceType = event.sourceType; in OnMouseEvent() 3126 touchRestrict.hitTestType = SourceType::MOUSE; in OnMouseEvent() 3165 touchRestrict.sourceType = event.sourceType; in FlushMouseEvent() 3166 touchRestrict.hitTestType = SourceType::MOUSE; in FlushMouseEvent() 4789 touchRestrict.sourceType = point.sourceType; in OnTouchTargetHitTest() [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/text/ |
H A D | render_text.h | 57 …chTest(const Point& globalPoint, const Point& parentLocalPoint, const TouchRestrict& touchRestrict, 141 …const Offset& coordinateOffset, const TouchRestrict& touchRestrict, TouchTestResult& result) overr…
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/text_overlay/ |
H A D | render_text_overlay.h | 58 …chTest(const Point& globalPoint, const Point& parentLocalPoint, const TouchRestrict& touchRestrict, 75 …const Offset& coordinateOffset, const TouchRestrict& touchRestrict, TouchTestResult& result) overr…
|