Home
last modified time | relevance | path

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

123

/third_party/weston/libweston/
Danimation.c44 weston_spring_init(struct weston_spring *spring, in weston_spring_init() argument
47 spring->k = k; in weston_spring_init()
48 spring->friction = 400.0; in weston_spring_init()
49 spring->current = current; in weston_spring_init()
50 spring->previous = current; in weston_spring_init()
51 spring->target = target; in weston_spring_init()
52 spring->clip = WESTON_SPRING_OVERSHOOT; in weston_spring_init()
53 spring->min = 0.0; in weston_spring_init()
54 spring->max = 1.0; in weston_spring_init()
58 weston_spring_update(struct weston_spring *spring, const struct timespec *time) in weston_spring_update() argument
[all …]
Dspring-tool.c63 struct weston_spring spring; in main() local
66 weston_spring_init(&spring, k, current, target); in main()
67 spring.friction = friction; in main()
68 spring.previous = 0.48; in main()
69 spring.timestamp = (struct timespec) { 0 }; in main()
71 while (!weston_spring_done(&spring)) { in main()
73 timespec_to_msec(&time), spring.current); in main()
74 weston_spring_update(&spring, &time); in main()
Dlibweston-internal.h275 weston_spring_init(struct weston_spring *spring,
278 weston_spring_done(struct weston_spring *spring);
281 weston_spring_update(struct weston_spring *spring, const struct timespec *time);
/third_party/flutter/flutter/packages/flutter/lib/src/physics/
Dspring_simulation.dart11 /// Structure that describes a spring's constants.
15 /// Creates a spring given the mass, stiffness, and the damping coefficient.
24 /// Creates a spring given the mass (m), stiffness (k), and damping ratio (ζ).
26 /// spring to create. A ratio of 1.0 creates a critically damped spring, > 1.0
27 /// creates an overdamped spring and < 1.0 an underdamped one.
37 /// The mass of the spring (m). The units are arbitrary, but all springs
41 /// The spring constant (k). The units of stiffness are M/T², where M is the
61 /// The kind of spring solution that the [SpringSimulation] is using to simulate the spring.
65 /// A spring that does not bounce and returns to its rest position in the
69 /// A spring that bounces.
[all …]
/third_party/weston/clients/
Dresizor.c42 struct spring { struct
53 struct spring width; argument
54 struct spring height;
64 spring_update(struct spring *spring) in spring_update() argument
68 current = spring->current; in spring_update()
69 force = (spring->target - current) / 20.0 + in spring_update()
70 (spring->previous - current); in spring_update()
72 spring->current = current + (current - spring->previous) + force; in spring_update()
73 spring->previous = current; in spring_update()
77 spring_done(struct spring *spring) in spring_done() argument
[all …]
/third_party/flutter/flutter/packages/flutter/test/physics/
Dnewton_test.dart206 final SpringDescription spring = SpringDescription.withDampingRatio(
214 spring: spring,
218 expect(scroll.isDone(0.5), false); // switch from friction to spring
226 spring: spring,
230 expect(scroll2.isDone(0.5), false); // switch from friction to spring
235 final SpringDescription spring = SpringDescription.withDampingRatio(
243 spring: spring,
261 test('over/under scroll spring', () {
262 …final SpringDescription spring = SpringDescription.withDampingRatio(mass: 1.0, stiffness: 170.0, r…
268 spring: spring,
[all …]
/third_party/flutter/flutter/packages/flutter/lib/src/widgets/
Dscroll_simulation.dart29 /// for the `spring` description if it is omitted; these defaults assume
36 @required this.spring,
43 assert(spring != null),
80 /// model to a spring model which causes [x] to "spring" back to [leadingExtent].
84 /// model to a spring model which causes [x] to "spring" back to [trailingExtent].
87 /// The spring used used to return [x] to either [leadingExtent] or [trailingExtent].
88 final SpringDescription spring;
96 return ScrollSpringSimulation(spring, x, leadingExtent, dx);
100 return ScrollSpringSimulation(spring, x, trailingExtent, dx);
Dscroll_physics.dart202 /// The spring to use for ballistic simulations.
203 SpringDescription get spring => parent?.spring ?? _kDefaultSpring;
353 spring: spring,
461 spring,
485 /// overscroll glow. On iOS, overscrolls will load a spring that will return
Dlist_wheel_scroll_view.dart532 // is too low to break past it, use a spring simulation to get back.
535 spring,
Dpage_view.dart492 … return ScrollSpringSimulation(spring, position.pixels, target, velocity, tolerance: tolerance);
/third_party/python/Tools/pynche/X/
Drgb.txt130 0 255 127 spring green
136 0 250 154 medium spring green
/third_party/tzdata/
DNEWS76 its spring 2020 transition was on March 28 at 00:00, not March 27
78 Asia/Hebron. Assume future spring and fall transitions will be on
114 Morocco's spring-forward after Ramadan is now predicted to occur
117 now predicted to spring-forward on April 30 instead of April 23.
184 Morocco's second spring-forward transition in 2020 will be May 31,
191 spring-forward transition on 2020-03-08, and will not fall back on
269 spring 2019. The first transition is on 2019-10-06. (Thanks to
336 Palestine's 2019 spring-forward transition was on 03-29, not 03-30.
350 Palestine's 2019 spring transition was 03-29 at 00:00, not 03-30
356 Hong Kong's 1941-06-15 spring-forward transition was at 03:00, not
[all …]
Dasia95 # in spring 1991, then to 4:00 with no DST in fall 1995, then
292 # on April 11, 1919, newspaper in Shanghai said clocks in Shanghai will spring
338 # spring forward the clock. On the other hand, the custom office refused to
339 # spring forward the clock because of worry on mechanical wear to the physical
340 # clock, postal office refused to spring forward because of disruption to
350 # a. For the 1940 May 31 spring forward, the essay claim that it was
353 # that it would spring forward an hour from May 31 "midnight", and the essay
354 # claim "Hong Kong government implemented the spring forward in the same time
362 # c. For the 1941 spring forward, it is said to start from March 15
382 # f. For the 1942 spring forward, the essay said that the spring forward
[all …]
Dnewtzset.3.txt165 and a simultaneous spring-forward transition on January 1 at
Dnorthamerica111 # * Public Law 93-182 (1973-12-15) moved the 1974 spring-forward to 01-06.
113 # * Public Law 93-434 (1974-10-05) moved the 1975 spring-forward to
116 # * Public Law 99-359 (1986-07-08) moved the spring-forward to April's first
119 # * Public Law 109-58 (2005-08-08), effective 2007, moved the spring-forward
1069 # Evidently this is wrong for spring 1946. Although also likely wrong
1320 # http://www.qp.gov.ab.ca/documents/spring/CH03_06.CFM
2425 # of "spring ahead-fall behind" currently we are zulu plus 5 hrs and in
3067 # RG, 1917-04-04, p 6 [42340] gives the spring forward date.
3592 # Shanks & Pottenger give April 28 for the 1974 spring-forward transition, but
3746 # The date of effect of the spring 2018 change appears to be March 11,
Deurope1209 # summer time next spring."
1853 # institute daylight-saving time this spring, LETA reported.
1855 # clocks one hour in the spring....
1920 # motion to give up shifting to summer time in spring, as it was
2067 # says the 2014-03-30 spring-forward transition was at 02:00 local time.
2319 # that Portugal is reverting to 0:00 by not moving its clocks this spring.
3582 # 1939-03-28 and the Nationalist spring-forward transition on
3842 # At this time, Turkey is still on +3 with no spring-forward on early
/third_party/gettext/gettext-tools/examples/hello-csharp-forms/
DREADME52 spring-like attachments are not so much in use anymore nowadays.
/third_party/flutter/flutter/examples/flutter_gallery/lib/demo/animation/
Dhome.dart381 return ScrollSpringSimulation(spring, offset, midScrollOffset, velocity, tolerance: tolerance);
386 return ScrollSpringSimulation(spring, offset, 0.0, velocity, tolerance: tolerance);
/third_party/flutter/flutter/packages/flutter/test/cupertino/
Dpicker_test.dart412 // Let it spring back.
/third_party/flutter/flutter/packages/flutter/lib/src/cupertino/
Dapp.dart44 /// * Scrolling past extremities will trigger iOS-style spring overscrolls.
/third_party/flutter/flutter/packages/flutter/test/widgets/
Dlist_wheel_scroll_view_test.dart1143 // Let the spring back simulation finish.
1195 // Let the spring back simulation finish.
/third_party/flutter/skia/third_party/externals/icu/source/data/locales/
Dhr.txt302 "spring begins",
305 "spring equinox",
/third_party/skia/third_party/externals/icu/source/data/locales/
Dhr.txt303 "spring begins",
306 "spring equinox",
/third_party/icu/icu4c/source/data/locales/
Dhr.txt303 "spring begins",
306 "spring equinox",
/third_party/flutter/skia/third_party/externals/sdl/docs/
DREADME-android.md214 use, and it allows your app to spring back to life instantaneously after resume

123