summaryrefslogtreecommitdiffstats
path: root/api
diff options
context:
space:
mode:
authorChet Haase <chet@google.com>2011-05-24 08:03:16 -0700
committerChet Haase <chet@google.com>2011-05-24 15:56:41 -0700
commit8d5f808f70c1d47437eaf49234c1b3a23c244040 (patch)
tree88cae8bde6d7189f76daf2b6a9e18e7fab321766 /api
parent7eaa5e57d852f0f25f6a8dbdb8537e53f039b3c4 (diff)
downloadframeworks_base-8d5f808f70c1d47437eaf49234c1b3a23c244040.zip
frameworks_base-8d5f808f70c1d47437eaf49234c1b3a23c244040.tar.gz
frameworks_base-8d5f808f70c1d47437eaf49234c1b3a23c244040.tar.bz2
Add more functionality to ViewPropertyAnimator.
Allow ViewPropertyAnimator animations to be started immediately, canceled, and to have an optional startDelay. This is functionality parallel to that in the base Animator class. Change-Id: I391f1810bf697656999bd6e3e63a59e46eb7eb8a
Diffstat (limited to 'api')
-rw-r--r--api/current.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/api/current.txt b/api/current.txt
index a51b649..8c61922 100644
--- a/api/current.txt
+++ b/api/current.txt
@@ -21861,6 +21861,9 @@ package android.view {
public class ViewPropertyAnimator {
method public android.view.ViewPropertyAnimator alpha(float);
method public android.view.ViewPropertyAnimator alphaBy(float);
+ method public void cancel();
+ method public long getDuration();
+ method public long getStartDelay();
method public android.view.ViewPropertyAnimator rotation(float);
method public android.view.ViewPropertyAnimator rotationBy(float);
method public android.view.ViewPropertyAnimator rotationX(float);
@@ -21874,6 +21877,8 @@ package android.view {
method public android.view.ViewPropertyAnimator setDuration(long);
method public android.view.ViewPropertyAnimator setInterpolator(android.animation.TimeInterpolator);
method public android.view.ViewPropertyAnimator setListener(android.animation.Animator.AnimatorListener);
+ method public android.view.ViewPropertyAnimator setStartDelay(long);
+ method public void start();
method public android.view.ViewPropertyAnimator translationX(float);
method public android.view.ViewPropertyAnimator translationXBy(float);
method public android.view.ViewPropertyAnimator translationY(float);