Home
last modified time | relevance | path

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

/ohos5.0/foundation/multimodalinput/input/service/event_handler/src/
H A Devent_normalize_handler.cpp750 thread_local static int32_t lastDirection = 0; in JudgeIfSwipeInward() local
771 lastDirection = -1; // -1 means direction from right to left in JudgeIfSwipeInward()
774 lastDirection = 1; // 1 means direction from left to right in JudgeIfSwipeInward()
780 SwipeInwardProcess(pointerEvent, type, event, &angleTolerance, lastDirection); in JudgeIfSwipeInward()
786 …um libinput_event_type type, libinput_event* event, int32_t* angleTolerance, int32_t lastDirection) in SwipeInwardProcess() argument
822 (pointerItem.GetDisplayX() - lastPointerX) * lastDirection < 0) && lastPointerX) { in SwipeInwardProcess()
/ohos5.0/foundation/multimodalinput/input/service/event_handler/include/
H A Devent_normalize_handler.h61 …m libinput_event_type type, libinput_event* event, int32_t* angleTolerance, int32_t lastDirection);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/marquee/
H A Dmarquee_pattern.h46 MarqueeDirection lastDirection = MarqueeDirection::LEFT; member
H A Dmarquee_pattern.cpp233 lastAnimationParam_.lastDirection = isRtl ? in PlayMarqueeAnimation()
397 auto factor = lastAnimationParam_.lastDirection == MarqueeDirection::LEFT ? -1.0f : 1.0f; in GetTextOffset()