Home
last modified time | relevance | path

Searched refs:spring (Results 1 – 25 of 97) sorted by relevance

1234

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/animation/
H A Dspring_model.cpp74 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 Dspring_motion.cpp25 …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 Dscroll_motion.cpp28 const ExtentPair& initExtent, const RefPtr<SpringProperty>& spring) in ScrollMotion() argument
31 if (spring && spring->IsValid()) { in ScrollMotion()
32 spring_ = spring; in ScrollMotion()
H A Dspring_model.h87 … 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 Dspring_motion.h31 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 Darkts-spring-curve.md4spring 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 Djs-apis-curve.md3 …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 Danimation-attributes.md45 …-curve-linear-easing.jpg)| ![animation-curve-linear-spring.jpg](figures/animation-curve-linear-spr…
105 …cal attribute parameters, such as stiffness and damping, are used to produce natural spring effect.
110 The interpolation spring curve is determined by four physical attributes: stiffness, damping, mass,…
115 …rges the vibration of the spring by the shock absorber. Damping reduces the amplitude of the sprin…
116 | Mass| Mass of the object attached to the spring.|
117 | Velocity| Initial velocity of the object attached to the spring.|
122 The spring motion and responsive spring motion curves are determined by response, damping fraction,…
130 The interpolation spring curve type and the spring motion or responsive spring motion curve type ca…
134 Interpolating spring: Stiffness: 128, Damping: 12, Msss: 1, Velocity: 0
178 Usage: Use the elastic curve for objects that move with the hand or that need to display the spring
[all …]
/ohos5.0/foundation/communication/bluetooth_service/test/example/bluetoothtest/entry/src/main/ets/Component/
H A DbleFilterTable.ets99 .backgroundColor( $r( "app.color.spring" ) )
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 Danimation-attributes.md45 … ![动效曲线概况-easing.jpg](figures/动效曲线概况-easing.jpg) | ![动效曲线概况-spring.jpg](figures/动效曲线概况-spring.jpg)…
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 DwifiManagerInterfaceTest.ets136 .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 DwifiInterfaceTest.ets115 .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 Dp2pInterfaceTest.ets91 .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 Dp2pManagerInterfaceTest.ets91 .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 DfilterTable.ets88 .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 DfilterTableManager.ets88 .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 Djs-components-common-attributes.md19 …弹性点击效果,当前支持如下三种效果:<br/>-&nbsp;spring-small:建议小面积组件设置,缩放(90%)。<br/>-&nbsp;spring-medium:建议中面积组件设置,缩…
H A Djs-components-container-swiper.md34 | scrolleffect<sup>7+</sup> | string | spring | 否 | 滑动效果。目前支持如下:<br/>-&nbsp;spring:弹性物理动效,…
78 scrolleffect="spring">
/ohos5.0/foundation/communication/bluetooth_service/test/example/bluetoothtest/entry/src/main/ets/pages/subManualApiTestManager/subGattTestManager/
H A DgattClientManager.ets88 .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 Djs-components-common-attributes.md20spring physics. Available values are as follows:<br>- **spring-small**: The component scales down …
H A Djs-components-container-swiper.md35 … | 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 DgattClient.ets91 .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 DwifiManagerStressTest.ets340 .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 DwifiStressTest.ets340 .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 Djs-service-widget-container-list.md28 | scrolleffect | string | spring | 否 | 滑动效果,目前支持如下滑动效果:<br/>-&nbsp;spring:弹性物理动效,滑动到边缘…

1234