Searched refs:endY (Results 1 – 3 of 3) sorted by relevance
/development/samples/ApiDemos/src/com/example/android/apis/animation/ |
D | BouncingBalls.java | 88 float endY = getHeight() - 50f; in onTouchEvent() local 92 ValueAnimator bounceAnim = ObjectAnimator.ofFloat(newBall, "y", startY, endY); in onTouchEvent() 107 ValueAnimator stretchAnim1 = ObjectAnimator.ofFloat(newBall, "y", endY, in onTouchEvent() 108 endY + 25f); in onTouchEvent() 119 ValueAnimator bounceBackAnim = ObjectAnimator.ofFloat(newBall, "y", endY, in onTouchEvent()
|
/development/samples/browseable/Notifications/Wearable/src/com.example.android.support.wearable.notifications/ |
D | AnimatedNotificationDisplayActivity.java | 74 float endY = -mRandom.nextInt(mAnimationRange); in createNextAnimation() local 75 float distance = (float) Math.sqrt(Math.pow(endX - startX, 2) + Math.pow(endY - startY, 2)); in createNextAnimation() 79 PropertyValuesHolder.ofFloat("translationY", startY, endY)); in createNextAnimation()
|
/development/samples/devbytes/animation/ListViewItemAnimations/src/com/example/android/listviewitemanimations/ |
D | ListViewItemAnimations.java | 327 private void moveView(View view, float startX, float endX, float startY, float endY, in moveView() argument 339 if (startY != endY) { in moveView() 340 … ObjectAnimator anim = ObjectAnimator.ofFloat(view, View.TRANSLATION_Y, startY, endY); in moveView() 346 TranslateAnimation translator = new TranslateAnimation(startX, endX, startY, endY); in moveView()
|