Searched refs:lastDirection (Results 1 - 4 of 4) sorted by relevance
/foundation/multimodalinput/input/service/event_handler/src/ |
H A D | event_normalize_handler.cpp | 883 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 D | marquee_pattern.h | 46 MarqueeDirection lastDirection = MarqueeDirection::LEFT; member
|
H A D | marquee_pattern.cpp | 212 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 D | event_normalize_handler.h | 62 enum libinput_event_type type, libinput_event* event, int32_t* angleTolerance, int32_t lastDirection);
|
Completed in 5 milliseconds