OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:bounceAnim
(Results
1 - 6
of
6
) sorted by null
/development/samples/ApiDemos/src/com/example/android/apis/animation/
AnimationSeeking.java
99
ValueAnimator
bounceAnim
= null;
108
if (
bounceAnim
== null) {
109
bounceAnim
= ObjectAnimator.ofFloat(ball, "y",
111
bounceAnim
.setInterpolator(new BounceInterpolator());
112
bounceAnim
.addUpdateListener(this);
118
bounceAnim
.start();
123
bounceAnim
.setCurrentPlayTime(seekTime);
155
long playtime =
bounceAnim
.getCurrentPlayTime();
ReversingAnimation.java
70
ValueAnimator
bounceAnim
= null;
79
if (
bounceAnim
== null) {
80
bounceAnim
= ObjectAnimator.ofFloat(ball, "y", ball.getY(), getHeight() - 50f).
82
bounceAnim
.setInterpolator(new AccelerateInterpolator(2f));
83
bounceAnim
.addUpdateListener(this);
89
bounceAnim
.start();
94
bounceAnim
.reverse();
99
bounceAnim
.setCurrentPlayTime(seekTime);
CustomEvaluator.java
115
ValueAnimator
bounceAnim
= null;
126
if (
bounceAnim
== null) {
129
bounceAnim
= ObjectAnimator.ofObject(ballHolder, "xY",
131
bounceAnim
.setDuration(1500);
132
bounceAnim
.addUpdateListener(this);
138
bounceAnim
.start();
MultiPropertyAnimation.java
74
Animator
bounceAnim
= null;
86
if (
bounceAnim
== null) {
132
bounceAnim
= new AnimatorSet();
133
((AnimatorSet)
bounceAnim
).playTogether(yBouncer, yAlphaBouncer, whxyBouncer,
140
bounceAnim
.start();
BouncingBalls.java
92
ValueAnimator
bounceAnim
= ObjectAnimator.ofFloat(newBall, "y", startY, endY);
93
bounceAnim
.setDuration(duration);
94
bounceAnim
.setInterpolator(new AccelerateInterpolator());
125
bouncer.play(
bounceAnim
).before(squashAnim1);
/development/samples/devbytes/animation/ToonGame/src/com/example/android/toongame/
PlayerSetupActivity.java
175
ObjectAnimator
bounceAnim
= ObjectAnimator.ofPropertyValuesHolder(
177
bounceAnim
.setRepeatCount(1);
178
bounceAnim
.setRepeatMode(ValueAnimator.REVERSE);
179
bounceAnim
.setInterpolator(sDecelerator);
180
bounceAnim
.setDuration(300);
189
bounceAnim
.start();
Completed in 195 milliseconds