/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/gestures/ |
H A D | tap_gesture_test_ng.cpp | 153 double speedNum = DEFAULT_SLIDE_SPEED; variable 155 swipeGestureModelNG.Create(fingersNum, slideDirection, speedNum); 157 EXPECT_EQ(swipeGestureNG->speed_, speedNum);
|
H A D | swipe_recognizer_test_ng.cpp | 834 double speedNum = DEFAULT_SLIDE_SPEED; variable 837 swipeGestureModelNG.Create(fingersNum, slideDirection, speedNum); 843 SwipeGesture swipeGesture = SwipeGesture(fingersNum, slideDirection, speedNum); 877 double speedNum = DEFAULT_SLIDE_SPEED; variable 880 swipeGestureModelNG.Create(fingersNum, slideDirection, speedNum); 886 SwipeGesture swipeGesture = SwipeGesture(fingersNum, slideDirection, speedNum);
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/ |
H A D | _ark_u_i___native_gesture_a_p_i__1.md | 27 …(_ark_u_i___native_module.md#arkui_gesturedirectionmask) directions, double speedNum) | 创建滑动手势。 | 196 …1::createSwipeGesture) (int32_t fingersNum, ArkUI_GestureDirectionMask directions, double speedNum) 208 | speedNum | 识别滑动的最小速度,单位 px/s。当设置滑动速度的值小于等于0时,会被转化为默认值100px/s。 |
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/cppview/ |
H A D | gesture.cpp | 199 double speedNum = DEFAULT_SLIDE_SPEED; in Create() local 202 speedNum = LessNotEqual(speed, 0.0) ? DEFAULT_SLIDE_SPEED : speed; in Create() 205 … auto gesture = AceType::MakeRefPtr<OHOS::Ace::SwipeGesture>(fingersNum, swipeDirection, speedNum); in Create()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/ |
H A D | gesture_model_impl.cpp | 100 …GestureModelImpl::Create(int32_t fingersNum, const SwipeDirection& slideDirection, double speedNum) in Create() argument 104 auto gesture = AceType::MakeRefPtr<SwipeGesture>(fingersNum, slideDirection, speedNum); in Create()
|
H A D | gesture_model_impl.h | 52 void Create(int32_t fingersNum, const SwipeDirection& slideDirection, double speedNum) override;
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/gesture/ |
H A D | gesture_model_ng.cpp | 161 …peGestureModelNG::Create(int32_t fingersNum, const SwipeDirection& slideDirection, double speedNum) in Create() argument 165 auto gesture = AceType::MakeRefPtr<NG::SwipeGesture>(fingersNum, slideDirection, speedNum); in Create()
|
H A D | gesture_model_ng.h | 53 void Create(int32_t fingersNum, const SwipeDirection& slideDirection, double speedNum) override;
|
H A D | gesture_model.h | 88 …virtual void Create(int32_t fingersNum, const SwipeDirection& slideDirection, double speedNum) = 0;
|
/ohos5.0/foundation/arkui/ace_engine/interfaces/native/node/ |
H A D | gesture_impl.h | 39 …er* CreateSwipeGesture(int32_t fingersNum, ArkUI_GestureDirectionMask directions, double speedNum);
|
H A D | gesture_impl.cpp | 468 double speedNum = OHOS::Ace::NodeModel::GetFullImpl()->getBasicAPI()->convertLengthMetricsUnit( in CreateSwipeGesture() local 473 directions, speedNum, ndkGesture); in CreateSwipeGesture()
|
/ohos5.0/base/powermgr/battery_statistics/services/native/src/ |
H A D | cpu_time_reader.cpp | 411 uint16_t speedNum = parser->GetSpeedNum(i); in DistributeFreqTime() local 412 for (uint16_t j = 0; j < speedNum; j++) { in DistributeFreqTime() 429 uint16_t speedNum = parser->GetSpeedNum(i); in AddFreqTimeToUid() local 430 for (uint16_t j = 0; j < speedNum; j++) { in AddFreqTimeToUid()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_gesture.cpp | 380 double speedNum = DEFAULT_SLIDE_SPEED; in Create() local 384 SwipeGestureModel::GetInstance()->Create(fingersNum, slideDirection, speedNum); in Create() 399 speedNum = LessOrEqual(speedNumber, 0.0) ? DEFAULT_SLIDE_SPEED : speedNumber; in Create() 409 SwipeGestureModel::GetInstance()->Create(fingersNum, slideDirection, speedNum); in Create()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/ |
H A D | cj_gesture_ffi.cpp | 280 double speedNum = Utils::CheckMin(0.0, DEFAULT_SLIDE_SPEED, speed); in FfiOHOSAceFrameworkSwipeGestureCreate() local 282 auto gesture = AceType::MakeRefPtr<NG::SwipeGesture>(fingersNum, swipeDirection, speedNum); in FfiOHOSAceFrameworkSwipeGestureCreate()
|
/ohos5.0/docs/en/application-dev/reference/apis-arkui/ |
H A D | _ark_u_i___native_gesture_a_p_i__1.md | 27 …k_u_i___native_module.md#arkui_gesturedirectionmask) directions, double speedNum) | Creates a swip… 196 …1::createSwipeGesture) (int32_t fingersNum, ArkUI_GestureDirectionMask directions, double speedNum) 208 | speedNum | Minimum speed of the swipe gesture, in px/s. If this parameter is set to a value less …
|
/ohos5.0/foundation/arkui/ace_engine/interfaces/native/ |
H A D | native_gesture.h | 764 int32_t fingersNum, ArkUI_GestureDirectionMask directions, double speedNum);
|
/ohos5.0/docs/zh-cn/application-dev/ui/ |
H A D | ndk-bind-gesture-events.md | 95 int32_t fingersNum, ArkUI_GestureDirectionMask directions, double speedNum);
|
/ohos5.0/docs/en/application-dev/ui/ |
H A D | ndk-bind-gesture-events.md | 95 int32_t fingersNum, ArkUI_GestureDirectionMask directions, double speedNum);
|