From b9461fc8ef49e050b97d5305f32bc50099c78a16 Mon Sep 17 00:00:00 2001 From: Chet Haase Date: Wed, 4 Aug 2010 18:01:13 -0700 Subject: [PATCH] Add ApiDemo to show the new seeking behavior of Animator Change-Id: I4ad4e322af9c1d8419e1d7f8bea6b20951a1dc4f --- samples/ApiDemos/AndroidManifest.xml | 11 ++ .../ApiDemos/res/layout/animation_seeking.xml | 40 ++++ .../apis/animation/AnimationSeeking.java | 184 ++++++++++++++++++ .../android/apis/animation/ShapeHolder.java | 102 ++++++++++ 4 files changed, 337 insertions(+) create mode 100644 samples/ApiDemos/res/layout/animation_seeking.xml create mode 100644 samples/ApiDemos/src/com/example/android/apis/animation/AnimationSeeking.java create mode 100644 samples/ApiDemos/src/com/example/android/apis/animation/ShapeHolder.java diff --git a/samples/ApiDemos/AndroidManifest.xml b/samples/ApiDemos/AndroidManifest.xml index f502da0ab..230195d23 100644 --- a/samples/ApiDemos/AndroidManifest.xml +++ b/samples/ApiDemos/AndroidManifest.xml @@ -787,6 +787,17 @@ + + + + + + + + + + + diff --git a/samples/ApiDemos/res/layout/animation_seeking.xml b/samples/ApiDemos/res/layout/animation_seeking.xml new file mode 100644 index 000000000..3507fc17a --- /dev/null +++ b/samples/ApiDemos/res/layout/animation_seeking.xml @@ -0,0 +1,40 @@ + + + + +