/developers/build/prebuilts/gradle/BatchStepSensor/Application/src/main/java/com/example/android/batchstepsensor/cardstream/ |
CardStreamAnimator.java | 19 import android.animation.ObjectAnimator; 43 * @return ObjectAnimator for initial animation 45 public abstract ObjectAnimator getInitalAnimator(Context context); 51 * @return ObjectAnimator for disappearing animation 53 public abstract ObjectAnimator getDisappearingAnimator(Context context); 59 * @return ObjectAnimator for appearing animation 61 public abstract ObjectAnimator getAppearingAnimator(Context context); 70 * @return ObjectAnimator for swipe-in animation 72 public abstract ObjectAnimator getSwipeInAnimator(View view, float deltaX, float deltaY); 81 * @return ObjectAnimator for swipe-out animatio [all...] |
DefaultCardStreamAnimator.java | 19 import android.animation.ObjectAnimator; 33 public ObjectAnimator getDisappearingAnimator(Context context){ 35 ObjectAnimator animator = ObjectAnimator.ofPropertyValuesHolder(new Object(), 47 public ObjectAnimator getAppearingAnimator(Context context){ 53 ObjectAnimator animator = ObjectAnimator.ofPropertyValuesHolder(new Object(), 64 public ObjectAnimator getInitalAnimator(Context context){ 66 ObjectAnimator animator = ObjectAnimator.ofPropertyValuesHolder(new Object() [all...] |
/development/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/cardstream/ |
CardStreamAnimator.java | 19 import android.animation.ObjectAnimator; 43 * @return ObjectAnimator for initial animation 45 public abstract ObjectAnimator getInitalAnimator(Context context); 51 * @return ObjectAnimator for disappearing animation 53 public abstract ObjectAnimator getDisappearingAnimator(Context context); 59 * @return ObjectAnimator for appearing animation 61 public abstract ObjectAnimator getAppearingAnimator(Context context); 70 * @return ObjectAnimator for swipe-in animation 72 public abstract ObjectAnimator getSwipeInAnimator(View view, float deltaX, float deltaY); 81 * @return ObjectAnimator for swipe-out animatio [all...] |
DefaultCardStreamAnimator.java | 19 import android.animation.ObjectAnimator; 33 public ObjectAnimator getDisappearingAnimator(Context context){ 35 ObjectAnimator animator = ObjectAnimator.ofPropertyValuesHolder(new Object(), 47 public ObjectAnimator getAppearingAnimator(Context context){ 53 ObjectAnimator animator = ObjectAnimator.ofPropertyValuesHolder(new Object(), 64 public ObjectAnimator getInitalAnimator(Context context){ 66 ObjectAnimator animator = ObjectAnimator.ofPropertyValuesHolder(new Object() [all...] |
/sdk/testapps/customPropAnimTest/src/com/android/custompropertyanimation/ |
CustomPropertyAnimationActivity.java | 3 import android.animation.ObjectAnimator; 19 ObjectAnimator anim = ObjectAnimator.ofFloat(view, "foo", 1);
|
/cts/tests/tests/animation/src/android/animation/cts/ |
ObjectAnimatorTest.java | 20 import android.animation.ObjectAnimator; 30 private ObjectAnimator mObjectAnimator; 42 mObjectAnimator = (ObjectAnimator) mActivity.createAnimatorWithDuration(mDuration); 47 ObjectAnimator objectAnimatorLocal = (ObjectAnimator)mActivity.createAnimatorWithDuration( 57 ObjectAnimator objAnimator = ObjectAnimator.ofFloat(object, property, startY, endY); 77 ObjectAnimator animator = ObjectAnimator.ofFloat(object, property, startY, endY); 78 ObjectAnimator objAnimator = new ObjectAnimator() [all...] |
/frameworks/base/core/java/android/animation/ |
ObjectAnimator.java | 38 * <p>For more information about animating with {@code ObjectAnimator}, read the 46 public final class ObjectAnimator extends ValueAnimator { 47 private static final String LOG_TAG = "ObjectAnimator"; 83 * <p>If this ObjectAnimator has been set up to animate several properties together, 171 * Creates a new ObjectAnimator object. This default constructor is primarily for 175 public ObjectAnimator() { 187 private ObjectAnimator(Object target, String propertyName) { 198 private <T> ObjectAnimator(T target, Property<T, ?> property) { 204 * Constructs and returns an ObjectAnimator that animates between int values. A single 215 * @return An ObjectAnimator object that is set up to animate between the given values [all...] |
/packages/apps/Launcher2/src/com/android/launcher2/ |
LauncherAnimUtils.java | 21 import android.animation.ObjectAnimator; 100 public static ObjectAnimator ofFloat(View target, String propertyName, float... values) { 101 ObjectAnimator anim = new ObjectAnimator(); 110 public static ObjectAnimator ofPropertyValuesHolder(View target, 112 ObjectAnimator anim = new ObjectAnimator(); 120 public static ObjectAnimator ofPropertyValuesHolder(Object target, 122 ObjectAnimator anim = new ObjectAnimator(); [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
DrawableHolder.java | 22 import android.animation.ObjectAnimator; 44 private ArrayList<ObjectAnimator> mAnimators = new ArrayList<ObjectAnimator>(); 45 private ArrayList<ObjectAnimator> mNeedToStart = new ArrayList<ObjectAnimator>(); 70 public ObjectAnimator addAnimTo(long duration, long delay, 75 ObjectAnimator anim = ObjectAnimator.ofFloat(this, property, toValue); 90 ArrayList<ObjectAnimator> removalList = (ArrayList<ObjectAnimator>)mAnimators.clone() [all...] |
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/ |
TransitionUtils.java | 19 import android.animation.ObjectAnimator; 34 public static ObjectAnimator createActivityFadeInAnimator(Resources res, boolean useFloats) { 41 ObjectAnimator animator = new ObjectAnimator(); 54 public static ObjectAnimator createActivityFadeOutAnimator(Resources res, boolean useFloats) { 61 ObjectAnimator animator = new ObjectAnimator();
|
/development/samples/devbytes/animation/Anticipation/src/com/example/android/anticipation/ |
AnticiButton.java | 20 import android.animation.ObjectAnimator; 50 ObjectAnimator downAnim = null; 96 downAnim = ObjectAnimator.ofFloat(this, "skewX", mOnLeft ? .5f : -.5f); 109 ObjectAnimator finishDownAnim = null; 113 finishDownAnim = ObjectAnimator.ofFloat(this, "skewX", 122 ObjectAnimator moveAnim = ObjectAnimator.ofFloat(this, 129 ObjectAnimator skewAnim = ObjectAnimator.ofFloat(this, "skewX", 134 ObjectAnimator wobbleAnim = ObjectAnimator.ofFloat(this, "skewX", 0) [all...] |
/development/samples/devbytes/animation/SlidingFragments/src/com/example/android/slidingfragments/ |
SlidingFragments.java | 23 import android.animation.ObjectAnimator; 143 ObjectAnimator movingFragmentAnimator = ObjectAnimator. 146 ObjectAnimator darkHoverViewAnimator = ObjectAnimator. 149 ObjectAnimator movingFragmentRotator = ObjectAnimator. 174 ObjectAnimator movingFragmentAnimator = ObjectAnimator. 177 ObjectAnimator darkHoverViewAnimator = ObjectAnimator [all...] |
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
ViewLayersActivity.java | 19 import android.animation.ObjectAnimator; 53 final ObjectAnimator moveRight = ObjectAnimator.ofFloat(leftList, 56 moveRight.setRepeatCount(ObjectAnimator.INFINITE); 57 moveRight.setRepeatMode(ObjectAnimator.REVERSE); 59 final ObjectAnimator moveLeft = ObjectAnimator.ofFloat(rightList, 62 moveLeft.setRepeatCount(ObjectAnimator.INFINITE); 63 moveLeft.setRepeatMode(ObjectAnimator.REVERSE); 65 final ObjectAnimator rotate = ObjectAnimator.ofFloat(middleList [all...] |
Animated3dActivity.java | 19 import android.animation.ObjectAnimator; 45 ObjectAnimator animator = ObjectAnimator.ofFloat(view, "rotationY", 0.0f, 360.0f); 47 animator.setRepeatCount(ObjectAnimator.INFINITE); 48 animator.setRepeatMode(ObjectAnimator.REVERSE);
|
ColorFiltersMutateActivity.java | 20 import android.animation.ObjectAnimator; 73 ObjectAnimator sat = ObjectAnimator.ofFloat(this, "saturation", 1.0f); 75 sat.setRepeatCount(ObjectAnimator.INFINITE); 76 sat.setRepeatMode(ObjectAnimator.REVERSE); 79 ObjectAnimator light = ObjectAnimator.ofInt(this, "lightAdd", 0x00101030); 82 light.setRepeatCount(ObjectAnimator.INFINITE); 83 light.setRepeatMode(ObjectAnimator.REVERSE); 86 ObjectAnimator mult = ObjectAnimator.ofInt(this, "lightMul", 0x0060ffff) [all...] |
/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
|
/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/core/tests/coretests/src/android/animation/ |
AnimatorSetEventsTest.java | 32 ObjectAnimator xAnim = ObjectAnimator.ofFloat(this, "translationX", 0, 100); 33 ObjectAnimator yAnim = ObjectAnimator.ofFloat(this, "translationY", 0, 100);
|
ObjectAnimatorEventsTest.java | 22 * Listener tests for ObjectAnimator. 31 mAnimator = ObjectAnimator.ofFloat(button, "translationX", 0, 100);
|
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...] |
/packages/apps/Contacts/src/com/android/contacts/widget/ |
TransitionAnimationView.java | 18 import android.animation.ObjectAnimator; 31 private ObjectAnimator mAnimator; 82 mAnimator = ObjectAnimator.ofFloat(mMaskingView, View.ALPHA, 0.0f, 1.0f); 85 mAnimator = ObjectAnimator.ofFloat(mMaskingView, View.ALPHA, 1.0f, 0.0f);
|
/cts/tests/tests/textureview/src/android/textureview/cts/ |
TextureViewTestActivity.java | 18 import android.animation.ObjectAnimator; 48 ObjectAnimator rotate = ObjectAnimator.ofFloat(mTexView, "rotationY", 180); 49 ObjectAnimator fadeIn = ObjectAnimator.ofFloat(mTexView, "alpha", 0.3f, 1f); 50 ObjectAnimator scaleY = ObjectAnimator.ofFloat(mTexView, "scaleY", 0.3f, 1f);
|
/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);
|
/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...] |
/packages/apps/Launcher3/src/com/android/launcher3/ |
LauncherAnimUtils.java | 21 import android.animation.ObjectAnimator; 101 public static ObjectAnimator ofFloat(View target, String propertyName, float... values) { 102 ObjectAnimator anim = new ObjectAnimator(); 111 public static ObjectAnimator ofPropertyValuesHolder(View target, 113 ObjectAnimator anim = new ObjectAnimator(); 121 public static ObjectAnimator ofPropertyValuesHolder(Object target, 123 ObjectAnimator anim = new ObjectAnimator(); [all...] |