History log of /frameworks/support/samples/SupportAnimationDemos/src/com/example/android/support/animation/SpringActivity.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
fa2e2acf79d791a90410025daad438968550d18c 31-Mar-2017 Alan Viverette <alanv@google.com> Remove unnecessary casts on calls to findViewById

Updates Android.mk where applicable.

Bug: 24137209
Test: make -j32
Change-Id: I04084b2d05ddd7afaa160a76efe0b0d0c8eb5f00
/frameworks/support/samples/SupportAnimationDemos/src/com/example/android/support/animation/SpringActivity.java
ac7cef74baee101ea2c0e22a2dea5b68632d9dc1 06-Mar-2017 Doris Liu <tianliu@google.com> Add demos for using support-dynamic-animation lib

This project contains two demos:
1) A single spring that reacts to user gestures:
The spring can stretch when it gets pulled
with user drag gesture. when user lets go of
the spring, it will return to equilibrium.

2) A set of springs chained together. When user
moves the first view, the subsequent views that
are attached to the moving view with springs will
then start moving.

In both of these demos, users can tune the spring
constants via the seek bars.

Test: ./gradlew support-animation-demos:assemble

Change-Id: Ibea58d5110dc345221a7c366567ad5a7bef5563b
/frameworks/support/samples/SupportAnimationDemos/src/com/example/android/support/animation/SpringActivity.java