/development/samples/devbytes/animation/ActivityAnimations/src/com/example/android/activityanim/ |
D | PictureDetailsActivity.java | 148 mImageView.animate().setDuration(duration). in runEnterAnimation() 158 mTextView.animate().setDuration(duration/2). in runEnterAnimation() 166 bgAnim.setDuration(duration); in runEnterAnimation() 173 colorizer.setDuration(duration); in runEnterAnimation() 178 shadowAnim.setDuration(duration); in runEnterAnimation() 213 setDuration(duration/2).setInterpolator(sAccelerator). in runExitAnimation() 217 mImageView.animate().setDuration(duration). in runExitAnimation() 226 bgAnim.setDuration(duration); in runExitAnimation() 232 shadowAnim.setDuration(duration); in runExitAnimation() 240 colorizer.setDuration(duration); in runExitAnimation()
|
/development/samples/devbytes/animation/Anticipation/src/com/example/android/anticipation/ |
D | AnticiButton.java | 97 downAnim.setDuration(2500); in runPressAnim() 115 finishDownAnim.setDuration(150); in runClickAnim() 125 moveAnim.setDuration(150); in runClickAnim() 132 skewAnim.setDuration(100); in runClickAnim() 136 wobbleAnim.setDuration(150); in runClickAnim() 153 reverser.setDuration(200); in runCancelAnim()
|
/development/samples/ApiDemos/src/com/example/android/apis/animation/ |
D | BouncingBalls.java | 71 colorAnim.setDuration(3000); in MyAnimationView() 93 bounceAnim.setDuration(duration); in onTouchEvent() 97 squashAnim1.setDuration(duration/4); in onTouchEvent() 103 squashAnim2.setDuration(duration/4); in onTouchEvent() 109 stretchAnim1.setDuration(duration/4); in onTouchEvent() 115 stretchAnim2.setDuration(duration/4); in onTouchEvent() 121 bounceBackAnim.setDuration(duration); in onTouchEvent() 133 fadeAnim.setDuration(250); in onTouchEvent()
|
D | LayoutAnimationsHideShow.java | 102 mTransitioner.setDuration(duration); in onCreate() 128 setDuration(mTransitioner.getDuration(LayoutTransition.CHANGE_APPEARING)); in setupCustomAnimations() 146 setDuration(mTransitioner.getDuration(LayoutTransition.CHANGE_DISAPPEARING)); in setupCustomAnimations() 157 setDuration(mTransitioner.getDuration(LayoutTransition.APPEARING)); in setupCustomAnimations() 168 setDuration(mTransitioner.getDuration(LayoutTransition.DISAPPEARING)); in setupCustomAnimations()
|
D | MultiPropertyAnimation.java | 90 ball.getY(), getHeight() - BALL_SIZE).setDuration(DURATION); in createAnimation() 99 pvhY, pvhAlpha).setDuration(DURATION/2); in createAnimation() 115 pvTX, pvTY).setDuration(DURATION/2); in createAnimation() 127 pvhX).setDuration(DURATION/2); in createAnimation()
|
D | AnimationCloning.java | 81 0f, getHeight() - balls.get(0).getHeight()).setDuration(500); in createAnimation() 88 0f, getHeight() - ball2.getHeight()).setDuration(500); in createAnimation() 91 getHeight() - ball2.getHeight(), 0f).setDuration(500); in createAnimation()
|
D | ListFlipper.java | 108 visToInvis.setDuration(500); in flipit() 112 invisToVis.setDuration(500); in flipit()
|
D | LayoutAnimations.java | 164 setDuration(transition.getDuration(LayoutTransition.CHANGE_APPEARING)); in createCustomAnimations() 181 setDuration(transition.getDuration(LayoutTransition.CHANGE_DISAPPEARING)); in createCustomAnimations() 191 setDuration(transition.getDuration(LayoutTransition.APPEARING)); in createCustomAnimations() 201 setDuration(transition.getDuration(LayoutTransition.DISAPPEARING)); in createCustomAnimations()
|
D | Transition3d.java | 96 rotation.setDuration(500); in applyRotation() 167 rotation.setDuration(500); in run()
|
D | AnimatorEvents.java | 121 ball.getY(), getHeight() - 50f).setDuration(1500); in createAnimation() 129 ball.getX(), ball.getX() + 300).setDuration(1000); in createAnimation() 136 setDuration(1000); in createAnimation()
|
/development/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/cardstream/ |
D | DefaultCardStreamAnimator.java | 42 animator.setDuration((long) (200 * mSpeedFactor)); in getDisappearingAnimator() 59 animator.setDuration((long) (200 * mSpeedFactor)); in getAppearingAnimator() 71 animator.setDuration((long) (200 * mSpeedFactor)); in getInitalAnimator() 91 animator.setDuration(duration).setInterpolator(new BounceInterpolator()); in getSwipeInAnimator() 118 PropertyValuesHolder.ofFloat("rotationY", endRotationY)).setDuration(duration); in getSwipeOutAnimator()
|
D | CardActionButton.java | 53 animate().scaleX(0.98f).scaleY(0.98f).setDuration(100) in onTouchEvent() 64 animate().scaleX(1.f).scaleY(1.f).setDuration(50) in onTouchEvent()
|
/development/samples/devbytes/animation/ViewAnimations/src/com/example/android/viewanimations/ |
D | ViewAnimations.java | 58 alphaAnimation.setDuration(1000); in onCreate() 65 translateAnimation.setDuration(1000); in onCreate() 70 rotateAnimation.setDuration(1000); in onCreate() 74 scaleAnimation.setDuration(1000); in onCreate()
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
D | LayoutAnimation2.java | 40 animation.setDuration(50); in onCreate() 47 animation.setDuration(100); in onCreate()
|
/development/samples/devbytes/animation/SquashAndStretch/src/com/example/squashandstretch/ |
D | SquashAndStretch.java | 89 downAnim.setDuration((long) (animationDuration * 2)); in onButtonClick() 99 stretchAnim.setDuration(animationDuration); in onButtonClick() 107 upAnim.setDuration((long) (animationDuration * 2)); in onButtonClick()
|
/development/samples/devbytes/animation/ToonGame/src/com/example/android/toongame/ |
D | PlayerSetupActivity.java | 116 v.animate().setDuration(ToonGame.SHORT_DURATION). 120 v.animate().setDuration(ToonGame.SHORT_DURATION). 180 bounceAnim.setDuration(300); in buttonClick() 188 moveAnim.setDuration(600); in buttonClick() 278 mContainer.animate().setDuration(ToonGame.LONG_DURATION).withEndAction(new Runnable() { 303 anim.setDuration(150); in popChildrenIn() 327 currentMover.setDuration(ToonGame.MEDIUM_DURATION); in slideToNext() 337 nextMover.setDuration(ToonGame.MEDIUM_DURATION); in slideToNext()
|
D | ToonGame.java | 76 mStarter.animate().setDuration(100); in onCreate() 139 mContainer.animate().scaleX(5).scaleY(5).alpha(0).setDuration(LONG_DURATION). in play() 205 set.setDuration(getDuration(SHORT_DURATION)); in squishyBounce()
|
/development/samples/devbytes/animation/ListViewItemAnimations/src/com/example/android/listviewitemanimations/ |
D | ListViewItemAnimations.java | 189 view.animate().setDuration(duration). in animateSwipe() 214 set.setDuration(duration); in animateSwipe() 331 view.animate().setDuration(MOVE_DURATION); in moveView() 334 anim.setDuration(MOVE_DURATION); in moveView() 341 anim.setDuration(MOVE_DURATION); in moveView() 347 translator.setDuration(MOVE_DURATION); in moveView()
|
/development/samples/browseable/WatchViewStub/src/com.example.android.google.wearable.watchviewstub/ |
D | MainActivity.java | 64 scaleAnimation.setDuration(300); in onLayoutClicked() 70 mRoundBackground.animate().rotationBy(360).setDuration(300).start(); in onLayoutClicked()
|
/development/samples/training/AnimationsDemo/src/com/example/android/animationsdemo/ |
D | CrossfadeActivity.java | 122 .setDuration(mShortAnimationDuration) in showContentOrLoadingIndicator() 129 .setDuration(mShortAnimationDuration) in showContentOrLoadingIndicator()
|
/development/samples/devbytes/animation/PictureViewer/src/com/example/android/pictureviewer/ |
D | PictureViewer.java | 57 prevImageView.animate().setDuration(1000); in onCreate() 58 nextImageView.animate().setDuration(1000); in onCreate()
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
D | ShadowCardDrag.java | 101 flattenX.setDuration(100); in onUp() 106 flattenY.setDuration(100); in onUp() 220 upAnim.setDuration(100); in onCreate() 236 downAnim.setDuration(100); in onCreate()
|
/development/samples/devbytes/animation/ListViewAnimations/src/com/example/android/listviewanimations/ |
D | ListViewAnimations.java | 66 view.animate().setDuration(1000).alpha(0). in onCreate() 81 anim.setDuration(1000); in onCreate()
|
/development/samples/devbytes/animation/ListViewRemovalAnimation/src/com/example/android/listviewremovalanimation/ |
D | ListViewRemovalAnimation.java | 144 v.animate().setDuration(duration). 209 child.animate().setDuration(MOVE_DURATION).translationY(0); in animateRemoval() 229 child.animate().setDuration(MOVE_DURATION).translationY(0); in animateRemoval()
|
/development/samples/devbytes/animation/LiveButton/src/com/example/android/livebutton/ |
D | LiveButton.java | 47 clickMeButton.animate().setDuration(200); in onCreate()
|