Home
last modified time | relevance | path

Searched refs:setDuration (Results 1 – 25 of 56) sorted by relevance

123

/development/samples/devbytes/animation/ActivityAnimations/src/com/example/android/activityanim/
DPictureDetailsActivity.java148 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/
DAnticiButton.java97 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/
DBouncingBalls.java71 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()
DLayoutAnimationsHideShow.java102 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()
DMultiPropertyAnimation.java90 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()
DAnimationCloning.java81 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()
DListFlipper.java108 visToInvis.setDuration(500); in flipit()
112 invisToVis.setDuration(500); in flipit()
DLayoutAnimations.java164 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()
DTransition3d.java96 rotation.setDuration(500); in applyRotation()
167 rotation.setDuration(500); in run()
DAnimatorEvents.java121 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/
DDefaultCardStreamAnimator.java42 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()
DCardActionButton.java53 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/
DViewAnimations.java58 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/
DLayoutAnimation2.java40 animation.setDuration(50); in onCreate()
47 animation.setDuration(100); in onCreate()
/development/samples/devbytes/animation/SquashAndStretch/src/com/example/squashandstretch/
DSquashAndStretch.java89 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/
DPlayerSetupActivity.java116 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()
DToonGame.java76 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/
DListViewItemAnimations.java189 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/
DMainActivity.java64 scaleAnimation.setDuration(300); in onLayoutClicked()
70 mRoundBackground.animate().rotationBy(360).setDuration(300).start(); in onLayoutClicked()
/development/samples/training/AnimationsDemo/src/com/example/android/animationsdemo/
DCrossfadeActivity.java122 .setDuration(mShortAnimationDuration) in showContentOrLoadingIndicator()
129 .setDuration(mShortAnimationDuration) in showContentOrLoadingIndicator()
/development/samples/devbytes/animation/PictureViewer/src/com/example/android/pictureviewer/
DPictureViewer.java57 prevImageView.animate().setDuration(1000); in onCreate()
58 nextImageView.animate().setDuration(1000); in onCreate()
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DShadowCardDrag.java101 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/
DListViewAnimations.java66 view.animate().setDuration(1000).alpha(0). in onCreate()
81 anim.setDuration(1000); in onCreate()
/development/samples/devbytes/animation/ListViewRemovalAnimation/src/com/example/android/listviewremovalanimation/
DListViewRemovalAnimation.java144 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/
DLiveButton.java47 clickMeButton.animate().setDuration(200); in onCreate()

123