diff options
author | John Reck <jreck@google.com> | 2014-07-18 16:22:09 -0700 |
---|---|---|
committer | John Reck <jreck@google.com> | 2014-07-19 02:00:15 +0000 |
commit | c01bd1167a1b08d59557f214ddc48cf24d3b8d0a (patch) | |
tree | 6b1b2e5dea2cdd0027a17cfdcccf9f781f1c52cc /tests/HwAccelerationTest/src/com | |
parent | 6eed108eeb66d123c47e7066d23738ca8dd8bdd4 (diff) | |
download | frameworks_base-c01bd1167a1b08d59557f214ddc48cf24d3b8d0a.zip frameworks_base-c01bd1167a1b08d59557f214ddc48cf24d3b8d0a.tar.gz frameworks_base-c01bd1167a1b08d59557f214ddc48cf24d3b8d0a.tar.bz2 |
Return Animator instead of ValueAnimator
Change-Id: I29a7cfdc7ffbb3a4d33f9e64f9d7ca791f5c947c
Diffstat (limited to 'tests/HwAccelerationTest/src/com')
-rw-r--r-- | tests/HwAccelerationTest/src/com/android/test/hwui/RevealActivity.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/RevealActivity.java b/tests/HwAccelerationTest/src/com/android/test/hwui/RevealActivity.java index d27be69..3360e30 100644 --- a/tests/HwAccelerationTest/src/com/android/test/hwui/RevealActivity.java +++ b/tests/HwAccelerationTest/src/com/android/test/hwui/RevealActivity.java @@ -16,7 +16,7 @@ package com.android.test.hwui; -import android.animation.ValueAnimator; +import android.animation.Animator; import android.app.Activity; import android.content.Context; import android.graphics.Canvas; @@ -54,7 +54,7 @@ public class RevealActivity extends Activity implements OnClickListener { @Override public void onClick(View view) { - ValueAnimator animator = ViewAnimationUtils.createCircularReveal(view, + Animator animator = ViewAnimationUtils.createCircularReveal(view, view.getWidth() / 2, view.getHeight() / 2, 0, Math.max(view.getWidth(), view.getHeight())); animator.setDuration(DURATION); |