Home
last modified time | relevance | path

Searched refs:tempTouchEvent (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/
H A Dnode_gesture_modifier.cpp237 auto tempTouchEvent = NG::ConvertToTouchEvent(info.GetPointerEvent()); in ConvertIMMEventToTouchEvent() local
238 touchEvent.action = static_cast<int32_t>(tempTouchEvent.type); in ConvertIMMEventToTouchEvent()
239 touchEvent.sourceType = static_cast<int32_t>(tempTouchEvent.sourceType); in ConvertIMMEventToTouchEvent()
240 touchEvent.timeStamp = tempTouchEvent.time.time_since_epoch().count(); in ConvertIMMEventToTouchEvent()
241 touchEvent.actionTouchPoint.pressure = tempTouchEvent.force; in ConvertIMMEventToTouchEvent()
242 ConvertTouchPointsToPoints(info, tempTouchEvent.pointers, points); in ConvertIMMEventToTouchEvent()
243 if (tempTouchEvent.pointers.size() > 0) { in ConvertIMMEventToTouchEvent()
253 touchEvent.touchPointSize = tempTouchEvent.pointers.size() < MAX_POINTS ? in ConvertIMMEventToTouchEvent()
254 tempTouchEvent.pointers.size() : MAX_POINTS; in ConvertIMMEventToTouchEvent()
H A Dnode_common_modifier.cpp6809 auto tempTouchEvent = NG::ConvertToTouchEvent((*historyMMIPointerEventIterator)); in SetOnTouch() local
6810 allHistoryEvents[i].action = static_cast<int32_t>(tempTouchEvent.type); in SetOnTouch()
6811 allHistoryEvents[i].sourceType = static_cast<int32_t>(tempTouchEvent.sourceType); in SetOnTouch()
6812 allHistoryEvents[i].timeStamp = tempTouchEvent.time.time_since_epoch().count(); in SetOnTouch()
6822 allHistoryEvents[i].actionTouchPoint.screenX = tempTouchEvent.screenX; in SetOnTouch()
6823 allHistoryEvents[i].actionTouchPoint.screenY = tempTouchEvent.screenY; in SetOnTouch()
6824 allHistoryEvents[i].actionTouchPoint.pressure = tempTouchEvent.force; in SetOnTouch()
6826 tempTouchEvent.pointers, allHistoryPoints[i], *historyLoacationIterator, usePx); in SetOnTouch()
6827 if (tempTouchEvent.pointers.size() > 0) { in SetOnTouch()
6831tempTouchEvent.pointers.size() < MAX_POINTS ? tempTouchEvent.pointers.size() : MAX_POINTS; in SetOnTouch()