/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/ |
H A D | text_base.cpp | 137 if (info.GetTouches().empty()) { in DoGestureSelection() 140 auto touchType = info.GetTouches().front().GetTouchType(); in DoGestureSelection() 160 if (!isStarted_ || info.GetTouches().empty()) { in DoTextSelectionTouchMove() 163 auto localOffset = info.GetTouches().front().GetLocalLocation(); in DoTextSelectionTouchMove()
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/event/ |
H A D | drag_event_test_ng_property_config.cpp | 167 auto point = Point(info.GetTouches().front().GetGlobalLocation().GetX(), 168 info.GetTouches().front().GetGlobalLocation().GetY()); 169 dragDropManager->SetDraggingPointer(info.GetTouches().front().GetFingerId()); 171 dragEventActuator->HandleDragDampingMove(point, info.GetTouches().front().GetFingerId()); 174 EXPECT_FALSE(!dragDropManager->IsSameDraggingPointer(info.GetTouches().front().GetFingerId())); 181 dragEventActuator->HandleDragDampingMove(point, info.GetTouches().front().GetFingerId()); 191 dragEventActuator->HandleDragDampingMove(point, info.GetTouches().front().GetFingerId()); 203 dragEventActuator->HandleDragDampingMove(point, info.GetTouches().front().GetFingerId()); 211 dragEventActuator->HandleDragDampingMove(point, info.GetTouches().front().GetFingerId()); 789 …info.GetTouches().front().GetGlobalLocation().GetX(), info.GetTouches().front().GetGlobalLocation(… [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/indexer/ |
H A D | render_indexer.cpp | 238 if (info.GetTouches().empty()) { in HandleTouchDown() 241 touchPostion_ = info.GetTouches().front().GetLocalLocation(); in HandleTouchDown() 249 if (!info.GetTouches().empty()) { in HandleTouchUp() 250 touchPostion_ = info.GetTouches().front().GetLocalLocation(); in HandleTouchUp() 261 if (info.GetTouches().empty()) { in HandleTouchMove() 264 touchPostion_ = info.GetTouches().front().GetLocalLocation(); in HandleTouchMove()
|
H A D | render_indexer_circle.cpp | 191 if (info.GetTouches().empty()) { in HandleTouchDown() 194 Offset position = info.GetTouches().front().GetLocalLocation(); in HandleTouchDown() 250 if (info.GetTouches().empty()) { in HandleTouchMove() 253 Offset position = info.GetTouches().front().GetLocalLocation(); in HandleTouchMove()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_v2/indexer/ |
H A D | render_indexer.cpp | 226 if (info.GetTouches().empty()) { in HandleTouchDown() 230 touchPostion_ = info.GetTouches().front().GetLocalLocation(); in HandleTouchDown() 247 if (info.GetTouches().empty()) { in HandleTouchUp() 251 touchPostion_ = info.GetTouches().front().GetLocalLocation(); in HandleTouchUp() 266 if (info.GetTouches().empty()) { in HandleTouchMove() 270 touchPostion_ = info.GetTouches().front().GetLocalLocation(); in HandleTouchMove()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_v2/pattern_lock/ |
H A D | render_pattern_lock.cpp | 30 if (patternLock && !info.GetTouches().empty()) { in RenderPatternLock() 31 const auto& locationInfo = info.GetTouches().front(); in RenderPatternLock() 42 if (patternLock && !info.GetTouches().empty()) { in RenderPatternLock() 43 const auto& locationInfo = info.GetTouches().front(); in RenderPatternLock()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/drag_bar/ |
H A D | render_drag_bar.cpp | 240 if (dragBar && !info.GetTouches().empty()) { in InitializeRecognizer() 241 dragBar->HandleTouchDown(info.GetTouches().front().GetGlobalLocation()); in InitializeRecognizer() 246 if (dragBar && !info.GetTouches().empty()) { in InitializeRecognizer() 247 dragBar->HandleTouchMove(info.GetTouches().front().GetGlobalLocation()); in InitializeRecognizer()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/rich_text/ |
H A D | render_rich_text.cpp | 33 sp->prevPos_ = info.GetTouches().front().GetLocalLocation().GetY(); in RenderRichText() 46 sp->ProcessMove(info.GetTouches().front().GetLocalLocation().GetY()); in RenderRichText()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/panel/ |
H A D | drag_bar_pattern.cpp | 281 if (info.GetTouches().empty()) { in HandleTouchEvent() 284 auto touchType = info.GetTouches().front().GetTouchType(); in HandleTouchEvent() 285 auto frontInfo = info.GetTouches().front(); in HandleTouchEvent()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/text/ |
H A D | render_text.cpp | 339 if (text && !info.GetTouches().empty()) { in OnTouchTestHit() 341 info.GetTouches().front().GetLocalLocation() - text->GetGlobalOffset()); in OnTouchTestHit() 347 if (text && !info.GetTouches().empty()) { in OnTouchTestHit() 349 info.GetTouches().front().GetLocalLocation() - text->GetGlobalOffset()); in OnTouchTestHit() 355 if (text && !info.GetTouches().empty()) { in OnTouchTestHit() 357 … GestureType::TOUCH_END, info.GetTouches().front().GetLocalLocation() - text->GetGlobalOffset()); in OnTouchTestHit() 363 if (text && !info.GetTouches().empty()) { in OnTouchTestHit() 365 info.GetTouches().front().GetLocalLocation() - text->GetGlobalOffset()); in OnTouchTestHit()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/button/ |
H A D | toggle_button_pattern.cpp | 189 if (info.GetTouches().front().GetTouchType() == TouchType::DOWN) { in InitTouchEvent() 193 if (info.GetTouches().front().GetTouchType() == TouchType::UP || in InitTouchEvent() 194 info.GetTouches().front().GetTouchType() == TouchType::CANCEL) { in InitTouchEvent()
|
H A D | button_pattern.cpp | 233 if (info.GetTouches().front().GetTouchType() == TouchType::DOWN) { in InitTouchEvent() 237 if (info.GetTouches().front().GetTouchType() == TouchType::UP || in InitTouchEvent() 238 info.GetTouches().front().GetTouchType() == TouchType::CANCEL) { in InitTouchEvent()
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/rich_editor/ |
H A D | rich_editor_pattern_testthree_ng.cpp | 511 auto touchInfo = touchEventInfo.GetTouches().front(); 531 auto touchInfo = touchEventInfo.GetTouches().front(); 551 auto touchInfo = touchEventInfo.GetTouches().front(); 571 auto touchInfo = touchEventInfo.GetTouches().front();
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/overlay/ |
H A D | sheet_drag_bar_pattern.cpp | 176 auto touchType = info.GetTouches().front().GetTouchType(); in HandleTouchEvent() 177 auto frontInfo = info.GetTouches().front(); in HandleTouchEvent()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/stepper/ |
H A D | render_stepper.cpp | 909 if (info.GetTouches().empty()) { in HandleTouchDown() 912 const auto& locationInfo = info.GetTouches().front(); in HandleTouchDown() 936 if (!info.GetTouches().empty()) { in HandleTouchUp() 937 fingerId = info.GetTouches().front().GetFingerId(); in HandleTouchUp() 954 if (info.GetTouches().empty()) { in HandleTouchMove() 957 const auto& locationInfo = info.GetTouches().front(); in HandleTouchMove()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/tool_bar/ |
H A D | render_tool_bar_item.cpp | 69 if (info.GetTouches().empty()) { in HandleMoveEvent() 72 const auto& locationInfo = info.GetTouches().front(); in HandleMoveEvent()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/picker/ |
H A D | datepicker_column_pattern.cpp | 140 if (info.GetTouches().front().GetTouchType() == TouchType::DOWN) { in ParseTouchListener() 141 … pattern->SetLocalDownDistance(info.GetTouches().front().GetLocalLocation().GetDistance()); in ParseTouchListener() 144 if (info.GetTouches().front().GetTouchType() == TouchType::UP || in ParseTouchListener() 145 info.GetTouches().front().GetTouchType() == TouchType::CANCEL) { in ParseTouchListener() 149 if (info.GetTouches().front().GetTouchType() == TouchType::MOVE) { in ParseTouchListener() 150 …if (std::abs(info.GetTouches().front().GetLocalLocation().GetDistance() - pattern->GetLocalDownDis… in ParseTouchListener() 224 if (info.GetTouches().front().GetTouchType() == TouchType::DOWN) { in CreateItemTouchEventListener() 237 if (info.GetTouches().front().GetTouchType() == TouchType::UP) { in CreateItemTouchEventListener()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/checkable/ |
H A D | render_checkable.cpp | 159 if (info.GetTouches().empty()) { in InitTouchRecognizer() 162 const auto& locationInfo = info.GetTouches().front(); in InitTouchRecognizer()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/toggle/ |
H A D | render_toggle.cpp | 104 if (!isMoveEventValid_ || info.GetTouches().empty()) { in HandleMoveEvent() 107 const auto& locationInfo = info.GetTouches().front(); in HandleMoveEvent()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/time_picker/ |
H A D | timepicker_column_pattern.cpp | 208 if (info.GetTouches().front().GetTouchType() == TouchType::DOWN) { in ParseTouchListener() 210 … pattern->SetLocalDownDistance(info.GetTouches().front().GetLocalLocation().GetDistance()); in ParseTouchListener() 212 if (info.GetTouches().front().GetTouchType() == TouchType::UP || in ParseTouchListener() 213 info.GetTouches().front().GetTouchType() == TouchType::CANCEL) { in ParseTouchListener() 217 if (info.GetTouches().front().GetTouchType() == TouchType::MOVE) { in ParseTouchListener() 218 …if (std::abs(info.GetTouches().front().GetLocalLocation().GetDistance() - pattern->GetLocalDownDis… in ParseTouchListener() 295 if (info.GetTouches().front().GetTouchType() == TouchType::DOWN) { in CreateItemTouchEventListener() 308 if (info.GetTouches().front().GetTouchType() == TouchType::UP) { in CreateItemTouchEventListener()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/bubble/ |
H A D | bubble_pattern.cpp | 168 if (info.GetTouches().empty()) { in HandleTouchEvent() 171 auto touchType = info.GetTouches().front().GetTouchType(); in HandleTouchEvent() 172 auto clickPos = info.GetTouches().front().GetLocalLocation(); in HandleTouchEvent() 304 auto touchType = info.GetTouches().front().GetTouchType(); in ButtonOnPress()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/select_popup/ |
H A D | render_select_popup.cpp | 33 selectPopup->HandleRawEvent(info.GetTouches().front().GetLocalLocation()); in RenderSelectPopup() 413 auto touches = info.GetTouches(); in ProcessTouchDown() 431 auto touches = info.GetTouches(); in ProcessTouchUp()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/scroll/inner/ |
H A D | scroll_bar.cpp | 357 if (info.GetTouches().empty()) { in SetGestureEvent() 360 auto touch = info.GetTouches().front(); in SetGestureEvent() 379 if ((info.GetTouches().front().GetTouchType() == TouchType::UP || in SetGestureEvent() 380 info.GetTouches().front().GetTouchType() == TouchType::CANCEL) && in SetGestureEvent() 381 (info.GetTouches().size() <= 1)) { in SetGestureEvent()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/calendar/ |
H A D | calendar_month_pattern.cpp | 240 if (info.GetTouches().front().GetTouchType() == TouchType::DOWN) { in InitTouchEvent() 241 calendarPattern->OnTouchEvent(info.GetTouches().front().GetLocalLocation(), true); in InitTouchEvent() 243 if (info.GetTouches().front().GetTouchType() == TouchType::UP || in InitTouchEvent() 244 info.GetTouches().front().GetTouchType() == TouchType::CANCEL) { in InitTouchEvent() 245 calendarPattern->OnTouchEvent(info.GetTouches().front().GetLocalLocation(), false); in InitTouchEvent()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/toggle/ |
H A D | switch_pattern.cpp | 389 if (info.GetTouches().front().GetTouchType() == TouchType::DOWN) { in InitTouchEvent() 392 if (info.GetTouches().front().GetTouchType() == TouchType::UP || in InitTouchEvent() 393 info.GetTouches().front().GetTouchType() == TouchType::CANCEL) { in InitTouchEvent()
|