/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/model/ |
H A D | model_test_ng.cpp | 335 TouchLocationInfo touchLocationInfo(0); variable 336 touchLocationInfo.touchType_ = TouchType::MOVE; 337 touchLocationInfo.localLocation_ = Offset(1.0f, 1.0f); 338 touchEventInfo.AddChangedTouchLocationInfo(std::move(touchLocationInfo)); 443 TouchLocationInfo touchLocationInfo(0); variable 444 touchLocationInfo.touchType_ = TouchType::DOWN; 445 touchLocationInfo.localLocation_ = Offset(1.0f, 1.0f); 450 touchLocationInfo.touchType_ = TouchType::MOVE; 456 touchLocationInfo.touchType_ = TouchType::UP; 461 touchLocationInfo.touchType_ = TouchType::CANCEL; [all …]
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/event/ |
H A D | state_style_manager_test_ng.cpp | 91 TouchLocationInfo touchLocationInfo = TouchLocationInfo(1); variable 92 touchLocationInfo.SetLocalLocation(Offset(100.0, 100.0)); 93 touchLocationInfo.SetTouchType(TouchType::DOWN); 94 touchEventInfo.AddTouchLocationInfo(std::move(touchLocationInfo)); 105 touchLocationInfo.SetTouchType(TouchType::UP); 250 TouchLocationInfo touchLocationInfo = TouchLocationInfo(1); variable 251 touchLocationInfo.SetLocalLocation(Offset(100.0, 100.0)); 252 touchLocationInfo.SetTouchType(TouchType::CANCEL); 285 TouchLocationInfo touchLocationInfo = TouchLocationInfo(1); variable 286 touchLocationInfo.SetLocalLocation(Offset(-100.0, -100.0)); [all …]
|
H A D | focus_hub_test_ng.cpp | 1149 TouchLocationInfo touchLocationInfo(1); variable 1150 touchLocationInfo.SetTouchType(TouchType::UP); 1151 touchEventInfo.AddTouchLocationInfo(std::move(touchLocationInfo));
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/swiper/ |
H A D | swiper_indicator_common_test_ng.cpp | 444 TouchLocationInfo touchLocationInfo("down", 0); variable 445 touchLocationInfo.SetTouchType(TouchType::DOWN); 446 touchLocationInfo.SetLocalLocation(Offset(100.f, 100.f)); 482 TouchLocationInfo touchLocationInfo("down", 0); variable 483 touchLocationInfo.SetTouchType(TouchType::DOWN); 484 touchLocationInfo.SetLocalLocation(Offset(100.f, 100.f)); 521 TouchLocationInfo touchLocationInfo("down", 0); variable 522 touchLocationInfo.SetTouchType(TouchType::DOWN); 523 touchLocationInfo.SetLocalLocation(Offset(100.f, 100.f)); 593 TouchLocationInfo touchLocationInfo("down", 0); variable [all …]
|
H A D | swiper_indicator_test_ng.cpp | 363 TouchLocationInfo touchLocationInfo("down", 0); variable 364 touchLocationInfo.SetTouchType(TouchType::DOWN); 366 infoSwiper.emplace_back(touchLocationInfo); 451 TouchLocationInfo touchLocationInfo("down", 0); variable 452 touchLocationInfo.SetTouchType(TouchType::DOWN); 454 EXPECT_TRUE(indicatorPattern->CheckIsTouchBottom(touchLocationInfo)); 462 EXPECT_TRUE(indicatorPattern->CheckIsTouchBottom(touchLocationInfo)); 715 TouchLocationInfo touchLocationInfo("down", 0); variable 716 touchLocationInfo.SetTouchType(TouchType::DOWN); 718 infoSwiper.emplace_back(touchLocationInfo);
|
H A D | swiper_arrow_test_ng.cpp | 862 TouchLocationInfo touchLocationInfo = TouchLocationInfo(1); variable 863 touchLocationInfo.SetLocalLocation(Offset(100.0, 100.0)); 864 touchLocationInfo.SetTouchType(TouchType::DOWN); 865 touchEventInfo.AddTouchLocationInfo(std::move(touchLocationInfo));
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/rich_editor/ |
H A D | rich_editor_pattern_testthree_ng.cpp | 506 TouchLocationInfo touchLocationInfo(0); variable 507 touchLocationInfo.touchType_ = TouchType::DOWN; 508 touchLocationInfo.localLocation_ = Offset(0.0f, 0.0f); 526 TouchLocationInfo touchLocationInfo(0); variable 527 touchLocationInfo.touchType_ = TouchType::UP; 528 touchLocationInfo.localLocation_ = Offset(0.0f, 0.0f); 546 TouchLocationInfo touchLocationInfo(0); variable 547 touchLocationInfo.touchType_ = TouchType::MOVE; 548 touchLocationInfo.localLocation_ = Offset(0.0f, 0.0f); 566 TouchLocationInfo touchLocationInfo(0); variable [all …]
|
H A D | rich_editor_overlay_test_ng.cpp | 943 TouchLocationInfo touchLocationInfo(0); variable 944 touchLocationInfo.touchType_ = TouchType::DOWN; 945 touchLocationInfo.localLocation_ = touchOffset; 946 touchEventInfo.AddTouchLocationInfo(std::move(touchLocationInfo));
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/gestures/ |
H A D | raw_recognizer.cpp | 131 TouchLocationInfo touchLocationInfo("onTouch", touchPoint.id); in CreateTouchEventInfo() local 133 touchLocationInfo.SetGlobalLocation(offset) in CreateTouchEventInfo() 136 touchLocationInfo.SetForce(touchPoint.force); in CreateTouchEventInfo() 138 touchLocationInfo.SetTiltX(touchPoint.tiltX.value()); in CreateTouchEventInfo() 141 touchLocationInfo.SetTiltY(touchPoint.tiltY.value()); in CreateTouchEventInfo() 143 touchLocationInfo.SetSourceTool(touchPoint.sourceTool); in CreateTouchEventInfo() 144 info.AddTouchLocationInfo(std::move(touchLocationInfo)); in CreateTouchEventInfo()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/ |
H A D | cj_common_ffi.cpp | 42 for (const OHOS::Ace::TouchLocationInfo& touchLocationInfo : touchLocationInfoList) { in TransformNativeTouchLocationInfo() local 44 ffiTouches.type = static_cast<uint8_t>(touchLocationInfo.GetTouchType()); in TransformNativeTouchLocationInfo() 45 ffiTouches.fingerId = touchLocationInfo.GetFingerId(); in TransformNativeTouchLocationInfo() 46 auto& globalLoc = touchLocationInfo.GetGlobalLocation(); in TransformNativeTouchLocationInfo() 49 auto& localLoc = touchLocationInfo.GetLocalLocation(); in TransformNativeTouchLocationInfo()
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/ |
H A D | test_ng.cpp | 105 TouchLocationInfo touchLocationInfo(1); in CreateTouchEventInfo() local 106 touchLocationInfo.SetTouchType(touchType); in CreateTouchEventInfo() 107 touchLocationInfo.SetLocalLocation(location); in CreateTouchEventInfo() 109 touchEventInfo.AddTouchLocationInfo(std::move(touchLocationInfo)); in CreateTouchEventInfo()
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/tabs/ |
H A D | tab_bar_event_test_ng.cpp | 555 TouchLocationInfo touchLocationInfo(1); variable 556 touchLocationInfo.SetTouchType(TouchType::DOWN); 557 touchLocationInfo.SetLocalLocation(Offset(0.f, 0.f)); 561 tabBarPattern_->HandleTouchEvent(touchLocationInfo); 996 TouchLocationInfo touchLocationInfo = TouchLocationInfo(1); variable 997 touchLocationInfo.SetLocalLocation(Offset(200.0, 30.0)); 998 touchLocationInfo.SetTouchType(TouchType::DOWN); 999 info.AddTouchLocationInfo(std::move(touchLocationInfo));
|
H A D | tabs_event_test_ng.cpp | 907 TouchLocationInfo touchLocationInfo(1); variable 908 touchLocationInfo.SetTouchType(TouchType::DOWN); 909 touchLocationInfo.SetLocalLocation(Offset(0.f, 0.f)); 912 tabBarPattern_->HandleTouchEvent(touchLocationInfo); 932 TouchLocationInfo touchLocationInfo(1); variable 933 touchLocationInfo.SetTouchType(TouchType::DOWN); 934 touchLocationInfo.SetLocalLocation(Offset(0.f, 0.f)); 937 tabBarPattern_->HandleTouchEvent(touchLocationInfo);
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/panel/ |
H A D | dragBar_pattern_test_ng.cpp | 247 TouchLocationInfo touchLocationInfo = TouchLocationInfo(i); variable 248 touchLocationInfo.SetTouchType(TOUCH_TYPES[i]); 249 touchLocationInfo.SetLocalLocation(LOCAL_LOCATIONS[i]); 250 touchEventInfo.AddTouchLocationInfo(std::move(touchLocationInfo));
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/text_input/ |
H A D | text_field_pattern_test.cpp | 1910 TouchLocationInfo touchLocationInfo(0); variable 1911 touchLocationInfo.touchType_ = TouchType::MOVE; 1912 touchLocationInfo.localLocation_ = Offset(0.0f, 0.0f); 1997 TouchLocationInfo touchLocationInfo(0); variable 1998 touchLocationInfo.touchType_ = TouchType::MOVE; 1999 touchLocationInfo.localLocation_ = Offset(0.0f, 0.0f); 2004 pattern->HandleTouchMove(touchLocationInfo); 2006 pattern->HandleTouchMove(touchLocationInfo); 2026 TouchLocationInfo touchLocationInfo(0); variable 2027 touchLocationInfo.touchType_ = TouchType::MOVE; [all …]
|
H A D | text_field_pattern_testtwo.cpp | 1387 TouchLocationInfo touchLocationInfo(0); variable 1388 touchLocationInfo.touchType_ = TouchType::MOVE; 1389 touchLocationInfo.localLocation_ = Offset(0.0f, 0.0f); 1390 touchEventInfo.AddTouchLocationInfo(std::move(touchLocationInfo)); 1391 pattern->UpdateCaretByTouchMove(touchLocationInfo); 1392 pattern->UpdateCaretByTouchMove(touchLocationInfo); 1396 pattern->UpdateCaretByTouchMove(touchLocationInfo); 1407 pattern->UpdateCaretByTouchMove(touchLocationInfo);
|
H A D | text_input_modify_test.cpp | 572 TouchLocationInfo touchLocationInfo(0); variable 573 touchLocationInfo.touchType_ = TouchType::DOWN; 574 touchLocationInfo.localLocation_ = Offset(0.0f, 0.0f); 575 touchEventInfo.AddTouchLocationInfo(std::move(touchLocationInfo));
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/form/ |
H A D | form_pattern_test.cpp | 150 TouchLocationInfo touchLocationInfo(1); variable 151 touchLocationInfo.SetTouchType(TouchType::DOWN); 152 event.AddTouchLocationInfo(std::move(touchLocationInfo)); 181 TouchLocationInfo touchLocationInfo(1); variable 182 touchLocationInfo.SetTouchType(TouchType::UP); 183 event.AddTouchLocationInfo(std::move(touchLocationInfo)); 221 TouchLocationInfo touchLocationInfo(1); variable 222 touchLocationInfo.SetTouchType(TouchType::DOWN); 223 event.AddTouchLocationInfo(std::move(touchLocationInfo));
|
H A D | form_test_ng.cpp | 1058 TouchLocationInfo touchLocationInfo(1); variable 1059 touchLocationInfo.SetTouchType(TouchType::UP); 1060 event.AddTouchLocationInfo(std::move(touchLocationInfo)); 1081 TouchLocationInfo touchLocationInfo(1); variable 1082 touchLocationInfo.SetTouchType(TouchType::DOWN); 1083 event.AddTouchLocationInfo(std::move(touchLocationInfo));
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/slider/ |
H A D | slider_pattern_test_ng.cpp | 203 TouchLocationInfo touchLocationInfo(1); variable 204 touchLocationInfo.SetTouchType(TouchType::UP); 207 info.AddTouchLocationInfo(std::move(touchLocationInfo)); 251 TouchLocationInfo touchLocationInfo(1); variable 252 touchLocationInfo.SetTouchType(TouchType::UP); 254 info.AddTouchLocationInfo(std::move(touchLocationInfo));
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/option/ |
H A D | option_test_ng.cpp | 237 TouchLocationInfo touchLocationInfo(1); variable 238 touchLocationInfo.SetTouchType(TouchType::UP); 239 touchInfo.AddTouchLocationInfo(std::move(touchLocationInfo));
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/menu/ |
H A D | menu_patternEx_test_ng.cpp | 244 auto touchLocationInfo = locationInfo.SetGlobalLocation(globalLocation); variable 245 info.touches_.emplace_back(touchLocationInfo); 265 auto touchLocationInfo = locationInfo.SetGlobalLocation(globalLocation); variable 266 info.touches_.emplace_back(touchLocationInfo); 285 auto touchLocationInfo = locationInfo.SetGlobalLocation(globalLocation); variable 286 info.touches_.emplace_back(touchLocationInfo); 1006 auto touchLocationInfo = locationInfo.SetGlobalLocation(globalLocation); variable 1007 info.touches_.emplace_back(touchLocationInfo);
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/button/ |
H A D | button_test_ng.cpp | 1156 TouchLocationInfo touchLocationInfo(1); variable 1157 touchLocationInfo.SetTouchType(TouchType::DOWN); 1158 info.AddTouchLocationInfo(std::move(touchLocationInfo)); 1163 touchLocationInfo.SetTouchType(TouchType::UP); 1165 info.AddTouchLocationInfo(std::move(touchLocationInfo));
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/select_overlay/ |
H A D | select_overlay_test_ng.cpp | 601 TouchLocationInfo touchLocationInfo(1); variable 602 touchLocationInfo.SetTouchType(TouchType::DOWN); 603 touchInfo.AddChangedTouchLocationInfo(std::move(touchLocationInfo)); 642 TouchLocationInfo touchLocationInfo(1); variable 643 touchLocationInfo.SetTouchType(TouchType::UP); 644 touchInfo.AddChangedTouchLocationInfo(std::move(touchLocationInfo)); 683 TouchLocationInfo touchLocationInfo(1); variable 684 touchLocationInfo.SetTouchType(TouchType::MOVE); 685 touchInfo.AddChangedTouchLocationInfo(std::move(touchLocationInfo));
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/checkboxgroup/ |
H A D | checkboxgroup_test_ng.cpp | 1632 TouchLocationInfo touchLocationInfo(-1); variable 1633 touchLocationInfo.SetTouchType(TouchType::UP); 1636 touchEventInfo.AddTouchLocationInfo(std::move(touchLocationInfo)); 1639 touchLocationInfo.SetTouchType(TouchType::CANCEL);
|