Home
last modified time | relevance | path

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

/foundation/multimodalinput/input/service/event_handler/src/
H A Devent_normalize_handler.cpp924 static int32_t lastPointerX; in SwipeInwardProcess() local
950 lastPointerX = 0; in SwipeInwardProcess()
956 if ((std::abs(pointerItem.GetDisplayX() - lastPointerX) * SWIPE_INWARD_ANGLE_JUDGE < in SwipeInwardProcess()
958 (pointerItem.GetDisplayX() - lastPointerX) * lastDirection < 0) && lastPointerX) { in SwipeInwardProcess()
962 lastPointerX = pointerItem.GetDisplayX(); in SwipeInwardProcess()

Completed in 2 milliseconds