Home
last modified time | relevance | path

Searched refs:DEFAULT_PAN_DISTANCE (Results 1 - 25 of 51) sorted by relevance

123

/foundation/arkui/ace_engine/test/unittest/core/event/
H A Devent_manager_test_ng_new.cpp69 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 Devent_manager_test_ng.cpp1418 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 Dpan_event_test_ng.cpp53 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 Dpan_event.cpp30 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 Dgesture_info.h38 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 Dpan_recognizer.h58 distance_ = LessNotEqual(distanceNumber, 0.0) ? DEFAULT_PAN_DISTANCE.ConvertToPx() : distanceNumber; in PanRecognizer()
/foundation/arkui/ace_engine/test/unittest/core/gestures/
H A Dgestures_common_test_ng.h77 constexpr Dimension DEFAULT_PAN_DISTANCE = 5.0_vp; member
H A Dtap_gesture_test_ng.cpp139 double distanceNum = DEFAULT_PAN_DISTANCE.ConvertToPx(); in HWTEST_F()
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/cppview/
H A Dgesture.cpp35 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 Djs_gesture.cpp228 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 Dcj_gesture_ffi.cpp305 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 Dlist_event_hub.cpp55 gestureHub->SetDragEvent(dragEvent, { PanDirection::ALL }, DEFAULT_PAN_FINGER, DEFAULT_PAN_DISTANCE); in InitItemDragEvent()
H A Dlist_item_drag_manager.cpp89 gestureHub->SetDragEvent(dragEvent, { PanDirection::ALL }, DEFAULT_PAN_FINGER, DEFAULT_PAN_DISTANCE); in InitDragDropEvent()
/foundation/arkui/ace_engine/frameworks/core/components/scroll/
H A Dscroll_bar_controller.cpp46 context, DEFAULT_PAN_FINGER, panDirection, DEFAULT_PAN_DISTANCE.ConvertToPx()); in Initialize()
H A Dscrollable.cpp164 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 Dmenu_preview_pattern.cpp209 gestureHub->AddPanEvent(panEvent, panDirection, 1, DEFAULT_PAN_DISTANCE); in InitPanEvent()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/navigation/
H A Dtool_bar_pattern.cpp125 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 Dselect_content_overlay_pattern.cpp84 host->GetOrCreateGestureEventHub()->AddPanEvent(panEvent_, { PanDirection::ALL }, 1, DEFAULT_PAN_DISTANCE); in CancelHiddenHandleTask()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid/
H A Dgrid_event_hub.cpp58 gestureHub->SetDragEvent(dragEvent, { PanDirection::ALL }, DEFAULT_PAN_FINGER, DEFAULT_PAN_DISTANCE); in InitItemDragEvent()
/foundation/arkui/ace_engine/frameworks/core/components/container_modal/
H A Dcontainer_modal_component.cpp81 AceType::MakeRefPtr<PanGesture>(DEFAULT_PAN_FINGER, panDirection, DEFAULT_PAN_DISTANCE.ConvertToPx()); in BuildTitle()
/foundation/arkui/ace_engine/frameworks/core/components/picker/
H A Drender_picker_column.cpp121 context, DEFAULT_PAN_FINGER, panDirection, DEFAULT_PAN_DISTANCE.ConvertToPx()); in OnTouchTestHit()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/scroll_bar/
H A Dscroll_bar_pattern.cpp669 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 Dlinear_split_pattern.cpp67 gestureHub->AddPanEvent(panEvent_, panDirection, DEFAULT_PAN_FINGER, DEFAULT_PAN_DISTANCE); in InitPanEvent()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/toggle/
H A Dswitch_pattern.cpp367 gestureHub->AddPanEvent(panEvent_, panDirection, 1, DEFAULT_PAN_DISTANCE); in InitPanEvent()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/select_overlay/
H A Dselect_overlay_pattern.cpp97 gesture->AddPanEvent(panEvent_, { PanDirection::ALL }, 1, DEFAULT_PAN_DISTANCE); in SetGestureEvent()

Completed in 28 milliseconds

123