/frameworks/base/core/java/android/animation/ |
D | ObjectAnimator.java | 71 public final class ObjectAnimator extends ValueAnimator { class 200 public ObjectAnimator() { in ObjectAnimator() method in ObjectAnimator 212 private ObjectAnimator(Object target, String propertyName) { in ObjectAnimator() method in ObjectAnimator 223 private <T> ObjectAnimator(T target, Property<T, ?> property) { in ObjectAnimator() method in ObjectAnimator 243 public static ObjectAnimator ofInt(Object target, String propertyName, int... values) { in ofInt() 244 ObjectAnimator anim = new ObjectAnimator(target, propertyName); in ofInt() 266 public static ObjectAnimator ofInt(Object target, String xPropertyName, String yPropertyName, in ofInt() 289 public static <T> ObjectAnimator ofInt(T target, Property<T, Integer> property, int... values) { in ofInt() 290 ObjectAnimator anim = new ObjectAnimator(target, property); in ofInt() 308 public static <T> ObjectAnimator ofInt(T target, Property<T, Integer> xProperty, in ofInt() [all …]
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | ColorFiltersMutateActivity.java | 20 import android.animation.ObjectAnimator; 73 ObjectAnimator sat = ObjectAnimator.ofFloat(this, "saturation", 1.0f); in BitmapsView() 75 sat.setRepeatCount(ObjectAnimator.INFINITE); in BitmapsView() 76 sat.setRepeatMode(ObjectAnimator.REVERSE); in BitmapsView() 79 ObjectAnimator light = ObjectAnimator.ofInt(this, "lightAdd", 0x00101030); in BitmapsView() 82 light.setRepeatCount(ObjectAnimator.INFINITE); in BitmapsView() 83 light.setRepeatMode(ObjectAnimator.REVERSE); in BitmapsView() 86 ObjectAnimator mult = ObjectAnimator.ofInt(this, "lightMul", 0x0060ffff); in BitmapsView() 89 mult.setRepeatCount(ObjectAnimator.INFINITE); in BitmapsView() 90 mult.setRepeatMode(ObjectAnimator.REVERSE); in BitmapsView() [all …]
|
D | ViewLayersActivity.java | 19 import android.animation.ObjectAnimator; 53 final ObjectAnimator moveRight = ObjectAnimator.ofFloat(leftList, in onCreate() 56 moveRight.setRepeatCount(ObjectAnimator.INFINITE); in onCreate() 57 moveRight.setRepeatMode(ObjectAnimator.REVERSE); in onCreate() 59 final ObjectAnimator moveLeft = ObjectAnimator.ofFloat(rightList, in onCreate() 62 moveLeft.setRepeatCount(ObjectAnimator.INFINITE); in onCreate() 63 moveLeft.setRepeatMode(ObjectAnimator.REVERSE); in onCreate() 65 final ObjectAnimator rotate = ObjectAnimator.ofFloat(middleList, in onCreate() 68 rotate.setRepeatCount(ObjectAnimator.INFINITE); in onCreate() 69 rotate.setRepeatMode(ObjectAnimator.REVERSE); in onCreate()
|
D | Animated3dActivity.java | 19 import android.animation.ObjectAnimator; 45 ObjectAnimator animator = ObjectAnimator.ofFloat(view, "rotationY", 0.0f, 360.0f); in onCreate() 47 animator.setRepeatCount(ObjectAnimator.INFINITE); in onCreate() 48 animator.setRepeatMode(ObjectAnimator.REVERSE); in onCreate()
|
D | MovingSurfaceViewActivity.java | 19 import android.animation.ObjectAnimator; 34 ObjectAnimator mAnimator; 93 mAnimator = ObjectAnimator.ofFloat(mSurfaceView, "myTranslationY", in onCreate() 95 mAnimator.setRepeatMode(ObjectAnimator.REVERSE); in onCreate() 96 mAnimator.setRepeatCount(ObjectAnimator.INFINITE); in onCreate()
|
D | BitmapMutateActivity.java | 19 import android.animation.ObjectAnimator; 34 private ObjectAnimator mAnimator; 46 mAnimator = ObjectAnimator.ofInt(view, "offset", 0, PATTERN_SIZE - 1); in onCreate() 48 mAnimator.setRepeatCount(ObjectAnimator.INFINITE); in onCreate() 49 mAnimator.setRepeatMode(ObjectAnimator.REVERSE); in onCreate()
|
D | ScaledTextActivity.java | 19 import android.animation.ObjectAnimator; 38 ObjectAnimator animation = ObjectAnimator.ofFloat(view, "textScale", 1.0f, 10.0f); in onCreate() 40 animation.setRepeatCount(ObjectAnimator.INFINITE); in onCreate() 41 animation.setRepeatMode(ObjectAnimator.REVERSE); in onCreate()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | 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, in addAnimTo() 75 ObjectAnimator anim = ObjectAnimator.ofFloat(this, property, toValue); in addAnimTo() 90 ArrayList<ObjectAnimator> removalList = (ArrayList<ObjectAnimator>)mAnimators.clone(); in removeAnimationFor() 91 for (ObjectAnimator currentAnim : removalList) { in removeAnimationFor() 102 for (ObjectAnimator currentAnim : mAnimators) { in clearAnimations() 115 private DrawableHolder addAnimation(ObjectAnimator anim, boolean overwrite) { in addAnimation() 149 ObjectAnimator anim = mNeedToStart.get(i); in startAnimations()
|
D | AbsActionBarView.java | 28 import android.animation.ObjectAnimator; 206 ObjectAnimator anim = ObjectAnimator.ofFloat(this, View.ALPHA, 1); in setupAnimatorToVisibility() 211 ObjectAnimator splitAnim = ObjectAnimator.ofFloat(mMenuView, View.ALPHA, 1); in setupAnimatorToVisibility() 221 ObjectAnimator anim = ObjectAnimator.ofFloat(this, View.ALPHA, 0); in setupAnimatorToVisibility() 226 ObjectAnimator splitAnim = ObjectAnimator.ofFloat(mMenuView, View.ALPHA, 0); in setupAnimatorToVisibility()
|
/frameworks/base/core/tests/coretests/src/android/animation/ |
D | AutoCancelTest.java | 42 ObjectAnimator setupAnimator(long startDelay, String... properties) { in setupAnimator() 43 ObjectAnimator returnVal; in setupAnimator() 45 returnVal = ObjectAnimator.ofFloat(this, properties[0], 0, 1); in setupAnimator() 51 returnVal = ObjectAnimator.ofPropertyValuesHolder(this, pvhArray); in setupAnimator() 62 final ObjectAnimator animX1 = setupAnimator(startDelay, "x"); in setupAnimators() 63 final ObjectAnimator animY1 = setupAnimator(startDelay, "y"); in setupAnimators() 64 final ObjectAnimator animXY1 = setupAnimator(startDelay, "x", "y"); in setupAnimators() 65 final ObjectAnimator animXZ1 = setupAnimator(startDelay, "x", "z"); in setupAnimators() 72 final ObjectAnimator animX2 = setupAnimator(0, "x"); in setupAnimators() 87 final ObjectAnimator animXY2 = setupAnimator(0, "x", "y"); in setupAnimators()
|
D | AnimatorSetEventsTest.java | 32 ObjectAnimator xAnim = ObjectAnimator.ofFloat(this, "translationX", 0, 100); 33 ObjectAnimator yAnim = ObjectAnimator.ofFloat(this, "translationY", 0, 100);
|
/frameworks/support/design/lollipop/android/support/design/widget/ |
D | FloatingActionButtonLollipop.java | 21 import android.animation.ObjectAnimator; 106 set.play(ObjectAnimator.ofFloat(mView, "elevation", elevation).setDuration(0)) in onElevationsChanged() 107 .with(ObjectAnimator.ofFloat(mView, View.TRANSLATION_Z, pressedTranslationZ) in onElevationsChanged() 114 set.play(ObjectAnimator.ofFloat(mView, "elevation", elevation).setDuration(0)) in onElevationsChanged() 115 .with(ObjectAnimator.ofFloat(mView, View.TRANSLATION_Z, pressedTranslationZ) in onElevationsChanged() 123 animators.add(ObjectAnimator.ofFloat(mView, "elevation", elevation).setDuration(0)); in onElevationsChanged() 129 animators.add(ObjectAnimator.ofFloat(mView, View.TRANSLATION_Z, in onElevationsChanged() 132 animators.add(ObjectAnimator.ofFloat(mView, View.TRANSLATION_Z, 0f) in onElevationsChanged() 134 set.playSequentially(animators.toArray(new ObjectAnimator[0])); in onElevationsChanged() 140 set.play(ObjectAnimator.ofFloat(mView, "elevation", 0f).setDuration(0)) in onElevationsChanged() [all …]
|
D | ViewUtilsLollipop.java | 20 import android.animation.ObjectAnimator; 66 ObjectAnimator.ofFloat(view, "elevation", 0f).setDuration(dur)); in setDefaultAppBarLayoutStateListAnimator() 70 ObjectAnimator.ofFloat(view, "elevation", elevation).setDuration(dur)); in setDefaultAppBarLayoutStateListAnimator() 74 ObjectAnimator.ofFloat(view, "elevation", 0).setDuration(0)); in setDefaultAppBarLayoutStateListAnimator()
|
/frameworks/support/transition/tests/src/android/support/transition/ |
D | VisibilityTest.java | 25 import android.animation.ObjectAnimator; 81 ObjectAnimator animator = (ObjectAnimator) visibility in testCustomVisibility() 104 ObjectAnimator animator = (ObjectAnimator) visibility in testCustomVisibility2() 152 return ObjectAnimator.ofFloat(startValues.view, "scaleX", startScaleX, 0.75f); in onAppear() 162 return ObjectAnimator.ofFloat(startValues.view, "scaleX", startScaleX, 0.25f); in onDisappear() 185 return ObjectAnimator.ofFloat(view, "scaleX", startScaleX, 0.75f); in onAppear() 195 return ObjectAnimator.ofFloat(view, "scaleX", startScaleX, 0.25f); in onDisappear()
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
D | MediaNowPlayingView.java | 19 import android.animation.ObjectAnimator; 41 private final ObjectAnimator mObjectAnimator1; 42 private final ObjectAnimator mObjectAnimator2; 43 private final ObjectAnimator mObjectAnimator3; 62 mObjectAnimator1 = ObjectAnimator.ofFloat(mImage1, "scaleY", 5f / 12f, 3f / 12f, 5f / 12f, in MediaNowPlayingView() 71 mObjectAnimator2 = ObjectAnimator.ofFloat(mImage2, "scaleY", 12f / 12f, 11f / 12f, in MediaNowPlayingView() 80 mObjectAnimator3 = ObjectAnimator.ofFloat(mImage3, "scaleY", 8f / 12f, 9f / 12f, 10f / 12f, in MediaNowPlayingView()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | RippleForeground.java | 22 import android.animation.ObjectAnimator; 173 final ObjectAnimator tweenRadius = ObjectAnimator.ofFloat(this, TWEEN_RADIUS, 1); in createSoftwareEnter() 179 final ObjectAnimator tweenOrigin = ObjectAnimator.ofFloat(this, TWEEN_ORIGIN, 1); in createSoftwareEnter() 185 final ObjectAnimator opacity = ObjectAnimator.ofFloat(this, OPACITY, 1); in createSoftwareEnter() 244 final ObjectAnimator tweenRadius = ObjectAnimator.ofFloat(this, TWEEN_RADIUS, 1); in createSoftwareExit() 249 final ObjectAnimator tweenOrigin = ObjectAnimator.ofFloat(this, TWEEN_ORIGIN, 1); in createSoftwareExit() 254 final ObjectAnimator opacity = ObjectAnimator.ofFloat(this, OPACITY, 0); in createSoftwareExit()
|
D | RippleBackground.java | 21 import android.animation.ObjectAnimator; 94 final ObjectAnimator opacity = ObjectAnimator.ofFloat(this, OPACITY, 1); in createSoftwareEnter() 107 final ObjectAnimator exit = ObjectAnimator.ofFloat(this, RippleBackground.OPACITY, 0); in createSoftwareExit() 118 final ObjectAnimator enter = ObjectAnimator.ofFloat(this, RippleBackground.OPACITY, 1); in createSoftwareExit()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
D | TaskViewTransform.java | 20 import android.animation.ObjectAnimator; 161 ObjectAnimator anim = ObjectAnimator.ofFloat(v, View.TRANSLATION_Z, in applyToTaskView() 166 ObjectAnimator anim = ObjectAnimator.ofPropertyValuesHolder(v, in applyToTaskView() 172 ObjectAnimator anim = ObjectAnimator.ofFloat(v, View.ALPHA, v.getAlpha(), alpha); in applyToTaskView() 179 ObjectAnimator anim = ObjectAnimator.ofPropertyValuesHolder(v, in applyToTaskView()
|
/frameworks/base/core/java/android/transition/ |
D | Crossfade.java | 22 import android.animation.ObjectAnimator; 197 ObjectAnimator anim; in createAnimator() 200 anim = ObjectAnimator.ofInt(startDrawable, "alpha", 255, 0, 0); in createAnimator() 202 anim = ObjectAnimator.ofInt(startDrawable, "alpha", 0); in createAnimator() 211 ObjectAnimator anim1 = null; in createAnimator() 214 anim1 = ObjectAnimator.ofFloat(view, View.ALPHA, 0, 0, 1); in createAnimator() 216 anim1 = ObjectAnimator.ofFloat(view, View.ALPHA, 0, 1); in createAnimator() 243 Animator anim2 = ObjectAnimator.ofObject(startDrawable, "bounds", in createAnimator() 249 Animator anim3 = ObjectAnimator.ofObject(endDrawable, "bounds", in createAnimator()
|
D | ChangeBounds.java | 22 import android.animation.ObjectAnimator; 321 anim = ObjectAnimator.ofObject(view, POSITION_PROPERTY, null, in createAnimator() 327 ObjectAnimator topLeftAnimator = ObjectAnimator in createAnimator() 332 ObjectAnimator bottomRightAnimator = ObjectAnimator.ofObject(viewBounds, in createAnimator() 346 anim = ObjectAnimator.ofObject(view, TOP_LEFT_ONLY_PROPERTY, null, in createAnimator() 351 anim = ObjectAnimator.ofObject(view, BOTTOM_RIGHT_ONLY_PROPERTY, null, in createAnimator() 361 ObjectAnimator positionAnimator = null; in createAnimator() 365 positionAnimator = ObjectAnimator.ofObject(view, POSITION_PROPERTY, null, in createAnimator() 375 ObjectAnimator clipAnimator = null; in createAnimator() 378 clipAnimator = ObjectAnimator.ofObject(view, "clipBounds", sRectEvaluator, in createAnimator() [all …]
|
/frameworks/base/tests/UiBench/src/com/android/test/uibench/ |
D | GlTextureViewActivity.java | 19 import android.animation.ObjectAnimator; 57 ObjectAnimator animator = ObjectAnimator.ofFloat(mTextureView, "rotationY", 0.0f, 360.0f); in onSurfaceTextureAvailable() 58 animator.setRepeatMode(ObjectAnimator.REVERSE); in onSurfaceTextureAvailable() 59 animator.setRepeatCount(ObjectAnimator.INFINITE); in onSurfaceTextureAvailable()
|
D | BitmapUploadActivity.java | 18 import android.animation.ObjectAnimator; 84 ObjectAnimator colorValueAnimator = ObjectAnimator.ofInt(uploadView, "colorValue", 0, 255); in onCreate() 91 ObjectAnimator yAnimator = ObjectAnimator.ofFloat(uploadRoot, "translationY", 0, 100); in onCreate()
|
/frameworks/support/transition/api21/android/support/transition/ |
D | ObjectAnimatorUtilsApi21.java | 19 import android.animation.ObjectAnimator; 29 public <T> ObjectAnimator ofPointF(T target, Property<T, PointF> property, Path path) { in ofPointF() 30 return ObjectAnimator.ofObject(target, property, null, path); in ofPointF()
|
/frameworks/support/transition/api14/android/support/transition/ |
D | ObjectAnimatorUtilsApi14.java | 19 import android.animation.ObjectAnimator; 29 public <T> ObjectAnimator ofPointF(T target, Property<T, PointF> property, Path path) { in ofPointF() 30 return ObjectAnimator.ofFloat(target, new PathProperty<>(property, path), 0f, 1f); in ofPointF()
|
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/ |
D | Utils.java | 20 import android.animation.ObjectAnimator; 125 public static ObjectAnimator getPulseAnimator(View labelToAnimate, float decreaseRatio, in getPulseAnimator() 134 ObjectAnimator pulseAnimator = in getPulseAnimator() 135 ObjectAnimator.ofPropertyValuesHolder(labelToAnimate, scaleX, scaleY); in getPulseAnimator()
|