Home
last modified time | relevance | path

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

/foundation/multimodalinput/input/service/event_handler/src/
H A Devent_normalize_handler.cpp883 static int32_t lastDirection = 0; in JudgeIfSwipeInward() local
904 lastDirection = -1; // -1 means direction from right to left in JudgeIfSwipeInward()
907 lastDirection = 1; // 1 means direction from left to right in JudgeIfSwipeInward()
913 SwipeInwardProcess(pointerEvent, type, event, &angleTolerance, lastDirection); in JudgeIfSwipeInward()
922 enum libinput_event_type type, libinput_event* event, int32_t* angleTolerance, int32_t lastDirection) in SwipeInwardProcess()
958 (pointerItem.GetDisplayX() - lastPointerX) * lastDirection < 0) && lastPointerX) { in SwipeInwardProcess()
921 SwipeInwardProcess(std::shared_ptr<PointerEvent> pointerEvent, enum libinput_event_type type, libinput_event* event, int32_t* angleTolerance, int32_t lastDirection) SwipeInwardProcess() argument
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/marquee/
H A Dmarquee_pattern.h46 MarqueeDirection lastDirection = MarqueeDirection::LEFT; member
H A Dmarquee_pattern.cpp212 lastAnimationParam_.lastDirection = isRtl ? in PlayMarqueeAnimation()
376 auto factor = lastAnimationParam_.lastDirection == MarqueeDirection::LEFT ? -1.0f : 1.0f; in GetTextOffset()
/foundation/multimodalinput/input/service/event_handler/include/
H A Devent_normalize_handler.h62 enum libinput_event_type type, libinput_event* event, int32_t* angleTolerance, int32_t lastDirection);

Completed in 4 milliseconds