/foundation/arkui/ace_engine/test/unittest/core/event/ |
H A D | event_manager_test_ng_new.cpp | 69 DEFAULT_PAN_FINGER, PanDirection { PanDirection::HORIZONTAL }, DEFAULT_PAN_DISTANCE.ConvertToPx()); in HWTEST_F() 72 DEFAULT_PAN_FINGER, PanDirection { PanDirection::HORIZONTAL }, DEFAULT_PAN_DISTANCE.ConvertToPx()); in HWTEST_F() 76 DEFAULT_PAN_FINGER, PanDirection { PanDirection::VERTICAL }, DEFAULT_PAN_DISTANCE.ConvertToPx()); in HWTEST_F() 79 DEFAULT_PAN_FINGER, PanDirection { PanDirection::VERTICAL }, DEFAULT_PAN_DISTANCE.ConvertToPx()); in HWTEST_F() 83 DEFAULT_PAN_FINGER, PanDirection { PanDirection::ALL }, DEFAULT_PAN_DISTANCE.ConvertToPx()); in HWTEST_F() 86 DEFAULT_PAN_FINGER, PanDirection { PanDirection::ALL }, DEFAULT_PAN_DISTANCE.ConvertToPx()); in HWTEST_F() 149 DEFAULT_PAN_FINGER, PanDirection { PanDirection::HORIZONTAL }, DEFAULT_PAN_DISTANCE.ConvertToPx()); in HWTEST_F() 152 DEFAULT_PAN_FINGER, PanDirection { PanDirection::HORIZONTAL }, DEFAULT_PAN_DISTANCE.ConvertToPx()); in HWTEST_F() 156 DEFAULT_PAN_FINGER, PanDirection { PanDirection::VERTICAL }, DEFAULT_PAN_DISTANCE.ConvertToPx()); in HWTEST_F() 159 DEFAULT_PAN_FINGER, PanDirection { PanDirection::VERTICAL }, DEFAULT_PAN_DISTANCE in HWTEST_F() [all...] |
H A D | event_manager_test_ng.cpp | 1418 DEFAULT_PAN_FINGER, PanDirection { PanDirection::HORIZONTAL }, DEFAULT_PAN_DISTANCE.ConvertToPx()); in HWTEST_F() 1423 DEFAULT_PAN_FINGER, PanDirection { PanDirection::VERTICAL }, DEFAULT_PAN_DISTANCE.ConvertToPx()); in HWTEST_F() 1428 DEFAULT_PAN_FINGER, PanDirection { PanDirection::LEFT }, DEFAULT_PAN_DISTANCE.ConvertToPx()); in HWTEST_F() 1433 DEFAULT_PAN_FINGER, PanDirection { PanDirection::RIGHT }, DEFAULT_PAN_DISTANCE.ConvertToPx()); in HWTEST_F() 1438 DEFAULT_PAN_FINGER, PanDirection { PanDirection::UP }, DEFAULT_PAN_DISTANCE.ConvertToPx()); in HWTEST_F() 1443 DEFAULT_PAN_FINGER, PanDirection { PanDirection::DOWN }, DEFAULT_PAN_DISTANCE.ConvertToPx()); in HWTEST_F() 1448 DEFAULT_PAN_FINGER, PanDirection { PanDirection::ALL }, DEFAULT_PAN_DISTANCE.ConvertToPx()); in HWTEST_F() 1489 DEFAULT_PAN_FINGER, PanDirection { PanDirection::HORIZONTAL }, DEFAULT_PAN_DISTANCE.ConvertToPx()); in HWTEST_F() 1492 DEFAULT_PAN_FINGER, PanDirection { PanDirection::HORIZONTAL }, DEFAULT_PAN_DISTANCE.ConvertToPx()); in HWTEST_F() 1496 DEFAULT_PAN_FINGER, PanDirection { PanDirection::VERTICAL }, DEFAULT_PAN_DISTANCE in HWTEST_F() [all...] |
H A D | pan_event_test_ng.cpp | 53 constexpr Dimension DEFAULT_PAN_DISTANCE = 5.0_vp; member 104 EXPECT_EQ(panEventActuator->distance_, DEFAULT_PAN_DISTANCE.ConvertToPx()); in HWTEST_F()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/event/ |
H A D | pan_event.cpp | 30 if (!isOverrideDistance && LessOrEqual(distance_, DEFAULT_PAN_DISTANCE.ConvertToPx())) { in PanEventActuator() 31 distance_ = DEFAULT_PAN_DISTANCE.ConvertToPx(); in PanEventActuator()
|
/foundation/arkui/ace_engine/frameworks/core/gestures/ |
H A D | gesture_info.h | 38 constexpr Dimension DEFAULT_PAN_DISTANCE = 5.0_vp; member 40 constexpr Dimension DEFAULT_SLIDE_DISTANCE = DEFAULT_PAN_DISTANCE; 217 double distance_ = DEFAULT_PAN_DISTANCE.ConvertToPx();
|
H A D | pan_recognizer.h | 58 distance_ = LessNotEqual(distanceNumber, 0.0) ? DEFAULT_PAN_DISTANCE.ConvertToPx() : distanceNumber; in PanRecognizer()
|
/foundation/arkui/ace_engine/test/unittest/core/gestures/ |
H A D | gestures_common_test_ng.h | 77 constexpr Dimension DEFAULT_PAN_DISTANCE = 5.0_vp; member
|
H A D | tap_gesture_test_ng.cpp | 139 double distanceNum = DEFAULT_PAN_DISTANCE.ConvertToPx(); in HWTEST_F()
|
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/cppview/ |
H A D | gesture.cpp | 35 constexpr double DEFAULT_PAN_DISTANCE = 5.0; member 227 double distanceNum = DEFAULT_PAN_DISTANCE; in Create() 230 distanceNum = LessNotEqual(distance, 0.0) ? DEFAULT_PAN_DISTANCE : distance; in Create()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_gesture.cpp | 228 constexpr Dimension DEFAULT_PAN_DISTANCE = 5.0_vp; member 336 double distanceNum = DEFAULT_PAN_DISTANCE.ConvertToPx(); in Create() 363 LessNotEqual(distanceNumber, 0.0) ? DEFAULT_PAN_DISTANCE : Dimension(distanceNumber, DimensionUnit::VP); in Create() 589 LessNotEqual(distance, 0.0) ? DEFAULT_PAN_DISTANCE : Dimension(distance, DimensionUnit::VP); in SetDistance() 592 panGestureOption_->SetDistance(DEFAULT_PAN_DISTANCE.ConvertToPx()); in SetDistance() 624 double distanceNum = DEFAULT_PAN_DISTANCE.ConvertToPx(); in Constructor() 640 LessNotEqual(distanceNumber, 0.0) ? DEFAULT_PAN_DISTANCE : Dimension(distanceNumber, DimensionUnit::VP); in Constructor()
|
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/ |
H A D | cj_gesture_ffi.cpp | 305 double distanceNum = Utils::CheckMin(0.0, DEFAULT_PAN_DISTANCE.Value(), distance); in FfiOHOSAceFrameworkPanGestureCreate() 345 double distanceNum = Utils::CheckMin(0.0, DEFAULT_PAN_DISTANCE.Value(), distance); in FfiOHOSAceFrameworkPanGestureOptionsCtor()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/list/ |
H A D | list_event_hub.cpp | 55 gestureHub->SetDragEvent(dragEvent, { PanDirection::ALL }, DEFAULT_PAN_FINGER, DEFAULT_PAN_DISTANCE); in InitItemDragEvent()
|
H A D | list_item_drag_manager.cpp | 89 gestureHub->SetDragEvent(dragEvent, { PanDirection::ALL }, DEFAULT_PAN_FINGER, DEFAULT_PAN_DISTANCE); in InitDragDropEvent()
|
/foundation/arkui/ace_engine/frameworks/core/components/scroll/ |
H A D | scroll_bar_controller.cpp | 46 context, DEFAULT_PAN_FINGER, panDirection, DEFAULT_PAN_DISTANCE.ConvertToPx()); in Initialize()
|
H A D | scrollable.cpp | 164 DEFAULT_PAN_FINGER, panDirection, DEFAULT_PAN_DISTANCE.ConvertToPx()); in Initialize() 172 context, DEFAULT_PAN_FINGER, panDirection, DEFAULT_PAN_DISTANCE.ConvertToPx()); in Initialize()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/menu/preview/ |
H A D | menu_preview_pattern.cpp | 209 gestureHub->AddPanEvent(panEvent, panDirection, 1, DEFAULT_PAN_DISTANCE); in InitPanEvent()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/navigation/ |
H A D | tool_bar_pattern.cpp | 125 gestureHub->SetDragEvent(dragEvent, panDirection, DEFAULT_PAN_FINGER, DEFAULT_PAN_DISTANCE); in InitDragEvent()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/select_content_overlay/ |
H A D | select_content_overlay_pattern.cpp | 84 host->GetOrCreateGestureEventHub()->AddPanEvent(panEvent_, { PanDirection::ALL }, 1, DEFAULT_PAN_DISTANCE); in CancelHiddenHandleTask()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid/ |
H A D | grid_event_hub.cpp | 58 gestureHub->SetDragEvent(dragEvent, { PanDirection::ALL }, DEFAULT_PAN_FINGER, DEFAULT_PAN_DISTANCE); in InitItemDragEvent()
|
/foundation/arkui/ace_engine/frameworks/core/components/container_modal/ |
H A D | container_modal_component.cpp | 81 AceType::MakeRefPtr<PanGesture>(DEFAULT_PAN_FINGER, panDirection, DEFAULT_PAN_DISTANCE.ConvertToPx()); in BuildTitle()
|
/foundation/arkui/ace_engine/frameworks/core/components/picker/ |
H A D | render_picker_column.cpp | 121 context, DEFAULT_PAN_FINGER, panDirection, DEFAULT_PAN_DISTANCE.ConvertToPx()); in OnTouchTestHit()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/scroll_bar/ |
H A D | scroll_bar_pattern.cpp | 669 float distance = DEFAULT_PAN_DISTANCE.Value(); in InitPanRecognizer() 672 distance = DEFAULT_PAN_DISTANCE.ConvertToPx(); in InitPanRecognizer()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/linear_split/ |
H A D | linear_split_pattern.cpp | 67 gestureHub->AddPanEvent(panEvent_, panDirection, DEFAULT_PAN_FINGER, DEFAULT_PAN_DISTANCE); in InitPanEvent()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/toggle/ |
H A D | switch_pattern.cpp | 367 gestureHub->AddPanEvent(panEvent_, panDirection, 1, DEFAULT_PAN_DISTANCE); in InitPanEvent()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/select_overlay/ |
H A D | select_overlay_pattern.cpp | 97 gesture->AddPanEvent(panEvent_, { PanDirection::ALL }, 1, DEFAULT_PAN_DISTANCE); in SetGestureEvent()
|