diff options
Diffstat (limited to 'tests/RenderThreadTest/src/com/example/renderthread/MainActivity.java')
-rw-r--r-- | tests/RenderThreadTest/src/com/example/renderthread/MainActivity.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/RenderThreadTest/src/com/example/renderthread/MainActivity.java b/tests/RenderThreadTest/src/com/example/renderthread/MainActivity.java index b5b12d8..c7715ad 100644 --- a/tests/RenderThreadTest/src/com/example/renderthread/MainActivity.java +++ b/tests/RenderThreadTest/src/com/example/renderthread/MainActivity.java @@ -77,7 +77,8 @@ public class MainActivity extends Activity implements OnItemClickListener { RenderNodeAnimator.TRANSLATION_Y, dy * delta); animator.setDuration(DURATION); if (child == clickedView) logTranslationY(clickedView); - animator.start(child); + animator.setTarget(child); + animator.start(); if (child == clickedView) logTranslationY(clickedView); } //mHandler.postDelayed(mLaunchActivity, (long) (DURATION * .4)); |