summaryrefslogtreecommitdiffstats
path: root/tests/HwAccelerationTest
diff options
context:
space:
mode:
authorJi-Hwan Lee <jihwan@google.com>2014-05-17 23:18:40 +0900
committerJi-Hwan Lee <jihwan@google.com>2014-05-17 23:18:40 +0900
commit80fe183c34d862839546ed214e5f69a427cc73d8 (patch)
tree0d3101e769a955d4733da4cc03a6fe2b7e04e23f /tests/HwAccelerationTest
parent241cdab7597c9f6f203057125c9d629c285d574d (diff)
downloadframeworks_base-80fe183c34d862839546ed214e5f69a427cc73d8.zip
frameworks_base-80fe183c34d862839546ed214e5f69a427cc73d8.tar.gz
frameworks_base-80fe183c34d862839546ed214e5f69a427cc73d8.tar.bz2
Fix build
Change-Id: If0e46d6fa0f5b176c3b5294eab58d25935b3b4f8
Diffstat (limited to 'tests/HwAccelerationTest')
-rw-r--r--tests/HwAccelerationTest/src/com/android/test/hwui/CirclePropActivity.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/HwAccelerationTest/src/com/android/test/hwui/CirclePropActivity.java b/tests/HwAccelerationTest/src/com/android/test/hwui/CirclePropActivity.java
index 4938579..5b0aa66 100644
--- a/tests/HwAccelerationTest/src/com/android/test/hwui/CirclePropActivity.java
+++ b/tests/HwAccelerationTest/src/com/android/test/hwui/CirclePropActivity.java
@@ -108,7 +108,6 @@ public class CirclePropActivity extends Activity {
mToggle = !mToggle;
- /*
mRunningAnimations.add(new RenderNodeAnimator(
mX, mToggle ? 400.0f : 200.0f));
@@ -131,7 +130,8 @@ public class CirclePropActivity extends Activity {
RenderNodeAnimator anim = mRunningAnimations.get(i);
anim.setInterpolator(interp);
anim.setDuration(1000);
- anim.start(this);
+ anim.setTarget(this);
+ anim.start();
}
if (mToggle) {
@@ -147,7 +147,6 @@ public class CirclePropActivity extends Activity {
}
});
}
- */
return true;
}
}