Home
last modified time | relevance | path

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

/ohos5.0/foundation/multimodalinput/input/service/event_handler/src/
H A Devent_normalize_handler.cpp788 thread_local static int32_t lastPointerX; in SwipeInwardProcess() local
814 lastPointerX = 0; in SwipeInwardProcess()
820 if ((std::abs(pointerItem.GetDisplayX() - lastPointerX) * SWIPE_INWARD_ANGLE_JUDGE < in SwipeInwardProcess()
822 (pointerItem.GetDisplayX() - lastPointerX) * lastDirection < 0) && lastPointerX) { in SwipeInwardProcess()
826 lastPointerX = pointerItem.GetDisplayX(); in SwipeInwardProcess()