/frameworks/base/tests/UiBench/src/com/android/test/uibench/ |
D | ResizeHWLayerActivity.java | 19 import android.animation.ValueAnimator; 46 ValueAnimator animator = ValueAnimator.ofPropertyValuesHolder(pvhWidth, pvhHeight); in onCreate() 47 animator.setRepeatMode(ValueAnimator.REVERSE); in onCreate() 48 animator.setRepeatCount(ValueAnimator.INFINITE); in onCreate() 49 animator.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() { in onCreate() 51 public void onAnimationUpdate(ValueAnimator valueAnimator) { in onCreate()
|
D | BitmapUploadActivity.java | 19 import android.animation.ValueAnimator; 85 colorValueAnimator.setRepeatMode(ValueAnimator.REVERSE); in onCreate() 86 colorValueAnimator.setRepeatCount(ValueAnimator.INFINITE); in onCreate() 92 yAnimator.setRepeatMode(ValueAnimator.REVERSE); in onCreate() 93 yAnimator.setRepeatCount(ValueAnimator.INFINITE); in onCreate()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | PasswordTextView.java | 22 import android.animation.ValueAnimator; 329 ValueAnimator textAnimator; 333 ValueAnimator widthAnimator; 340 ValueAnimator textTranslateAnimator; 393 private ValueAnimator.AnimatorUpdateListener mDotSizeUpdater = 394 new ValueAnimator.AnimatorUpdateListener() { 396 public void onAnimationUpdate(ValueAnimator animation) { 402 private ValueAnimator.AnimatorUpdateListener mTextSizeUpdater = 403 new ValueAnimator.AnimatorUpdateListener() { 405 public void onAnimationUpdate(ValueAnimator animation) { [all …]
|
D | NumPadAnimator.java | 28 import android.animation.ValueAnimator; 46 private ValueAnimator mExpandAnimator; 48 private ValueAnimator mContractAnimator; 146 mExpandAnimator = ValueAnimator.ofFloat(0f, 1f); in createAnimators() 152 ValueAnimator expandBackgroundColorAnimator = ValueAnimator.ofObject(new ArgbEvaluator(), in createAnimators() 159 ValueAnimator expandTextColorAnimator = in createAnimators() 160 ValueAnimator.ofObject(new ArgbEvaluator(), in createAnimators() 177 mContractAnimator = ValueAnimator.ofFloat(1f, 0f); in createAnimators() 183 ValueAnimator contractBackgroundColorAnimator = ValueAnimator.ofObject(new ArgbEvaluator(), in createAnimators() 191 ValueAnimator contractTextColorAnimator = in createAnimators() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ui/ |
D | ScreenshotAnimationController.kt | 22 import android.animation.ValueAnimator in <lambda>() 104 ValueAnimator.ofFloat(0f).apply { in <lambda>() 111 val fadeInAnimator = ValueAnimator.ofFloat(0f, 1f) in <lambda>() 132 val fadeAnimator = ValueAnimator.ofFloat(1f, 0f) in <lambda>() 149 val scrimAnim = ValueAnimator.ofFloat(0f, 1f) in <lambda>() 150 scrimAnim.addUpdateListener { animation: ValueAnimator -> in <lambda>() 172 val previewAnim = ValueAnimator.ofFloat(0f, 1f) in <lambda>() 173 previewAnim.addUpdateListener { animation: ValueAnimator -> in <lambda>() 181 val previewFadeAnim = ValueAnimator.ofFloat(1f, 0f) in <lambda>() 182 previewFadeAnim.addUpdateListener { animation: ValueAnimator -> in <lambda>() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ |
D | AuthPanelController.java | 20 import android.animation.ValueAnimator; 166 ValueAnimator marginAnimator = ValueAnimator.ofInt(mMargin, margin); in updateForContentDimensions() 172 ValueAnimator cornerAnimator = ValueAnimator.ofFloat(mCornerRadius, cornerRadius); in updateForContentDimensions() 178 ValueAnimator heightAnimator = ValueAnimator.ofInt(mContentHeight, contentHeight); in updateForContentDimensions() 185 ValueAnimator widthAnimator = ValueAnimator.ofInt(mContentWidth, contentWidth); in updateForContentDimensions()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ |
D | DraggableConstraintLayout.java | 24 import android.animation.ValueAnimator; 215 private ValueAnimator mDismissAnimation; 244 ValueAnimator anim = createSwipeDismissAnimation(); in onTouch() 274 ValueAnimator dismissAnimator = in onFling() 314 private void dismiss(ValueAnimator animator) { in dismiss() 336 private ValueAnimator createSwipeDismissAnimation() { in createSwipeDismissAnimation() 341 private ValueAnimator createSwipeDismissAnimation(float velocity) { in createSwipeDismissAnimation() 344 ValueAnimator anim = ValueAnimator.ofFloat(0, 1); in createSwipeDismissAnimation() 372 private ValueAnimator createSwipeReturnAnimation() { in createSwipeReturnAnimation() 373 ValueAnimator anim = ValueAnimator.ofFloat(0, 1); in createSwipeReturnAnimation()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | FaceScanningOverlay.kt | 23 import android.animation.ValueAnimator 65 private var cameraProtectionAnimator: ValueAnimator? = null 114 cameraProtectionAnimator = ValueAnimator.ofFloat(cameraProtectionProgress, in enableShowProtection() 255 ): ValueAnimator { in createRimDisappearAnimator() 256 return ValueAnimator.ofFloat(rimProgress, endValue).apply { in createRimDisappearAnimator() 269 private fun createSuccessOpacityAnimator(): ValueAnimator { in createSuccessOpacityAnimator() 270 return ValueAnimator.ofInt(255, 0).apply { in createSuccessOpacityAnimator() 292 private fun createRimAppearAnimator(): ValueAnimator { in createRimAppearAnimator() 293 return ValueAnimator.ofFloat( in createRimAppearAnimator() 310 private fun updateRimProgress(animator: ValueAnimator) { in updateRimProgress() [all …]
|
/frameworks/base/core/java/android/animation/ |
D | ValueAnimator.java | 80 public class ValueAnimator extends Animator implements AnimationHandler.AnimationFrameCallback { class 419 public ValueAnimator() { in ValueAnimator() method in ValueAnimator 433 public static ValueAnimator ofInt(int... values) { in ofInt() 434 ValueAnimator anim = new ValueAnimator(); in ofInt() 450 public static ValueAnimator ofArgb(int... values) { in ofArgb() 451 ValueAnimator anim = new ValueAnimator(); in ofArgb() 468 public static ValueAnimator ofFloat(float... values) { in ofFloat() 469 ValueAnimator anim = new ValueAnimator(); in ofFloat() 482 public static ValueAnimator ofPropertyValuesHolder(PropertyValuesHolder... values) { in ofPropertyValuesHolder() 483 ValueAnimator anim = new ValueAnimator(); in ofPropertyValuesHolder() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/events/ |
D | SystemEventChipAnimationController.kt | 32 import androidx.core.animation.ValueAnimator 108 val alphaIn = ValueAnimator.ofFloat(0f, 1f).apply { in onSystemEventAnimationBegin() 115 val contentAlphaIn = ValueAnimator.ofFloat(0f, 1f).apply { in onSystemEventAnimationBegin() 121 val moveIn = ValueAnimator.ofInt(chipMinWidth, chipWidth).apply { in onSystemEventAnimationBegin() 150 val width1 = ValueAnimator.ofInt(chipWidth, chipMinWidth).apply { in createMoveOutAnimationForDot() 158 val width2 = ValueAnimator.ofInt(chipMinWidth, dotSize).apply { in createMoveOutAnimationForDot() 169 val height1 = ValueAnimator.ofInt(chipBounds.height(), keyFrame1Height).apply { in createMoveOutAnimationForDot() 178 val height2 = ValueAnimator.ofInt(keyFrame1Height, dotSize).apply { in createMoveOutAnimationForDot() 189 val moveOut = ValueAnimator.ofInt(0, dotSize).apply { in createMoveOutAnimationForDot() 210 val alphaOut = ValueAnimator.ofFloat(1f, 0f).apply { in createMoveOutAnimationDefault() [all …]
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip2/animation/ |
D | PipAlphaAnimator.java | 20 import android.animation.ValueAnimator; 37 public class PipAlphaAnimator extends ValueAnimator implements ValueAnimator.AnimatorUpdateListener, 38 ValueAnimator.AnimatorListener { 100 public void onAnimationUpdate(@NonNull ValueAnimator animation) { in onAnimationUpdate()
|
/frameworks/base/services/core/java/com/android/server/display/color/ |
D | TintController.java | 19 import android.animation.ValueAnimator; 32 private ValueAnimator mAnimator; 35 public ValueAnimator getAnimator() { in getAnimator() 39 public void setAnimator(ValueAnimator animator) { in setAnimator()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/fragment/ |
D | StatusBarSystemEventAnimator.kt | 21 import androidx.core.animation.ValueAnimator 70 val moveOut = ValueAnimator.ofFloat(0f, 1f).apply { in onSystemEventAnimationBegin() 77 val alphaOut = ValueAnimator.ofFloat(1f, 0f).apply { in onSystemEventAnimationBegin() 92 val moveIn = ValueAnimator.ofFloat(1f, 0f).apply { in onSystemEventAnimationFinish() 100 val alphaIn = ValueAnimator.ofFloat(0f, 1f).apply { in onSystemEventAnimationFinish()
|
/frameworks/base/core/java/android/transition/ |
D | ChangeText.java | 22 import android.animation.ValueAnimator; 197 anim = ValueAnimator.ofFloat(0, 1); in createAnimator() 214 ValueAnimator outAnim = null, inAnim = null; in createAnimator() 217 outAnim = ValueAnimator.ofInt(Color.alpha(startColor), 0); in createAnimator() 218 outAnim.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() { in createAnimator() 220 public void onAnimationUpdate(ValueAnimator animation) { in createAnimator() 243 inAnim = ValueAnimator.ofInt(0, Color.alpha(endColor)); in createAnimator() 244 inAnim.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() { in createAnimator() 246 public void onAnimationUpdate(ValueAnimator animation) { in createAnimator()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | KeyguardAffordanceView.java | 23 import android.animation.ValueAnimator; 66 private ValueAnimator mCircleAnimator; 67 private ValueAnimator mAlphaAnimator; 68 private ValueAnimator mScaleAnimator; 374 ValueAnimator animator = getAnimatorToRadius(circleRadius); in setCircleRadius() 407 private ValueAnimator getAnimatorToRadius(float circleRadius) { in getAnimatorToRadius() 408 ValueAnimator animator = ValueAnimator.ofFloat(mCircleRadius, circleRadius); in getAnimatorToRadius() 412 animator.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() { in getAnimatorToRadius() 414 public void onAnimationUpdate(ValueAnimator animation) { in getAnimatorToRadius() 450 ValueAnimator animator = ValueAnimator.ofFloat(mImageScale, imageScale); in setImageScale() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
D | PropertyAnimator.java | 22 import android.animation.ValueAnimator; 50 ValueAnimator previousAnimator = ViewState.getChildTag(view, animatorTag); in setProperty() 71 ValueAnimator previousAnimator = ViewState.getChildTag(view, animatorTag); in startAnimation() 105 ValueAnimator animator = ValueAnimator.ofFloat(currentValue, newEndValue); in startAnimation() 149 ValueAnimator animator = (ValueAnimator) view.getTag(property.getAnimatorTag()); in cancelAnimation()
|
D | NotificationDozeHelper.java | 21 import android.animation.ValueAnimator; 49 private void startIntensityAnimation(ValueAnimator.AnimatorUpdateListener updateListener, in startIntensityAnimation() 53 ValueAnimator animator = ValueAnimator.ofFloat(startIntensity, endIntensity); in startIntensityAnimation()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/ |
D | AssistDisclosure.java | 22 import android.animation.ValueAnimator; 95 implements ValueAnimator.AnimatorUpdateListener { 107 private final ValueAnimator mAlphaOutAnimator; 108 private final ValueAnimator mAlphaInAnimator; 116 mAlphaInAnimator = ValueAnimator.ofInt(0, FULL_ALPHA) in AssistDisclosureView() 120 mAlphaOutAnimator = ValueAnimator.ofInt(FULL_ALPHA, 0).setDuration( in AssistDisclosureView() 230 public void onAnimationUpdate(ValueAnimator animation) { in onAnimationUpdate()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/charging/ |
D | WirelessChargingLayout.java | 21 import android.animation.ValueAnimator; 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 …]
|
/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/surfaceeffects/glowboxeffect/ |
D | GlowBoxEffect.kt | 19 import android.animation.ValueAnimator 39 private var animator: ValueAnimator? = null 90 ValueAnimator.ofFloat(0f, 1f).apply { in playEaseIn() 118 ValueAnimator.ofFloat(0f, 1f).apply { in playMain() 136 ValueAnimator.ofFloat(0f, 1f).apply { in playEaseOut()
|
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/ |
D | HitRectBug.java | 19 import android.animation.ValueAnimator; 64 anim.setRepeatCount(ValueAnimator.INFINITE); in TestDrawingView() 66 anim.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() { in TestDrawingView() 68 public void onAnimationUpdate(ValueAnimator animation) { in TestDrawingView()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/ |
D | DragToInteractAnimationController.java | 23 import android.animation.ValueAnimator; 58 private final ArrayMap<Integer, Pair<MagnetizedObject<MenuView>, ValueAnimator>> mInteractMap; 128 for (Map.Entry<Integer, Pair<MagnetizedObject<MenuView>, ValueAnimator>> set: in maybeConsumeMotionEvent() 167 Pair<MagnetizedObject<MenuView>, ValueAnimator> value = mInteractMap.get(targetViewId); in animateInteractMenu() 171 ValueAnimator animator = value.second; in animateInteractMenu() 220 final ValueAnimator animator = in createMagnetizedObjectAndAnimator() 221 ValueAnimator.ofFloat(COMPLETELY_OPAQUE, COMPLETELY_TRANSPARENT); in createMagnetizedObjectAndAnimator()
|
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/ |
D | TileDrawable.java | 19 import android.animation.ValueAnimator; 20 import android.animation.ValueAnimator.AnimatorUpdateListener; 42 protected final ValueAnimator mFadeOutAnimator; 54 mFadeOutAnimator = ValueAnimator.ofInt(255, 0) in TileDrawable() 58 public void onAnimationUpdate(ValueAnimator animation) { in TileDrawable()
|
D | ExtendedBitmapDrawable.java | 21 import android.animation.ValueAnimator; 22 import android.animation.ValueAnimator.AnimatorUpdateListener; 448 private final ValueAnimator mPulseAnimator; 465 mPulseAnimator = ValueAnimator.ofInt(55, 255).setDuration(pulseDuration); in Placeholder() 466 mPulseAnimator.setRepeatCount(ValueAnimator.INFINITE); in Placeholder() 467 mPulseAnimator.setRepeatMode(ValueAnimator.REVERSE); in Placeholder() 470 public void onAnimationUpdate(ValueAnimator animation) { in Placeholder() 536 private final ValueAnimator mRotateAnimator; 543 mRotateAnimator = ValueAnimator.ofInt(0, 10000) in Progress() 546 mRotateAnimator.setRepeatCount(ValueAnimator.INFINITE); in Progress() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ |
D | ExpandableViewState.java | 22 import android.animation.ValueAnimator; 245 ValueAnimator previousAnimator = getChildTag(child, TAG_ANIMATOR_HEIGHT); in startHeightAnimation() 267 ValueAnimator animator = ValueAnimator.ofInt(child.getActualHeight(), newEndValue); in startHeightAnimation() 268 animator.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() { in startHeightAnimation() 270 public void onAnimationUpdate(ValueAnimator animation) { in startHeightAnimation() 330 ValueAnimator previousAnimator = getChildTag(child, in startClipAnimation() 357 ValueAnimator animator = ValueAnimator.ofInt( in startClipAnimation() 402 ValueAnimator heightAnimator = getChildTag(view, TAG_ANIMATOR_HEIGHT); in getFinalActualHeight()
|