/ohos5.0/foundation/arkui/ace_engine/frameworks/core/animation/ |
H A D | spring_model.cpp | 74 if (!spring || !spring->IsValid()) { in Build() 78 …double cmk = spring->Damping() * spring->Damping() - HIGH_RATIO * spring->Mass() * spring->Stiffne… in Build() 96 if (spring && spring->IsValid() && !NearZero(distance)) { in CriticalDampedModel() 97 r_ = -spring->Damping() / (LOW_RATIO * spring->Mass()); in CriticalDampedModel() 122 if (spring && spring->IsValid()) { in OverdampedModel() 123 …double cmk = spring->Damping() * spring->Damping() - HIGH_RATIO * spring->Mass() * spring->Stiffne… in OverdampedModel() 124 r1_ = (-spring->Damping() - sqrt(cmk)) / (LOW_RATIO * spring->Mass()); in OverdampedModel() 125 r2_ = (-spring->Damping() + sqrt(cmk)) / (LOW_RATIO * spring->Mass()); in OverdampedModel() 151 if (spring && spring->IsValid()) { in UnderdampedModel() 152 …w_ = sqrt(HIGH_RATIO * spring->Mass() * spring->Stiffness() - spring->Damping() * spring->Damping(… in UnderdampedModel() [all …]
|
H A D | spring_motion.cpp | 25 …tion::SpringMotion(double start, double end, double velocity, const RefPtr<SpringProperty>& spring) in SpringMotion() argument 27 Reset(start, end, velocity, spring); in SpringMotion() 74 …pringMotion::Reset(double start, double end, double velocity, const RefPtr<SpringProperty>& spring) in Reset() argument 79 model_ = SpringModel::Build(start - end, velocity, spring); in Reset() 98 …ScrollSpringMotion(double start, double end, double velocity, const RefPtr<SpringProperty>& spring) in ScrollSpringMotion() argument 99 : SpringMotion(start, end, velocity, spring) in ScrollSpringMotion()
|
H A D | scroll_motion.cpp | 28 const ExtentPair& initExtent, const RefPtr<SpringProperty>& spring) in ScrollMotion() argument 31 if (spring && spring->IsValid()) { in ScrollMotion() 32 spring_ = spring; in ScrollMotion()
|
H A D | spring_model.h | 87 … RefPtr<SpringModel> Build(double distance, double velocity, const RefPtr<SpringProperty>& spring); 95 CriticalDampedModel(double distance, double velocity, const RefPtr<SpringProperty>& spring); 116 OverdampedModel(double distance, double velocity, const RefPtr<SpringProperty>& spring); 138 UnderdampedModel(double distance, double velocity, const RefPtr<SpringProperty>& spring);
|
H A D | spring_motion.h | 31 SpringMotion(double start, double end, double velocity, const RefPtr<SpringProperty>& spring); 53 void Reset(double start, double end, double velocity, const RefPtr<SpringProperty>& spring); 74 …crollSpringMotion(double start, double end, double velocity, const RefPtr<SpringProperty>& spring);
|
/ohos5.0/docs/en/application-dev/ui/ |
H A D | arkts-spring-curve.md | 4 …spring system corresponding to a damped spring curve (spring curve for short), an object that devi… 7 An animation using the spring curve slows down toward the end until the velocity is 0, instead of s… 10 ArkUI provides four types of damped spring curve APIs: 13 …a spring animation curve. The animation duration is automatically calculated based on the curve pa… 14 …ew spring animation will stop the running animation and inherit the attribute values and velocity … 21 …ui/js-apis-curve.md#curvesresponsivespringmotion9): creates a responsive spring animation curve. I… 22 …When the **overlapDuration** parameter of the new animation is not **0** and the previous spring a… 30 …/js-apis-curve.md#curvesinterpolatingspring10): creates an interpolating spring curve animated fro… 39 - [springCurve](../reference/apis-arkui/js-apis-curve.md#curvesspringcurve9): creates a spring curv… 46 The following shows a complete example and effect of spring curves. For details about how to connec… [all …]
|
/ohos5.0/docs/en/application-dev/reference/apis-arkui/ |
H A D | js-apis-curve.md | 3 …module provides APIs for interpolation calculation to create step, cubic Bezier, and spring curves. 140 Creates a spring curve. The curve shape is subject to the spring parameters, and the animation dura… 166 curves.springCurve(10, 1, 228, 30) // Create a spring curve. 174 Creates a spring animation curve. If multiple spring animations are applied to the same attribute o… 199 curves.springMotion() // Create a spring animation curve with default settings. 200 curves.springMotion(0.5) // Create a spring animation curve with the specified response value. 202 curves.springMotion(0.5, 0.6, 0) // Create a spring animation curve with the specified parameter va… 234 curves.responsiveSpringMotion() // Create a responsive spring animation curve with default settings. 266 …ngSpring(10, 1, 228, 30) // Create an interpolating spring curve whose duration is subject to spri… 388 ## Curves.spring<sup>(deprecated)</sup> [all …]
|
/ohos5.0/docs/en/design/ux-design/ |
H A D | animation-attributes.md | 45 …-curve-linear-easing.jpg)|  ) 115 .backgroundColor( $r( "app.color.spring" ) ) 131 .backgroundColor( $r( "app.color.spring" ) ) 183 .backgroundColor( $r( "app.color.spring" ) ) 209 .backgroundColor( $r( "app.color.spring" ) ) 232 .backgroundColor( $r( "app.color.spring" ) )
|
/ohos5.0/docs/zh-cn/design/ux-design/ |
H A D | animation-attributes.md | 45 …  | … 47 | linear | easing | spring | others | 198 弹性曲线相关的开发文档,详见:[弹簧曲线](../../application-dev/ui/arkts-spring-curve.md)。
|
/ohos5.0/foundation/communication/wifi/wifi/test/wifi_testapp/entry/src/main/ets/pages/subManualApiTest/ |
H A D | wifiManagerInterfaceTest.ets | 136 .backgroundColor($r("app.color.spring")) 151 .backgroundColor($r("app.color.spring")) 169 .backgroundColor($r("app.color.spring")) 198 .backgroundColor($r("app.color.spring")) 216 .backgroundColor($r("app.color.spring")) 234 .backgroundColor($r("app.color.spring")) 252 .backgroundColor($r("app.color.spring")) 270 .backgroundColor($r("app.color.spring")) 288 .backgroundColor($r("app.color.spring")) 306 .backgroundColor($r("app.color.spring"))
|
H A D | wifiInterfaceTest.ets | 115 .backgroundColor($r("app.color.spring")) 128 .backgroundColor($r("app.color.spring")) 147 .backgroundColor($r("app.color.spring")) 177 .backgroundColor($r("app.color.spring")) 196 .backgroundColor($r("app.color.spring")) 215 .backgroundColor($r("app.color.spring")) 234 .backgroundColor($r("app.color.spring")) 253 .backgroundColor($r("app.color.spring")) 272 .backgroundColor($r("app.color.spring")) 290 .backgroundColor($r("app.color.spring"))
|
H A D | p2pInterfaceTest.ets | 91 .backgroundColor($r("app.color.spring")) 106 .backgroundColor($r("app.color.spring")) 124 .backgroundColor($r("app.color.spring")) 142 .backgroundColor($r("app.color.spring")) 161 .backgroundColor($r("app.color.spring"))
|
H A D | p2pManagerInterfaceTest.ets | 91 .backgroundColor($r("app.color.spring")) 106 .backgroundColor($r("app.color.spring")) 124 .backgroundColor($r("app.color.spring")) 142 .backgroundColor($r("app.color.spring")) 160 .backgroundColor($r("app.color.spring"))
|
/ohos5.0/foundation/communication/wifi/wifi/test/wifi_testapp/entry/src/main/ets/Component/ |
H A D | filterTable.ets | 88 .backgroundColor($r("app.color.spring")) 114 .backgroundColor($r("app.color.spring")) 130 .backgroundColor($r("app.color.spring")) 146 .backgroundColor($r("app.color.spring")) 161 .backgroundColor($r("app.color.spring"))
|
H A D | filterTableManager.ets | 88 .backgroundColor($r("app.color.spring")) 114 .backgroundColor($r("app.color.spring")) 130 .backgroundColor($r("app.color.spring")) 145 .backgroundColor($r("app.color.spring")) 160 .backgroundColor($r("app.color.spring"))
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-js/ |
H A D | js-components-common-attributes.md | 19 …弹性点击效果,当前支持如下三种效果:<br/>- spring-small:建议小面积组件设置,缩放(90%)。<br/>- spring-medium:建议中面积组件设置,缩…
|
H A D | js-components-container-swiper.md | 34 | scrolleffect<sup>7+</sup> | string | spring | 否 | 滑动效果。目前支持如下:<br/>- spring:弹性物理动效,… 78 scrolleffect="spring">
|
/ohos5.0/foundation/communication/bluetooth_service/test/example/bluetoothtest/entry/src/main/ets/pages/subManualApiTestManager/subGattTestManager/ |
H A D | gattClientManager.ets | 88 .backgroundColor($r("app.color.spring")) 103 .backgroundColor($r("app.color.spring")) 121 .backgroundColor($r("app.color.spring")) 139 .backgroundColor($r("app.color.spring")) 157 .backgroundColor($r("app.color.spring"))
|
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-js/ |
H A D | js-components-common-attributes.md | 20 …spring physics. Available values are as follows:<br>- **spring-small**: The component scales down …
|
H A D | js-components-container-swiper.md | 35 … | string | spring | No | Scroll effect. The options are as follows:<br>- **spring**: Similar t… 79 scrolleffect="spring">
|
/ohos5.0/foundation/communication/bluetooth_service/test/example/bluetoothtest/entry/src/main/ets/pages/subManualApiTest/subGattTest/ |
H A D | gattClient.ets | 91 .backgroundColor($r("app.color.spring")) 106 .backgroundColor($r("app.color.spring")) 124 .backgroundColor($r("app.color.spring")) 142 .backgroundColor($r("app.color.spring")) 160 .backgroundColor($r("app.color.spring"))
|
/ohos5.0/foundation/communication/wifi/wifi/test/wifi_testapp/entry/src/main/ets/pages/subStressTest/ |
H A D | wifiManagerStressTest.ets | 340 .backgroundColor($r("app.color.spring")) 353 .backgroundColor($r("app.color.spring")) 372 .backgroundColor($r("app.color.spring")) 402 .backgroundColor($r("app.color.spring")) 421 .backgroundColor($r("app.color.spring")) 440 .backgroundColor($r("app.color.spring")) 459 .backgroundColor($r("app.color.spring")) 477 .backgroundColor($r("app.color.spring")) 495 .backgroundColor($r("app.color.spring")) 513 .backgroundColor($r("app.color.spring"))
|
H A D | wifiStressTest.ets | 340 .backgroundColor($r("app.color.spring")) 353 .backgroundColor($r("app.color.spring")) 372 .backgroundColor($r("app.color.spring")) 402 .backgroundColor($r("app.color.spring")) 421 .backgroundColor($r("app.color.spring")) 440 .backgroundColor($r("app.color.spring")) 459 .backgroundColor($r("app.color.spring")) 477 .backgroundColor($r("app.color.spring")) 495 .backgroundColor($r("app.color.spring")) 513 .backgroundColor($r("app.color.spring"))
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/js-service-widget-ui/ |
H A D | js-service-widget-container-list.md | 28 | scrolleffect | string | spring | 否 | 滑动效果,目前支持如下滑动效果:<br/>- spring:弹性物理动效,滑动到边缘…
|