/foundation/multimodalinput/input/service/touch_event_normalize/src/ |
H A D | touch_gesture_detector.cpp | 172 std::unordered_set<SlideState> directions; in HandlePinchMoveEvent() local 185 directions.insert(direction); in HandlePinchMoveEvent() 192 if (!InOppositeDirections(directions)) { in HandlePinchMoveEvent() 203 bool TouchGestureDetector::InOppositeDirections(const std::unordered_set<SlideState> &directions) const in InOppositeDirections() 205 return (((directions.find(SlideState::DIRECTION_DOWN) != directions.cend()) && in InOppositeDirections() 206 (directions.find(SlideState::DIRECTION_UP) != directions.cend())) || in InOppositeDirections() 207 ((directions.find(SlideState::DIRECTION_LEFT) != directions in InOppositeDirections() 402 std::unordered_set<TouchGestureDetector::SlideState> directions; ClacFingerMoveDirection() local [all...] |
/foundation/arkui/ace_engine/interfaces/native/ |
H A D | native_gesture.h | 131 * @brief Enumerates gesture directions. 136 /** All directions. */ 162 * @brief Defines a set of gesture directions. 164 * Example: ArkUI_GestureDirectionMask directions = GESTURE_DIRECTION_LEFT | GESTURE_DIRECTION_RIGHT \n 165 * This example indicates that the leftward and rightward directions are supported. \n 709 * @param directions Indicates the pan direction. The value supports the AND (&) and OR (\|) operations. 715 int32_t fingersNum, ArkUI_GestureDirectionMask directions, double distanceNum); 758 * @param directions Indicates the swipe direction. 764 int32_t fingersNum, ArkUI_GestureDirectionMask directions, double speedNum);
|
/foundation/arkui/ace_engine/interfaces/native/node/ |
H A D | gesture_impl.h | 39 ArkUI_GestureRecognizer* CreateSwipeGesture(int32_t fingersNum, ArkUI_GestureDirectionMask directions, double speedNum);
|
H A D | gesture_impl.cpp | 442 ArkUI_GestureRecognizer* CreateSwipeGesture(int32_t fingers, ArkUI_GestureDirectionMask directions, double speed) in CreateSwipeGesture() argument 452 directions, speedNum, ndkGesture); in CreateSwipeGesture()
|
/foundation/multimodalinput/input/service/touch_event_normalize/include/ |
H A D | touch_gesture_detector.h | 88 bool InOppositeDirections(const std::unordered_set<SlideState> &directions) const;
|
/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/ |
H A D | node_gesture_modifier.cpp | 120 ArkUIGesture* createSwipeGesture(ArkUI_Int32 fingers, ArkUI_Int32 directions, ArkUI_Float64 speed, void* userData) in createSwipeGesture() argument 123 if (static_cast<uint32_t>(directions) & ArkUI_GESTURE_DIRECTION_HORIZONTAL) { in createSwipeGesture() 126 if (static_cast<uint32_t>(directions) & ArkUI_GESTURE_DIRECTION_VERTICAL) { in createSwipeGesture()
|
H A D | node_image_modifier.cpp | 56 const std::vector<ResizableOption> directions = { ResizableOption::TOP, ResizableOption::RIGHT, member 117 auto direction = directions[index / NUM_3]; in SetResizableFromVec()
|
H A D | node_common_modifier.cpp | 531 void SetBorderImageSlice(RefPtr<BorderImage>& borderImage, const std::vector<BorderImageDirection>& directions, in SetBorderImageSlice() argument 538 auto direction = directions[index / NUM_3]; in SetBorderImageSlice() 560 void SetBorderImageWidth(RefPtr<BorderImage>& borderImage, const std::vector<BorderImageDirection>& directions, in SetBorderImageWidth() argument 567 auto direction = directions[index / NUM_3]; in SetBorderImageWidth() 574 void SetBorderImageOutset(RefPtr<BorderImage>& borderImage, const std::vector<BorderImageDirection>& directions, in SetBorderImageOutset() argument 581 auto direction = directions[index / NUM_3]; in SetBorderImageOutset() 1545 std::vector<BorderImageDirection> directions = { BorderImageDirection::TOP, BorderImageDirection::RIGHT, in SetBorderImage() local 1547 SetBorderImageSlice(borderImage, directions, options, optionsLength, loc); // read 12 double in SetBorderImage() 1549 SetBorderImageWidth(borderImage, directions, options, optionsLength, loc); // read 12 double in SetBorderImage() 1550 SetBorderImageOutset(borderImage, directions, option in SetBorderImage() 1919 std::vector<ResizableOption> directions = { ResizableOption::TOP, ResizableOption::BOTTOM, ResizableOption::LEFT, SetResizableFromVec() local [all...] |
/foundation/arkui/ace_engine/test/unittest/core/pattern/dialog/ |
H A D | dialog_test_ng.cpp | 926 const DialogButtonDirection directions[] = { DialogButtonDirection::AUTO, DialogButtonDirection::HORIZONTAL, in HWTEST_F() local 933 for (size_t i = 0; i < sizeof(directions) / sizeof(directions[0]); i++) { in HWTEST_F() 939 props.buttonDirection = directions[i]; in HWTEST_F() 945 EXPECT_EQ(dialogPattern->GetDialogProperties().buttonDirection, directions[i]); in HWTEST_F()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/ |
H A D | arkComponent.js | 27849 this.directions = undefined; 27856 this.directions === another.directions && 27865 this.directions = undefined; 27872 this.directions === another.directions && 27887 this.value.ids, this.value.directions, this.value.positions); 27892 !isBaseOrResourceEqual(this.stageValue.directions, this.value.directions) || 27906 this.value.ids, this.value.directions, thi [all...] |
/foundation/arkui/ace_engine/frameworks/core/interfaces/cjui/ |
H A D | cjui_api.h | 1336 ArkUI_Int32 fingers, ArkUI_Int32 directions, ArkUI_Float64 speed, void* userData);
|
/foundation/arkui/ace_engine/frameworks/core/interfaces/arkoala/ |
H A D | arkoala_api.h | 2953 ArkUI_Int32 fingers, ArkUI_Int32 directions, ArkUI_Float64 speed, void* userData);
|