From 52244fff29042926e21fa897ef5ab11148e35299 Mon Sep 17 00:00:00 2001 From: John Reck Date: Thu, 1 May 2014 21:27:37 -0700 Subject: Add CanvasProperty for drawCircle Change-Id: Icbcc030f5033d2094e567d7c519b9d672f2aac1c --- tests/RenderThreadTest/src/com/example/renderthread/MainActivity.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'tests/RenderThreadTest/src/com/example/renderthread/MainActivity.java') diff --git a/tests/RenderThreadTest/src/com/example/renderthread/MainActivity.java b/tests/RenderThreadTest/src/com/example/renderthread/MainActivity.java index 1d209dd..8f9cf58 100644 --- a/tests/RenderThreadTest/src/com/example/renderthread/MainActivity.java +++ b/tests/RenderThreadTest/src/com/example/renderthread/MainActivity.java @@ -19,8 +19,6 @@ import java.util.Map; public class MainActivity extends Activity implements OnItemClickListener { - static final int TRANSLATION_Y = 1; - static final int DELTA_TYPE_DELTA = 1; static final int DURATION = 400; static final String KEY_NAME = "name"; @@ -75,7 +73,7 @@ public class MainActivity extends Activity implements OnItemClickListener { float delta = (pos - clickedPosition) * 1.1f; if (delta == 0) delta = -1; RenderNodeAnimator animator = new RenderNodeAnimator( - TRANSLATION_Y, DELTA_TYPE_DELTA, dy * delta); + RenderNodeAnimator.TRANSLATION_Y, RenderNodeAnimator.DELTA_TYPE_DELTA, dy * delta); animator.setDuration(DURATION); animator.start(child); } -- cgit v1.1