/aosp14/frameworks/base/core/java/android/animation/ |
H A D | ObjectAnimator.java | 200 public ObjectAnimator() { in ObjectAnimator() method in ObjectAnimator 244 ObjectAnimator anim = new ObjectAnimator(target, propertyName); in ofInt() 290 ObjectAnimator anim = new ObjectAnimator(target, property); in ofInt() 443 ObjectAnimator anim = new ObjectAnimator(target, propertyName); in ofFloat() 490 ObjectAnimator anim = new ObjectAnimator(target, property); in ofFloat() 612 ObjectAnimator anim = new ObjectAnimator(target, propertyName); in ofObject() 668 ObjectAnimator anim = new ObjectAnimator(target, property); in ofObject() 754 ObjectAnimator anim = new ObjectAnimator(); in ofPropertyValuesHolder() 861 ObjectAnimator objAnim = (ObjectAnimator) anim; in shouldAutoCancel() 1000 public ObjectAnimator clone() { in clone() [all …]
|
/aosp14/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | ColorFiltersMutateActivity.java | 20 import android.animation.ObjectAnimator; 94 ObjectAnimator sat = ObjectAnimator.ofFloat(this, "saturation", 1.0f); in BitmapsView() 96 sat.setRepeatCount(ObjectAnimator.INFINITE); in BitmapsView() 97 sat.setRepeatMode(ObjectAnimator.REVERSE); in BitmapsView() 100 ObjectAnimator light = ObjectAnimator.ofInt(this, "lightAdd", 0x00101030); in BitmapsView() 104 light.setRepeatMode(ObjectAnimator.REVERSE); in BitmapsView() 107 ObjectAnimator mult = ObjectAnimator.ofInt(this, "lightMul", 0x0060ffff); in BitmapsView() 111 mult.setRepeatMode(ObjectAnimator.REVERSE); in BitmapsView() 114 ObjectAnimator color = ObjectAnimator.ofInt(this, "porterDuffColor", 0x7f990040); in BitmapsView() 118 color.setRepeatMode(ObjectAnimator.REVERSE); in BitmapsView() [all …]
|
H A 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()
|
H A 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()
|
H A 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()
|
H A 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()
|
H A D | CustomRenderer.java | 19 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()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/toast/ |
H A D | ToastDefaultAnimation.kt | 19 import android.animation.ObjectAnimator 41 val sX = ObjectAnimator.ofFloat(view, "scaleX", 0.9f, 1f).apply { 45 val sY = ObjectAnimator.ofFloat(view, "scaleY", 0.9f, 1f).apply { 49 val vA = ObjectAnimator.ofFloat(view, "alpha", 0f, 1f).apply { 54 val tA = ObjectAnimator.ofFloat(text, "alpha", 0f, 1f).apply { 60 val iA = ObjectAnimator.ofFloat(icon, "alpha", 0f, 1f).apply { 79 val viewScaleX = ObjectAnimator.ofFloat(view, "scaleX", 1f, 0.9f).apply { 87 val viewElevation = ObjectAnimator.ofFloat(view, "elevation", 93 val viewAlpha = ObjectAnimator.ofFloat(view, "alpha", 1f, 0f).apply { 98 val textAlpha = ObjectAnimator.ofFloat(text, "alpha", 1f, 0f).apply { [all …]
|
/aosp14/frameworks/base/core/java/com/android/internal/widget/ |
H A 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()
|
H A D | MessagingPropertyAnimator.java | 21 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()
|
H A D | AbsActionBarView.java | 20 import android.animation.ObjectAnimator; 207 ObjectAnimator anim = ObjectAnimator.ofFloat(this, View.ALPHA, 1); in setupAnimatorToVisibility() 212 ObjectAnimator splitAnim = ObjectAnimator.ofFloat(mMenuView, View.ALPHA, 1); in setupAnimatorToVisibility() 222 ObjectAnimator anim = ObjectAnimator.ofFloat(this, View.ALPHA, 0); in setupAnimatorToVisibility() 227 ObjectAnimator splitAnim = ObjectAnimator.ofFloat(mMenuView, View.ALPHA, 0); in setupAnimatorToVisibility()
|
/aosp14/frameworks/base/core/tests/coretests/src/android/animation/ |
H A D | AutoCancelTest.java | 49 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()
|
H A D | AnimatorSetEventsTest.java | 36 ObjectAnimator xAnim = ObjectAnimator.ofFloat(this, "translationX", 0, 100); 37 ObjectAnimator yAnim = ObjectAnimator.ofFloat(this, "translationY", 0, 100);
|
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/compatui/ |
H A D | UserAspectRatioSettingsLayout.java | 22 import android.animation.ObjectAnimator; 144 final ObjectAnimator fadeIn = ObjectAnimator.ofFloat(view, ALPHA_PROPERTY_NAME, in showItem() 148 final ObjectAnimator scaleY = in showItem() 149 ObjectAnimator.ofFloat(view, SCALE_Y_PROPERTY_NAME, SCALE_START, SCALE_END); in showItem() 150 final ObjectAnimator scaleX = in showItem() 151 ObjectAnimator.ofFloat(view, SCALE_X_PROPERTY_NAME, SCALE_START, SCALE_END); in showItem() 167 final ObjectAnimator fadeOut = ObjectAnimator.ofFloat(view, ALPHA_PROPERTY_NAME, in hideItem()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | TapAgainView.java | 22 import android.animation.ObjectAnimator; 63 ObjectAnimator fadeIn = ObjectAnimator.ofFloat(this, View.ALPHA, 1f); in animateIn() 69 ObjectAnimator.ofFloat(this, View.TRANSLATION_Y, yTranslation, 0); in animateIn() 89 ObjectAnimator fadeOut = ObjectAnimator.ofFloat(this, View.ALPHA, 0f); in animateOut() 94 ObjectAnimator.ofFloat(this, View.TRANSLATION_Y, 0, -yTranslation); in animateOut()
|
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/animation/ |
H A D | ExpandedViewAnimationControllerImpl.java | 30 import android.animation.ObjectAnimator; 104 private ObjectAnimator mBottomClipAnim; 288 mBottomClipAnim = ObjectAnimator.ofInt(mExpandedView, BOTTOM_CLIP_PROPERTY, clip); in animateForImeVisibilityChange() 370 ObjectAnimator contentAlphaAnimation = createContentAlphaAnimation(); in createCollapseAnimation() 402 private ObjectAnimator createManageButtonAnimation() { in createManageButtonAnimation() 403 ObjectAnimator animator = ObjectAnimator.ofFloat(mExpandedView, MANAGE_BUTTON_ALPHA, 0f); in createManageButtonAnimation() 409 private ObjectAnimator createContentAlphaAnimation() { in createContentAlphaAnimation() 410 ObjectAnimator animator = ObjectAnimator.ofFloat(mExpandedView, CONTENT_ALPHA, 0f); in createContentAlphaAnimation() 417 private ObjectAnimator createBackgroundAlphaAnimation() { in createBackgroundAlphaAnimation() 418 ObjectAnimator animator = ObjectAnimator.ofFloat(mExpandedView, BACKGROUND_ALPHA, 0f); in createBackgroundAlphaAnimation()
|
/aosp14/frameworks/base/core/java/android/transition/ |
H A 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()
|
H A D | ChangeBounds.java | 22 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 …]
|
/aosp14/frameworks/base/tests/UiBench/src/com/android/test/uibench/ |
H A 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()
|
H A 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()
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/android/animation/ |
H A D | AnimatorTestRuleIsolationTest.kt | 45 ObjectAnimator.ofFloat(0f, 1f).apply { 50 ObjectAnimator.ofFloat(0f, 1f).apply { 69 ObjectAnimator.ofFloat(0f, 1f).apply { 74 ObjectAnimator.ofFloat(0f, 1f).apply {
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/androidx/core/animation/ |
H A D | AnimatorTestRuleIsolationTest.kt | 45 ObjectAnimator.ofFloat(0f, 1f).apply { 50 ObjectAnimator.ofFloat(0f, 1f).apply { 69 ObjectAnimator.ofFloat(0f, 1f).apply { 74 ObjectAnimator.ofFloat(0f, 1f).apply {
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ |
H A D | NotificationSection.java | 23 import android.animation.ObjectAnimator; 43 private ObjectAnimator mTopAnimator = null; 44 private ObjectAnimator mBottomAnimator = null; 95 ObjectAnimator previousAnimator = mTopAnimator; in startTopAnimation() 120 ObjectAnimator animator = ObjectAnimator.ofInt(this, "backgroundTop", in startTopAnimation() 144 ObjectAnimator previousAnimator = mBottomAnimator; in startBottomAnimation() 168 ObjectAnimator animator = ObjectAnimator.ofInt(this, "backgroundBottom", in startBottomAnimation()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/charging/ |
H A D | WirelessChargingLayout.java | 20 import android.animation.ObjectAnimator; 107 ValueAnimator textSizeAnimator = ObjectAnimator.ofFloat(percentage, "textSize", in init() 114 ValueAnimator textOpacityAnimator = ObjectAnimator.ofFloat(percentage, "alpha", 0, 1); in init() 122 ValueAnimator textFadeAnimator = ObjectAnimator.ofFloat(percentage, "alpha", 1, 0); in init() 134 ValueAnimator scrimFadeInAnimator = ObjectAnimator.ofArgb(this, in init() 138 ValueAnimator scrimFadeOutAnimator = ObjectAnimator.ofArgb(this, in init() 208 ValueAnimator textSizeAnimatorTransmitting = ObjectAnimator.ofFloat(transmittingPercentage, in init() 215 ValueAnimator textOpacityAnimatorTransmitting = ObjectAnimator.ofFloat( in init() 224 ValueAnimator textFadeAnimatorTransmitting = ObjectAnimator.ofFloat(transmittingPercentage, in init() 244 ValueAnimator textOpacityAnimatorIcon = ObjectAnimator.ofFloat(chargingViewIcon, "alpha", 0, in init() [all …]
|
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/ |
H A D | PipMenuView.java | 33 import android.animation.ObjectAnimator; 311 ObjectAnimator menuAnim = ObjectAnimator.ofFloat(mMenuContainer, View.ALPHA, in showMenu() 314 ObjectAnimator settingsAnim = ObjectAnimator.ofFloat(mSettingsButton, View.ALPHA, in showMenu() 316 ObjectAnimator dismissAnim = ObjectAnimator.ofFloat(mDismissButton, View.ALPHA, in showMenu() 318 ObjectAnimator enterSplitAnim = ObjectAnimator.ofFloat(mEnterSplitButton, View.ALPHA, in showMenu() 411 ObjectAnimator menuAnim = ObjectAnimator.ofFloat(mMenuContainer, View.ALPHA, in hideMenu() 414 ObjectAnimator settingsAnim = ObjectAnimator.ofFloat(mSettingsButton, View.ALPHA, in hideMenu() 416 ObjectAnimator dismissAnim = ObjectAnimator.ofFloat(mDismissButton, View.ALPHA, in hideMenu() 418 ObjectAnimator enterSplitAnim = ObjectAnimator.ofFloat(mEnterSplitButton, View.ALPHA, in hideMenu()
|