Fix build
Change-Id: If0e46d6fa0f5b176c3b5294eab58d25935b3b4f8
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user