Home
last modified time | relevance | path

Searched refs:ObjectAnimator (Results 1 – 25 of 121) sorted by relevance

12345

/frameworks/base/core/java/android/animation/
DObjectAnimator.java71 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/
DColorFiltersMutateActivity.java20 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 …]
DViewLayersActivity.java19 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()
DAnimated3dActivity.java19 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()
DMovingSurfaceViewActivity.java19 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()
DBitmapMutateActivity.java19 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()
DCustomRenderer.java19 import android.animation.ObjectAnimator;
34 private ObjectAnimator mAnimator;
46 mAnimator = ObjectAnimator.ofFloat(mChildNode, "translationY", 0, 300); in onStart()
47 mAnimator.setRepeatMode(ObjectAnimator.REVERSE); in onStart()
48 mAnimator.setRepeatCount(ObjectAnimator.INFINITE); in onStart()
DScaledTextActivity.java19 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()
DLinesActivity.java19 import android.animation.ObjectAnimator;
33 private ObjectAnimator mAnimator;
42 mAnimator = ObjectAnimator.ofFloat(view, "offset", 0.0f, 15.0f); in onCreate()
44 mAnimator.setRepeatCount(ObjectAnimator.INFINITE); in onCreate()
45 mAnimator.setRepeatMode(ObjectAnimator.REVERSE); in onCreate()
/frameworks/base/core/java/com/android/internal/widget/
DDrawableHolder.java22 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()
DMessagingPropertyAnimator.java21 import android.animation.ObjectAnimator;
142 ObjectAnimator existing = (ObjectAnimator) v.getTag(TAG_TOP_ANIMATOR); in startTopAnimation()
151 ObjectAnimator animator = ObjectAnimator.ofInt(v, TOP, start, end); in startTopAnimation()
182 ObjectAnimator existing = (ObjectAnimator) v.getTag(TAG_ALPHA_ANIMATOR); in fadeIn()
189 ObjectAnimator animator = ObjectAnimator.ofFloat(v, View.ALPHA, in fadeIn()
215 ObjectAnimator existing = (ObjectAnimator) view.getTag(TAG_ALPHA_ANIMATOR); in fadeOut()
226 ObjectAnimator animator = ObjectAnimator.ofFloat(view, View.ALPHA, in fadeOut()
DAbsActionBarView.java20 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/
DAutoCancelTest.java49 ObjectAnimator setupAnimator(long startDelay, String... properties) { in setupAnimator()
50 ObjectAnimator returnVal; in setupAnimator()
52 returnVal = ObjectAnimator.ofFloat(this, properties[0], 0, 1); in setupAnimator()
58 returnVal = ObjectAnimator.ofPropertyValuesHolder(this, pvhArray); in setupAnimator()
68 final ObjectAnimator animX1 = setupAnimator(startDelay, "x"); in setupAnimators()
69 final ObjectAnimator animY1 = setupAnimator(startDelay, "y"); in setupAnimators()
70 final ObjectAnimator animXY1 = setupAnimator(startDelay, "x", "y"); in setupAnimators()
71 final ObjectAnimator animXZ1 = setupAnimator(startDelay, "x", "z"); in setupAnimators()
78 final ObjectAnimator animX2 = setupAnimator(0, "x"); in setupAnimators()
93 final ObjectAnimator animXY2 = setupAnimator(0, "x", "y"); in setupAnimators()
DAnimatorSetEventsTest.java36 ObjectAnimator xAnim = ObjectAnimator.ofFloat(this, "translationX", 0, 100);
37 ObjectAnimator yAnim = ObjectAnimator.ofFloat(this, "translationY", 0, 100);
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/
DTaskViewTransform.java20 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/
DCrossfade.java22 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()
DChangeBounds.java22 import android.animation.ObjectAnimator;
357 anim = ObjectAnimator.ofObject(view, POSITION_PROPERTY, null, in createAnimator()
363 ObjectAnimator topLeftAnimator = ObjectAnimator in createAnimator()
368 ObjectAnimator bottomRightAnimator = ObjectAnimator.ofObject(viewBounds, in createAnimator()
382 anim = ObjectAnimator.ofObject(view, TOP_LEFT_ONLY_PROPERTY, null, in createAnimator()
387 anim = ObjectAnimator.ofObject(view, BOTTOM_RIGHT_ONLY_PROPERTY, null, in createAnimator()
397 ObjectAnimator positionAnimator = null; in createAnimator()
401 positionAnimator = ObjectAnimator.ofObject(view, POSITION_PROPERTY, null, in createAnimator()
411 ObjectAnimator clipAnimator = null; in createAnimator()
414 clipAnimator = ObjectAnimator.ofObject(view, "clipBounds", sRectEvaluator, in createAnimator()
[all …]
DChangeImageTransform.java19 import android.animation.ObjectAnimator;
161 ObjectAnimator animator; in createAnimator()
171 private ObjectAnimator createNullAnimator(ImageView imageView) { in createNullAnimator()
172 return ObjectAnimator.ofObject(imageView, ANIMATED_TRANSFORM_PROPERTY, in createNullAnimator()
176 private ObjectAnimator createMatrixAnimator(final ImageView imageView, Matrix startMatrix, in createMatrixAnimator()
178 return ObjectAnimator.ofObject(imageView, ANIMATED_TRANSFORM_PROPERTY, in createMatrixAnimator()
/frameworks/base/tests/UiBench/src/com/android/test/uibench/
DGlTextureViewActivity.java19 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()
DBitmapUploadActivity.java18 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/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationSection.java21 import android.animation.ObjectAnimator;
41 private ObjectAnimator mTopAnimator = null;
42 private ObjectAnimator mBottomAnimator = null;
88 ObjectAnimator previousAnimator = mTopAnimator; in startTopAnimation()
113 ObjectAnimator animator = ObjectAnimator.ofInt(this, "backgroundTop", in startTopAnimation()
138 ObjectAnimator previousAnimator = mBottomAnimator; in startBottomAnimation()
162 ObjectAnimator animator = ObjectAnimator.ofInt(this, "backgroundBottom", in startBottomAnimation()
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/
DDividerHandleView.java22 import android.animation.ObjectAnimator;
114 ObjectAnimator widthAnimator = ObjectAnimator.ofInt(this, WIDTH_PROPERTY, in animateToTarget()
116 ObjectAnimator heightAnimator = ObjectAnimator.ofInt(this, HEIGHT_PROPERTY, in animateToTarget()
/frameworks/base/core/java/android/widget/
DAdapterViewAnimator.java20 import android.animation.ObjectAnimator;
146 ObjectAnimator mInAnimation;
147 ObjectAnimator mOutAnimation;
280 ObjectAnimator getDefaultInAnimation() { in getDefaultInAnimation()
281 ObjectAnimator anim = ObjectAnimator.ofFloat(null, "alpha", 0.0f, 1.0f); in getDefaultInAnimation()
286 ObjectAnimator getDefaultOutAnimation() { in getDefaultOutAnimation()
287 ObjectAnimator anim = ObjectAnimator.ofFloat(null, "alpha", 1.0f, 0.0f); in getDefaultOutAnimation()
868 public ObjectAnimator getInAnimation() { in getInAnimation()
880 public void setInAnimation(ObjectAnimator inAnimation) { in setInAnimation()
892 public ObjectAnimator getOutAnimation() { in getOutAnimation()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/
DPipMenuActivity.java40 import android.animation.ObjectAnimator;
315 ObjectAnimator menuAnim = ObjectAnimator.ofFloat(mMenuContainer, View.ALPHA, in showMenu()
318 ObjectAnimator settingsAnim = ObjectAnimator.ofFloat(mSettingsButton, View.ALPHA, in showMenu()
320 ObjectAnimator dismissAnim = ObjectAnimator.ofFloat(mDismissButton, View.ALPHA, in showMenu()
363 ObjectAnimator menuAnim = ObjectAnimator.ofFloat(mMenuContainer, View.ALPHA, in hideMenu()
366 ObjectAnimator settingsAnim = ObjectAnimator.ofFloat(mSettingsButton, View.ALPHA, in hideMenu()
368 ObjectAnimator dismissAnim = ObjectAnimator.ofFloat(mDismissButton, View.ALPHA, in hideMenu()
/frameworks/base/graphics/java/android/graphics/drawable/
DRippleForeground.java21 import android.animation.ObjectAnimator;
221 final ObjectAnimator tweenRadius = ObjectAnimator.ofFloat(this, TWEEN_RADIUS, 1); in startSoftwareEnter()
227 final ObjectAnimator tweenOrigin = ObjectAnimator.ofFloat(this, TWEEN_ORIGIN, 1); in startSoftwareEnter()
233 final ObjectAnimator opacity = ObjectAnimator.ofFloat(this, OPACITY, 1); in startSoftwareEnter()
241 final ObjectAnimator opacity = ObjectAnimator.ofFloat(this, OPACITY, 0); in startSoftwareExit()

12345