From c01bd1167a1b08d59557f214ddc48cf24d3b8d0a Mon Sep 17 00:00:00 2001 From: John Reck Date: Fri, 18 Jul 2014 16:22:09 -0700 Subject: Return Animator instead of ValueAnimator Change-Id: I29a7cfdc7ffbb3a4d33f9e64f9d7ca791f5c947c --- .../HwAccelerationTest/src/com/android/test/hwui/RevealActivity.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/HwAccelerationTest') 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); -- cgit v1.1