Best code examples for Android ViewPropertyAnimator class (android.view.ViewPropertyAnimator)

These code examples were ranked by Codota’s semantic indexing as the best open source examples for Android ViewPropertyAnimator class.
You can now enable Codota on your own code to easily search and navigate your Java codebase.

Android ViewPropertyAnimator examples from Open Source projects
This code example shows how to use the following methods: alpha, setDuration, setStartDelay
74:	labelAnimator.alpha(1.0f); 
75:	labelAnimator.setStartDelay(startDelay); 
76:	labelAnimator.setDuration(FADE_TRANSITION_TIME); 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods: alpha, scaleX, scaleY, setDuration, setInterpolator
157:	animator.setDuration(mAnimationDuration); 
-
160:	animator.setInterpolator(AnimationUtils.loadInterpolator(getContext(), scaleInterpolator)); 
-
162:	animator.scaleX(scaleTarget); 
163:	animator.scaleY(scaleTarget); 
164:	animator.alpha(isExitAnimation ? 0.0f : 1.0f); 
-
167:	animator.setListener(new AnimatorListener() { 
Full Snippet Info
7
CodeRank
This code example shows how to use the following methods: cancel
73:	mViewPropertyAnimator.cancel(); 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods: alpha, cancel, setDuration, setListener
86:	mBarAnimator.cancel(); 
87:	mBarAnimator.alpha(1); 
88:	mBarAnimator.setDuration(mBarView.getResources().getInteger( 
-
90:	mBarAnimator.setListener(null); 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods: alpha, cancel, setDuration, setListener
107:	mBarAnimator.cancel(); 
108:	mBarAnimator.alpha(0); 
-
110:	mBarAnimator.setDuration(mBarView.getResources().getInteger( 
-
112:	mBarAnimator.setListener(new AnimatorListenerAdapter() 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods: setDuration, setInterpolator, x, y
118:	vpa.x(x); 
119:	vpa.y(y); 
-
121:	vpa.setDuration(5000); // 2 secs 
122:	vpa.setInterpolator(new AccelerateDecelerateInterpolator()); 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods: setDuration, setInterpolator, x, y
129:	vpa.x(x); 
130:	vpa.y(y); 
-
132:	vpa.setDuration(5000); //2 secs 
133:	vpa.setInterpolator( 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods: translationX
281:	animator.translationX(0.0f); 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods: setListener
53:	vpa.setListener(new AnimatorListenerAdapter() { 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods: alpha, setDuration, setStartDelay
74:	labelAnimator.alpha(1.0f); 
75:	labelAnimator.setStartDelay(startDelay); 
76:	labelAnimator.setDuration(FADE_TRANSITION_TIME); 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods: rotation, setDuration, setInterpolator
84:	mAnimator.rotation(targetDegree); 
-
86:	mAnimator.setDuration(duration); 
-
89:	mAnimator.setInterpolator(new AccelerateInterpolator(1)); 
-
91:	mAnimator.setInterpolator(new DecelerateInterpolator(1)); 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods: setInterpolator
71:	image_view.animate().setInterpolator(new OvershootInterpolator(4.f)).translationY(0).scaleX(1.f).scaleY(1.f); 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods: setListener
53:	vpa.setListener(new AnimatorListenerAdapter() { 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods: setInterpolator
56:	view.animate().scaleX(1).scaleY(1).setInterpolator(new OvershootInterpolator(10)).setListener(scaleUpAnimationListener).setDuration(100); 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods: cancel
71:	mViewPropertyAnimator.cancel(); 
Full Snippet Info
3
CodeRank
This code example shows how to use the following methods: cancel
71:	mViewPropertyAnimator.cancel(); 
Full Snippet Info
3
CodeRank
This code example shows how to use the following methods: cancel
71:	mViewPropertyAnimator.cancel(); 
Full Snippet Info
3
CodeRank
This code example shows how to use the following methods: alpha, cancel
58:	mShakeAnimator.cancel(); 
-
60:	mShakeAnimator.alpha(1) 
Full Snippet Info
4
CodeRank
This code example shows how to use the following methods: setInterpolator
76:	foreView.animate().setDuration(250).setInterpolator(new AccelerateInterpolator(1.5f)).scaleX(0).setListener(new AnimatorListener() { 
Full Snippet Info
4
CodeRank
This code example shows how to use the following methods: alpha, cancel
73:	animator.cancel(); 
-
125:	return animator.alpha(toAlpha).setDuration(undoBarView.getResources().getInteger(android.R.integer.config_shortAnimTime)); 
Full Snippet Info
4
CodeRank
This code example shows how to use the following methods: cancel
71:	mViewPropertyAnimator.cancel(); 
Full Snippet Info
3
CodeRank
This code example shows how to use the following methods: setInterpolator
455:	.setInterpolator(new DecelerateInterpolator(2f)) 
Full Snippet Info
4
CodeRank
This code example shows how to use the following methods: translationX
283:	animator.translationX(0.0f); 
Full Snippet Info
4
CodeRank
This code example shows how to use the following methods: cancel
71:	mViewPropertyAnimator.cancel(); 
Full Snippet Info
3
CodeRank
This code example shows how to use the following methods: cancel
70:	mViewPropertyAnimator.cancel(); 
Full Snippet Info
3
CodeRank
This code example shows how to use the following methods: cancel
69:	mViewPropertyAnimator.cancel(); 
Full Snippet Info
3
CodeRank
This code example shows how to use the following methods: cancel
69:	mViewPropertyAnimator.cancel(); 
Full Snippet Info
3
CodeRank
This code example shows how to use the following methods: setListener
55:	vpa.setListener(this); 
Full Snippet Info
4
CodeRank
This code example shows how to use the following methods: cancel
69:	mViewPropertyAnimator.cancel(); 
Full Snippet Info
4
CodeRank
Related Android ViewPropertyAnimator Questions & Answers:
See Code Examples for Android ViewPropertyAnimator Methods: