Home
last modified time | relevance | path

Searched refs:ValueAnimator (Results 1 – 25 of 245) sorted by relevance

12345678910

/aosp14/frameworks/base/tests/UiBench/src/com/android/test/uibench/
H A DResizeHWLayerActivity.java19 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()
H A DBitmapUploadActivity.java19 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()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/keyguard/
H A DNumPadAnimator.java28 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 …]
H A DPasswordTextView.java22 import android.animation.ValueAnimator;
456 ValueAnimator textAnimator;
460 ValueAnimator widthAnimator;
467 ValueAnimator textTranslateAnimator;
520 = new ValueAnimator.AnimatorUpdateListener() {
529 = new ValueAnimator.AnimatorUpdateListener() {
550 = new ValueAnimator.AnimatorUpdateListener() {
671 ValueAnimator animator = ValueAnimator.ofFloat(currentDotSizeFactor, 0.0f); in startDotDisappearAnimation()
718 ValueAnimator overShootAnimator = ValueAnimator.ofFloat(currentDotSizeFactor, in startDotAppearAnimation()
725 ValueAnimator settleBackAnimator = ValueAnimator.ofFloat(DOT_OVERSHOOT_FACTOR, in startDotAppearAnimation()
[all …]
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DFaceScanningOverlay.kt23 import android.animation.ValueAnimator
70 private var cameraProtectionAnimator: ValueAnimator? = null
271 ): ValueAnimator {
286 return ValueAnimator.ofInt(255, 0).apply {
318 private fun createRimAppearAnimator(): ValueAnimator {
319 return ValueAnimator.ofFloat(
336 private fun updateRimProgress(animator: ValueAnimator) {
346 private fun updateRimAlpha(animator: ValueAnimator) {
351 private fun createPulseAnimator(): ValueAnimator {
352 return ValueAnimator.ofFloat(
[all …]
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
H A DAuthPanelController.java20 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()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
H A DDraggableConstraintLayout.java24 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()
/aosp14/frameworks/base/core/java/android/animation/
H A DValueAnimator.java419 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()
469 ValueAnimator anim = new ValueAnimator(); in ofFloat()
483 ValueAnimator anim = new ValueAnimator(); in ofPropertyValuesHolder()
511 ValueAnimator anim = new ValueAnimator(); in ofObject()
675 public ValueAnimator setDuration(long duration) { in setDuration()
1650 public ValueAnimator clone() { in clone()
[all …]
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
H A DNotificationDozeHelper.java21 import android.animation.ValueAnimator;
38 startIntensityAnimation(new ValueAnimator.AnimatorUpdateListener() { in fadeGrayscale()
40 public void onAnimationUpdate(ValueAnimator animation) { in fadeGrayscale()
67 public void startIntensityAnimation(ValueAnimator.AnimatorUpdateListener updateListener, in startIntensityAnimation()
71 ValueAnimator animator = ValueAnimator.ofFloat(startIntensity, endIntensity); in startIntensityAnimation()
H A DPropertyAnimator.java22 import android.animation.ValueAnimator;
48 ValueAnimator previousAnimator = ViewState.getChildTag(view, animatorTag); in setProperty()
69 ValueAnimator previousAnimator = ViewState.getChildTag(view, animatorTag); in startAnimation()
103 ValueAnimator animator = ValueAnimator.ofFloat(currentValue, newEndValue); in startAnimation()
142 ValueAnimator animator = (ValueAnimator) view.getTag(property.getAnimatorTag()); in cancelAnimation()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/events/
H A DSystemEventChipAnimationController.kt32 import androidx.core.animation.ValueAnimator
111 val alphaIn = ValueAnimator.ofFloat(0f, 1f).apply {
118 val contentAlphaIn = ValueAnimator.ofFloat(0f, 1f).apply {
124 val moveIn = ValueAnimator.ofInt(chipMinWidth, chipWidth).apply {
153 val width1 = ValueAnimator.ofInt(chipWidth, chipMinWidth).apply {
161 val width2 = ValueAnimator.ofInt(chipMinWidth, dotSize).apply {
181 val height2 = ValueAnimator.ofInt(keyFrame1Height, dotSize).apply {
192 val moveOut = ValueAnimator.ofInt(0, dotSize).apply {
213 val alphaOut = ValueAnimator.ofFloat(1f, 0f).apply {
220 val contentAlphaOut = ValueAnimator.ofFloat(1f, 0f).apply {
[all …]
/aosp14/frameworks/base/core/java/android/transition/
H A DChangeText.java22 import android.animation.ValueAnimator;
193 anim = ValueAnimator.ofFloat(0, 1); in createAnimator()
210 ValueAnimator outAnim = null, inAnim = null; in createAnimator()
213 outAnim = ValueAnimator.ofInt(Color.alpha(startColor), 0); in createAnimator()
214 outAnim.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() { in createAnimator()
216 public void onAnimationUpdate(ValueAnimator animation) { in createAnimator()
239 inAnim = ValueAnimator.ofInt(0, Color.alpha(endColor)); in createAnimator()
240 inAnim.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() { in createAnimator()
242 public void onAnimationUpdate(ValueAnimator animation) { in createAnimator()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DKeyguardAffordanceView.java23 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()
414 public void onAnimationUpdate(ValueAnimator animation) { in getAnimatorToRadius()
450 ValueAnimator animator = ValueAnimator.ofFloat(mImageScale, imageScale); in setImageScale()
454 public void onAnimationUpdate(ValueAnimator animation) { in setImageScale()
[all …]
/aosp14/frameworks/base/services/core/java/com/android/server/display/color/
H A DTintController.java19 import android.animation.ValueAnimator;
32 private ValueAnimator mAnimator;
35 public ValueAnimator getAnimator() { in getAnimator()
39 public void setAnimator(ValueAnimator animator) { in setAnimator()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/fragment/
H A DStatusBarSystemEventAnimator.kt21 import androidx.core.animation.ValueAnimator
70 val moveOut = ValueAnimator.ofFloat(0f, 1f).apply {
77 val alphaOut = ValueAnimator.ofFloat(1f, 0f).apply {
92 val moveIn = ValueAnimator.ofFloat(1f, 0f).apply {
100 val alphaIn = ValueAnimator.ofFloat(0f, 1f).apply {
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/
H A DAssistDisclosure.java22 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()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/charging/
H A DWirelessChargingLayout.java21 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 …]
/aosp14/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/
H A DHitRectBug.java19 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()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
H A DExpandableViewState.java22 import android.animation.ValueAnimator;
248 ValueAnimator previousAnimator = getChildTag(child, TAG_ANIMATOR_HEIGHT); in startHeightAnimation()
270 ValueAnimator animator = ValueAnimator.ofInt(child.getActualHeight(), newEndValue); in startHeightAnimation()
271 animator.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() { in startHeightAnimation()
273 public void onAnimationUpdate(ValueAnimator animation) { in startHeightAnimation()
333 ValueAnimator previousAnimator = getChildTag(child, in startClipAnimation()
360 ValueAnimator animator = ValueAnimator.ofInt( in startClipAnimation()
405 ValueAnimator heightAnimator = getChildTag(view, TAG_ANIMATOR_HEIGHT); in getFinalActualHeight()
/aosp14/frameworks/base/core/tests/coretests/src/android/animation/
H A DValueAnimatorTests.java50 private ValueAnimator a1;
51 private ValueAnimator a2;
82 final ValueAnimator a = ValueAnimator.ofFloat(5f, 20f); in testStartDelay()
588 final ValueAnimator a0 = ValueAnimator.ofInt(100, 200).setDuration(500);
589 final ValueAnimator a3 = ValueAnimator.ofFloat(0, 1).setDuration(500);
590 final ValueAnimator a4 = ValueAnimator.ofInt(200, 300).setDuration(500);
902 final ValueAnimator a3 = ValueAnimator.ofInt(0, 100);
956 ValueAnimator.setDurationScale(0f);
996 ValueAnimator.setDurationScale(scale);
1002 final ValueAnimator a3 = ValueAnimator.ofInt(0, 100);
[all …]
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/clipboardoverlay/
H A DClipboardOverlayView.java26 import android.animation.ValueAnimator;
316 ValueAnimator rootAnim = ValueAnimator.ofFloat(0, 1); in getEnterAnimation()
323 ValueAnimator scaleAnim = ValueAnimator.ofFloat(0, 1); in getEnterAnimation()
346 ValueAnimator alphaAnim = ValueAnimator.ofFloat(0, 1); in getEnterAnimation()
376 ValueAnimator alphaAnim = ValueAnimator.ofFloat(1, 0); in getFadeOutAnimation()
393 ValueAnimator rootAnim = ValueAnimator.ofFloat(0, 1); in getExitAnimation()
398 ValueAnimator scaleAnim = ValueAnimator.ofFloat(0, 1); in getExitAnimation()
421 ValueAnimator alphaAnim = ValueAnimator.ofFloat(0, 1); in getExitAnimation()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/domain/interactor/
H A DTransitionInteractor.kt19 import android.animation.ValueAnimator
48 animator: ValueAnimator? = getDefaultAnimatorForTransitionsToState(toState),
82 abstract fun getDefaultAnimatorForTransitionsToState(toState: KeyguardState): ValueAnimator?
/aosp14/frameworks/base/tests/Assist/src/com/android/test/assist/
H A DAssistInteractionSession.java20 import android.animation.ValueAnimator;
143 ValueAnimator colorAnim = ValueAnimator.ofArgb(Color.WHITE, 0xffe0e0e0); in playAssistAnimation()
146 colorAnim.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() { in playAssistAnimation()
148 public void onAnimationUpdate(ValueAnimator animation) { in playAssistAnimation()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/
H A DWindowMagnificationAnimationController.java20 import android.animation.ValueAnimator;
42 class WindowMagnificationAnimationController implements ValueAnimator.AnimatorUpdateListener,
62 private final ValueAnimator mValueAnimator;
81 WindowMagnificationAnimationController(Context context, ValueAnimator valueAnimator) { in WindowMagnificationAnimationController()
343 public void onAnimationUpdate(ValueAnimator animation) { in onAnimationUpdate()
357 private static ValueAnimator newValueAnimator(Resources resource) { in newValueAnimator()
358 final ValueAnimator valueAnimator = new ValueAnimator(); in newValueAnimator()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/
H A DMoveToDesktopAnimator.kt3 import android.animation.ValueAnimator
31 private val dragToDesktopAnimator: ValueAnimator = ValueAnimator.ofFloat(1f,

12345678910