HomeSort by relevance Sort by last modified time
    Searched full:objectanimator (Results 126 - 150 of 811) sorted by null

1 2 3 4 56 7 8 91011>>

  /development/samples/devbytes/animation/SquashAndStretch/src/com/example/squashandstretch/
SquashAndStretch.java 20 import android.animation.ObjectAnimator;
86 ObjectAnimator downAnim = ObjectAnimator.ofPropertyValuesHolder(
94 ObjectAnimator stretchAnim =
95 ObjectAnimator.ofPropertyValuesHolder(view, pvhSX, pvhSY);
105 ObjectAnimator upAnim =
106 ObjectAnimator.ofPropertyValuesHolder(view, pvhTY, pvhSX, pvhSY);
  /frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
MediaNowPlayingView.java 18 import android.animation.ObjectAnimator;
36 private final ObjectAnimator mObjectAnimator1;
37 private final ObjectAnimator mObjectAnimator2;
38 private final ObjectAnimator mObjectAnimator3;
56 mObjectAnimator1 = (ObjectAnimator) AnimatorInflater.loadAnimator(context,
60 mObjectAnimator2 = (ObjectAnimator) AnimatorInflater.loadAnimator(context,
64 mObjectAnimator3 = (ObjectAnimator) AnimatorInflater.loadAnimator(context,
  /frameworks/base/core/java/android/animation/
ObjectAnimator.java 63 * <p>For more information about animating with {@code ObjectAnimator}, read the
71 public final class ObjectAnimator extends ValueAnimator {
72 private static final String LOG_TAG = "ObjectAnimator";
108 * <p>If this ObjectAnimator has been set up to animate several properties together,
196 * Creates a new ObjectAnimator object. This default constructor is primarily for
200 public ObjectAnimator() {
212 private ObjectAnimator(Object target, String propertyName) {
223 private <T> ObjectAnimator(T target, Property<T, ?> property) {
229 * Constructs and returns an ObjectAnimator that animates between int values. A single
241 * @return An ObjectAnimator object that is set up to animate between the given values
    [all...]
  /frameworks/base/core/tests/coretests/src/android/animation/
AutoCancelTest.java 42 ObjectAnimator setupAnimator(long startDelay, String... properties) {
43 ObjectAnimator returnVal;
45 returnVal = ObjectAnimator.ofFloat(this, properties[0], 0, 1);
51 returnVal = ObjectAnimator.ofPropertyValuesHolder(this, pvhArray);
62 final ObjectAnimator animX1 = setupAnimator(startDelay, "x");
63 final ObjectAnimator animY1 = setupAnimator(startDelay, "y");
64 final ObjectAnimator animXY1 = setupAnimator(startDelay, "x", "y");
65 final ObjectAnimator animXZ1 = setupAnimator(startDelay, "x", "z");
72 final ObjectAnimator animX2 = setupAnimator(0, "x");
87 final ObjectAnimator animXY2 = setupAnimator(0, "x", "y")
    [all...]
AnimatorSetEventsTest.java 32 ObjectAnimator xAnim = ObjectAnimator.ofFloat(this, "translationX", 0, 100);
33 ObjectAnimator yAnim = ObjectAnimator.ofFloat(this, "translationY", 0, 100);
  /packages/apps/Camera2/src/com/android/camera/
AnimationManager.java 21 import android.animation.ObjectAnimator;
38 private ObjectAnimator mFlashAnim;
59 ObjectAnimator slide = ObjectAnimator.ofFloat(view, "translationX", 0f, slideDistance)
63 ObjectAnimator translateY = ObjectAnimator.ofFloat(view, "translationY",
90 ObjectAnimator.ofFloat(view, "scaleX", scale, 1f)
92 ObjectAnimator.ofFloat(view, "scaleY", scale, 1f)
94 ObjectAnimator.ofFloat(view, "translationX",
140 mFlashAnim = ObjectAnimator.ofFloat(flashOverlay, "alpha"
    [all...]
  /cts/tests/tests/animation/src/android/animation/cts/
AnimationActivity.java 23 import android.animation.ObjectAnimator;
85 ValueAnimator valueAnimator = ObjectAnimator.ofFloat(object, propertyName, start,end);
116 ObjectAnimator objAnimator = ObjectAnimator.ofInt(object, propertyName, start,end);
126 ObjectAnimator objAnimator = ObjectAnimator.ofInt(view.newBall, "y", (int)mStartY,
137 ValueAnimator bounceAnimator = ObjectAnimator.ofFloat(view.newBall, "y", mStartY,
165 public void startAnimation(ObjectAnimator bounceAnimator) {
171 public void startAnimation(ObjectAnimator bounceAnimator, ObjectAnimator colorAnimator)
    [all...]
AnimatorSetTest.java 30 import android.animation.ObjectAnimator;
44 private ObjectAnimator yAnimator;
45 private ObjectAnimator xAnimator;
330 assertEquals(interpolator, ((ObjectAnimator)animatorList.get(0)).getInterpolator());
331 assertEquals(interpolator, ((ObjectAnimator)animatorList.get(1)).getInterpolator());
334 public ObjectAnimator getXAnimator(Object object) {
338 ObjectAnimator xAnimator = ObjectAnimator.ofFloat(object, propertyX, startX, endX);
346 public ObjectAnimator getYAnimator(Object object) {
350 ObjectAnimator yAnimator = ObjectAnimator.ofFloat(object, property, startY, endY)
    [all...]
  /development/samples/devbytes/animation/ToonGame/src/com/example/android/toongame/
PlayerSetupActivity.java 22 import android.animation.ObjectAnimator;
175 ObjectAnimator bounceAnim = ObjectAnimator.ofPropertyValuesHolder(
186 ObjectAnimator moveAnim = ObjectAnimator.ofPropertyValuesHolder(
295 ObjectAnimator[] childAnims = new ObjectAnimator[childCount];
302 ObjectAnimator anim = ObjectAnimator.ofPropertyValuesHolder(child, pvhSX, pvhSY);
322 ObjectAnimator currentSkewer = ObjectAnimator.ofFloat(currentView, "skewX", -.5f)
    [all...]
  /development/samples/devbytes/animation/Bouncer/src/com/example/android/bouncer/
Bouncer3.java 19 import android.animation.ObjectAnimator;
108 // This variation uses an ObjectAnimator. The functionality is exactly the same as
110 // tell ObjectAnimator to automatically animate the target object for us, so we no
112 ObjectAnimator anim = getObjectAnimator();
119 ObjectAnimator getObjectAnimator() {
120 return ObjectAnimator.ofInt(this, "shapeY", 0, (getHeight() - mShapeH));
  /development/samples/devbytes/animation/MultiPropertyAnimations/src/com/example/android/multipropertyanimations/
MultiPropertyAnimations.java 19 import android.animation.ObjectAnimator;
75 * Multiple ObjectAnimator objects can be created and run in parallel.
78 ObjectAnimator.ofFloat(view, View.TRANSLATION_X, TX_END).start();
79 ObjectAnimator.ofFloat(view, View.TRANSLATION_Y, TY_END).start();
84 * Using PropertyValuesHolder objects enables the use of a single ObjectAnimator
90 ObjectAnimator.ofPropertyValuesHolder(view, pvhTX, pvhTY).start();
  /frameworks/base/packages/SystemUI/res/anim/
trusted_state_to_error_ellipse_path_2_animation.xml 19 <objectAnimator
26 <objectAnimator
32 <objectAnimator
error_to_trustedstate_ellipse_path_2_animation.xml 21 <objectAnimator
28 <objectAnimator
36 <objectAnimator
42 <objectAnimator
  /frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/cards/presenters/
IconCardPresenter.java 17 import android.animation.ObjectAnimator;
54 ObjectAnimator.ofInt(drawable, "alpha", 0, 255).setDuration(ANIMATION_DURATION).start();
56 ObjectAnimator.ofInt(drawable, "alpha", 255, 0).setDuration(ANIMATION_DURATION).start();
  /developers/build/prebuilts/gradle/Interpolator/.google/
packaging.yaml 16 - android:android.animation.ObjectAnimator
  /developers/build/prebuilts/gradle/WearSpeakerSample/wear/src/main/java/com/example/android/wearable/speaker/
UIAnimation.java 22 import android.animation.ObjectAnimator;
117 zommInAnimator.play(ObjectAnimator
119 ObjectAnimator.ofFloat(expandedImageView, View.Y, startBounds.top, finalBounds
121 ObjectAnimator.ofFloat(expandedImageView, View.SCALE_X, startScale, 1f))
122 .with(ObjectAnimator.ofFloat(expandedImageView, View.SCALE_Y, startScale, 1f));
151 zoomOutAnimator.play(ObjectAnimator
153 .with(ObjectAnimator
156 .with(ObjectAnimator
159 .with(ObjectAnimator
  /developers/samples/android/wearable/wear/WearSpeakerSample/wear/src/main/java/com/example/android/wearable/speaker/
UIAnimation.java 22 import android.animation.ObjectAnimator;
117 zommInAnimator.play(ObjectAnimator
119 ObjectAnimator.ofFloat(expandedImageView, View.Y, startBounds.top, finalBounds
121 ObjectAnimator.ofFloat(expandedImageView, View.SCALE_X, startScale, 1f))
122 .with(ObjectAnimator.ofFloat(expandedImageView, View.SCALE_Y, startScale, 1f));
151 zoomOutAnimator.play(ObjectAnimator
153 .with(ObjectAnimator
156 .with(ObjectAnimator
159 .with(ObjectAnimator
  /development/samples/ApiDemos/src/com/example/android/apis/animation/
BouncingBalls.java 70 ValueAnimator colorAnim = ObjectAnimator.ofInt(this, "backgroundColor", RED, BLUE);
92 ValueAnimator bounceAnim = ObjectAnimator.ofFloat(newBall, "y", startY, endY);
95 ValueAnimator squashAnim1 = ObjectAnimator.ofFloat(newBall, "x", newBall.getX(),
101 ValueAnimator squashAnim2 = ObjectAnimator.ofFloat(newBall, "width", newBall.getWidth(),
107 ValueAnimator stretchAnim1 = ObjectAnimator.ofFloat(newBall, "y", endY,
113 ValueAnimator stretchAnim2 = ObjectAnimator.ofFloat(newBall, "height",
119 ValueAnimator bounceBackAnim = ObjectAnimator.ofFloat(newBall, "y", endY,
132 ValueAnimator fadeAnim = ObjectAnimator.ofFloat(newBall, "alpha", 1f, 0f);
137 balls.remove(((ObjectAnimator)animation).getTarget());
LayoutAnimations.java 22 import android.animation.ObjectAnimator;
162 customChangingAppearingAnim = ObjectAnimator.ofPropertyValuesHolder(
167 View view = (View) ((ObjectAnimator) anim).getTarget();
179 customChangingDisappearingAnim = ObjectAnimator.ofPropertyValuesHolder(
184 View view = (View) ((ObjectAnimator) anim).getTarget();
190 customAppearingAnim = ObjectAnimator.ofFloat(null, "rotationY", 90f, 0f).
194 View view = (View) ((ObjectAnimator) anim).getTarget();
200 customDisappearingAnim = ObjectAnimator.ofFloat(null, "rotationX", 0f, 90f).
204 View view = (View) ((ObjectAnimator) anim).getTarget();
  /development/samples/browseable/WearSpeakerSample/src/com.example.android.wearable.speaker/
UIAnimation.java 22 import android.animation.ObjectAnimator;
117 zommInAnimator.play(ObjectAnimator
119 ObjectAnimator.ofFloat(expandedImageView, View.Y, startBounds.top, finalBounds
121 ObjectAnimator.ofFloat(expandedImageView, View.SCALE_X, startScale, 1f))
122 .with(ObjectAnimator.ofFloat(expandedImageView, View.SCALE_Y, startScale, 1f));
151 zoomOutAnimator.play(ObjectAnimator
153 .with(ObjectAnimator
156 .with(ObjectAnimator
159 .with(ObjectAnimator
  /development/samples/devbytes/animation/ListViewCellInsertion/src/com/example/android/insertingcells/
RoundView.java 19 import android.animation.ObjectAnimator;
71 public ObjectAnimator getScalingAnimator() {
77 ObjectAnimator imgViewScaleAnimator = ObjectAnimator
  /frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
TaskViewTransform.java 20 import android.animation.ObjectAnimator;
161 ObjectAnimator anim = ObjectAnimator.ofFloat(v, View.TRANSLATION_Z,
166 ObjectAnimator anim = ObjectAnimator.ofPropertyValuesHolder(v,
172 ObjectAnimator anim = ObjectAnimator.ofFloat(v, View.ALPHA, v.getAlpha(), alpha);
179 ObjectAnimator anim = ObjectAnimator.ofPropertyValuesHolder(v,
  /frameworks/support/design/lollipop/android/support/design/widget/
FloatingActionButtonLollipop.java 21 import android.animation.ObjectAnimator;
89 set.play(ObjectAnimator.ofFloat(mView, "elevation", elevation).setDuration(0))
90 .with(ObjectAnimator.ofFloat(mView, View.TRANSLATION_Z, pressedTranslationZ)
97 set.play(ObjectAnimator.ofFloat(mView, "elevation", elevation).setDuration(0))
98 .with(ObjectAnimator.ofFloat(mView, View.TRANSLATION_Z, pressedTranslationZ)
108 anim.play(ObjectAnimator.ofFloat(mView, View.TRANSLATION_Z, 0f)
111 set.play(ObjectAnimator.ofFloat(mView, "elevation", elevation).setDuration(0))
118 set.play(ObjectAnimator.ofFloat(mView, "elevation", 0f).setDuration(0))
119 .with(ObjectAnimator.ofFloat(mView, View.TRANSLATION_Z, 0f).setDuration(0));
ViewUtilsLollipop.java 20 import android.animation.ObjectAnimator;
64 ObjectAnimator.ofFloat(view, "elevation", 0f).setDuration(dur));
68 ObjectAnimator.ofFloat(view, "elevation", elevation).setDuration(dur));
72 ObjectAnimator.ofFloat(view, "elevation", 0).setDuration(0));
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
KeyPreviewDrawParams.java 22 import android.animation.ObjectAnimator;
150 final ObjectAnimator scaleXAnimator = ObjectAnimator.ofFloat(
153 final ObjectAnimator scaleYAnimator = ObjectAnimator.ofFloat(
171 final ObjectAnimator scaleXAnimator = ObjectAnimator.ofFloat(
173 final ObjectAnimator scaleYAnimator = ObjectAnimator.ofFloat(

Completed in 1775 milliseconds

1 2 3 4 56 7 8 91011>>