Searched refs:touchInfoList (Results 1 – 5 of 5) sorted by relevance
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/xcomponent/ |
H A D | render_xcomponent.cpp | 102 std::list<TouchLocationInfo> touchInfoList; in HandleTouchEvent() local 104 touchInfoList = info.GetChangedTouches(); in HandleTouchEvent() 107 touchInfoList = info.GetChangedTouches(); in HandleTouchEvent() 109 touchInfoList = info.GetTouches(); in HandleTouchEvent() 126 if (touchInfoList.empty()) { in HandleTouchEvent() 129 const auto& locationInfo = touchInfoList.front(); in HandleTouchEvent() 150 …const std::list<TouchLocationInfo>& touchInfoList, const int64_t timeStamp, const TouchType& touch… in SetTouchPoint() argument 153 …touchInfoList.size() <= OH_MAX_TOUCH_POINTS_NUMBER ? touchInfoList.size() : OH_MAX_TOUCH_POINTS_NU… in SetTouchPoint() 156 …for (auto iterator = touchInfoList.begin(); iterator != touchInfoList.end() && i < OH_MAX_TOUCH_PO… in SetTouchPoint()
|
H A D | render_xcomponent.h | 128 …const std::list<TouchLocationInfo>& touchInfoList, const int64_t timeStamp, const TouchType& touch…
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/xcomponent/ |
H A D | xcomponent_pattern.cpp | 1086 auto touchInfoList = info.GetChangedTouches(); in HandleTouchEvent() local 1087 if (touchInfoList.empty()) { in HandleTouchEvent() 1090 const auto& touchInfo = touchInfoList.front(); in HandleTouchEvent() 1103 auto touchType = touchInfoList.front().GetTouchType(); in HandleTouchEvent() 1106 …localOffset.GetX(), localOffset.GetY(), touchInfo.GetFingerId(), touchInfoList.front().GetTouchTyp… in HandleTouchEvent() 1210 …const std::list<TouchLocationInfo>& touchInfoList, const int64_t timeStamp, const TouchType& touch… in SetTouchPoint() argument 1213 …touchInfoList.size() <= OH_MAX_TOUCH_POINTS_NUMBER ? touchInfoList.size() : OH_MAX_TOUCH_POINTS_NU… in SetTouchPoint() 1216 …for (auto iterator = touchInfoList.begin(); iterator != touchInfoList.end() && index < OH_MAX_TOUC… in SetTouchPoint() 1263 const std::list<TouchLocationInfo>& touchInfoList) in SetHistoryPoint() argument 1266 for (auto&& item : touchInfoList) { in SetHistoryPoint()
|
H A D | xcomponent_pattern.h | 376 … const std::list<TouchLocationInfo>& touchInfoList, int64_t timeStamp, const TouchType& touchType); 402 …tiveXComponent_HistoricalPoint> SetHistoryPoint(const std::list<TouchLocationInfo>& touchInfoList);
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/xcomponent/ |
H A D | xcomponent_test_ng.cpp | 804 std::list<TouchLocationInfo> touchInfoList; variable 815 touchInfoList.push_back(item); 818 auto pVector = pattern->SetHistoryPoint(touchInfoList); 823 EXPECT_EQ(touchInfoList.size(), pVector.size());
|