Home
last modified time | relevance | path

Searched refs:ofFloat (Results 1 – 25 of 253) sorted by relevance

1234567891011

/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/
DHandleMenuAnimator.kt155 ObjectAnimator.ofFloat(appInfoPill, TRANSLATION_Z, 1f).apply { in animateAppInfoPillOpen()
163 ObjectAnimator.ofFloat(it, ALPHA, 1f).apply { in animateAppInfoPillOpen()
173 ObjectAnimator.ofFloat(appInfoPill, SCALE_X, NONFREEFORM_HEADER_INITIAL_SCALE_X, 1f) in captionHandleExpandIntoAppInfoPill()
177 ObjectAnimator.ofFloat(appInfoPill, SCALE_Y, NONFREEFORM_HEADER_INITIAL_SCALE_Y, 1f) in captionHandleExpandIntoAppInfoPill()
183 ObjectAnimator.ofFloat(handleMenu, TRANSLATION_Y, yStart, 0f).apply { in captionHandleExpandIntoAppInfoPill()
191 ObjectAnimator.ofFloat(appInfoPill, SCALE_X, HALF_INITIAL_SCALE, 1f).apply { in appInfoPillExpand()
196 ObjectAnimator.ofFloat(appInfoPill, SCALE_Y, HALF_INITIAL_SCALE, 1f).apply { in appInfoPillExpand()
204 ObjectAnimator.ofFloat(windowingPill, SCALE_X, HALF_INITIAL_SCALE, 1f).apply { in animateWindowingPillOpen()
210 ObjectAnimator.ofFloat(windowingPill, SCALE_Y, HALF_INITIAL_SCALE, 1f).apply { in animateWindowingPillOpen()
217 ObjectAnimator.ofFloat(windowingPill, ALPHA, 1f).apply { in animateWindowingPillOpen()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/toast/
DToastDefaultAnimation.kt41 val sX = ObjectAnimator.ofFloat(view, "scaleX", 0.9f, 1f).apply { in toastIn()
45 val sY = ObjectAnimator.ofFloat(view, "scaleY", 0.9f, 1f).apply { in toastIn()
49 val vA = ObjectAnimator.ofFloat(view, "alpha", 0f, 1f).apply { in toastIn()
54 val tA = ObjectAnimator.ofFloat(text, "alpha", 0f, 1f).apply { in toastIn()
60 val iA = ObjectAnimator.ofFloat(icon, "alpha", 0f, 1f).apply { in toastIn()
79 val viewScaleX = ObjectAnimator.ofFloat(view, "scaleX", 1f, 0.9f).apply { in toastOut()
83 val viewScaleY = ObjectAnimator.ofFloat(view, "scaleY", 1f, 0.9f).apply { in toastOut()
87 val viewElevation = ObjectAnimator.ofFloat(view, "elevation", in toastOut()
93 val viewAlpha = ObjectAnimator.ofFloat(view, "alpha", 1f, 0f).apply { in toastOut()
98 val textAlpha = ObjectAnimator.ofFloat(text, "alpha", 1f, 0f).apply { in toastOut()
[all …]
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/bar/
DBubbleBarAnimationHelper.java87 private final ValueAnimator mExpandedViewAlphaAnimator = ValueAnimator.ofFloat(0f, 1f);
261 ObjectAnimator.ofFloat(bbev, SCALE_X, EXPANDED_VIEW_DRAG_SCALE), in animateStartDrag()
262 ObjectAnimator.ofFloat(bbev, SCALE_Y, EXPANDED_VIEW_DRAG_SCALE), in animateStartDrag()
263 ObjectAnimator.ofFloat(bbev, CORNER_RADIUS, cornerRadius) in animateStartDrag()
267 ObjectAnimator handleAnim = ObjectAnimator.ofFloat(bbev.getHandleView(), ALPHA, 0f) in animateStartDrag()
314 ObjectAnimator.ofFloat(bbev, X, restPoint.x), in animateToRestPosition()
315 ObjectAnimator.ofFloat(bbev, Y, restPoint.y), in animateToRestPosition()
316 ObjectAnimator.ofFloat(bbev, SCALE_X, 1f), in animateToRestPosition()
317 ObjectAnimator.ofFloat(bbev, SCALE_Y, 1f), in animateToRestPosition()
318 ObjectAnimator.ofFloat(bbev, CORNER_RADIUS, bbev.getRestingCornerRadius()) in animateToRestPosition()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ui/
DScreenshotAnimationController.kt81 ObjectAnimator.ofFloat(flashView, "alpha", 0f, 1f).apply { in <lambda>()
86 ObjectAnimator.ofFloat(flashView, "alpha", 1f, 0f).apply { 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>()
172 val previewAnim = ValueAnimator.ofFloat(0f, 1f) in <lambda>()
181 val previewFadeAnim = ValueAnimator.ofFloat(1f, 0f) in <lambda>()
199 val anim = ValueAnimator.ofFloat(0f, .3f) in <lambda>()
223 val animator = ValueAnimator.ofFloat(view.translationX, 0f) in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/tests/src/androidx/core/animation/
DAnimatorTestRuleIsolationTest.kt45 ObjectAnimator.ofFloat(0f, 1f).apply { in testA()
50 ObjectAnimator.ofFloat(0f, 1f).apply { in testA()
69 ObjectAnimator.ofFloat(0f, 1f).apply { in testB()
74 ObjectAnimator.ofFloat(0f, 1f).apply { in testB()
/frameworks/base/packages/SystemUI/tests/src/android/animation/
DAnimatorTestRuleIsolationTest.kt45 ObjectAnimator.ofFloat(0f, 1f).apply { in testA()
50 ObjectAnimator.ofFloat(0f, 1f).apply { in testA()
69 ObjectAnimator.ofFloat(0f, 1f).apply { in testB()
74 ObjectAnimator.ofFloat(0f, 1f).apply { in testB()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/fragment/
DStatusBarSystemEventAnimator.kt70 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/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DTapAgainView.java66 ObjectAnimator fadeIn = ObjectAnimator.ofFloat(this, View.ALPHA, 1f); in animateIn()
72 ObjectAnimator.ofFloat(this, View.TRANSLATION_Y, yTranslation, 0); in animateIn()
92 ObjectAnimator fadeOut = ObjectAnimator.ofFloat(this, View.ALPHA, 0f); in animateOut()
97 ObjectAnimator.ofFloat(this, View.TRANSLATION_Y, 0, -yTranslation); in animateOut()
DKeyguardIndicationTextView.java192 Animator fadeOut = ObjectAnimator.ofFloat(this, View.ALPHA, 0f); in getOutAnimator()
214 ObjectAnimator.ofFloat(this, View.TRANSLATION_Y, 0, -getYTranslationPixels()); in getOutAnimator()
260 ObjectAnimator fadeIn = ObjectAnimator.ofFloat(this, View.ALPHA, 1f); in getInAnimator()
266 ObjectAnimator.ofFloat(this, View.TRANSLATION_Y, getYTranslationPixels(), 0); in getInAnimator()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardClockSwitch.java384 ObjectAnimator.ofFloat(out, ALPHA, 0f), in updateClockViews()
385 ObjectAnimator.ofFloat(out, TRANSLATION_Y, clockOutYTranslation)); in updateClockViews()
400 ObjectAnimator.ofFloat(in, ALPHA, 1f), in updateClockViews()
401 ObjectAnimator.ofFloat(in, TRANSLATION_Y, clockInYTranslation)); in updateClockViews()
417 ObjectAnimator.ofFloat(mStatusArea, TRANSLATE_Y_CLOCK_SIZE.getProperty(), in updateClockViews()
419 ObjectAnimator.ofFloat(mSmallClockFrame, TRANSLATION_Y, statusAreaYTranslation), in updateClockViews()
420 ObjectAnimator.ofFloat(mStatusArea, SCALE_X, statusAreaClockScale), in updateClockViews()
421 ObjectAnimator.ofFloat(mStatusArea, SCALE_Y, statusAreaClockScale), in updateClockViews()
422 ObjectAnimator.ofFloat(mStatusArea, TRANSLATE_X_CLOCK_DESIGN.getProperty(), in updateClockViews()
424 ObjectAnimator.ofFloat(mStatusArea, TRANSLATE_Y_CLOCK_DESIGN.getProperty(), in updateClockViews()
DPasswordTextView.java524 widthAnimator = ValueAnimator.ofFloat(currentWidthFactor, 0.0f); in startWidthDisappearAnimation()
536 textAnimator = ValueAnimator.ofFloat(currentTextSizeFactor, 0.0f); in startTextDisappearAnimation()
548 ValueAnimator animator = ValueAnimator.ofFloat(currentDotSizeFactor, 0.0f); in startDotDisappearAnimation()
562 widthAnimator = ValueAnimator.ofFloat(currentWidthFactor, 1.0f); in startWidthAppearAnimation()
572 textAnimator = ValueAnimator.ofFloat(currentTextSizeFactor, 1.0f); in startTextAppearAnimation()
582 textTranslateAnimator = ValueAnimator.ofFloat(1.0f, 0.0f); in startTextAppearAnimation()
595 ValueAnimator overShootAnimator = ValueAnimator.ofFloat(currentDotSizeFactor, in startDotAppearAnimation()
602 ValueAnimator settleBackAnimator = ValueAnimator.ofFloat(DOT_OVERSHOOT_FACTOR, in startDotAppearAnimation()
613 ValueAnimator growAnimator = ValueAnimator.ofFloat(currentDotSizeFactor, 1.0f); in startDotAppearAnimation()
DBouncerKeyguardMessageArea.kt101 ObjectAnimator.ofFloat(this, View.ALPHA, 1f, 0f).apply { in <lambda>()
114 ObjectAnimator.ofFloat(this, View.ALPHA, 0f, 1f).apply { in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/charging/
DWirelessChargingLayout.java107 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()
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()
253 ValueAnimator textFadeAnimatorIcon = ObjectAnimator.ofFloat(chargingViewIcon, "alpha", 1, in init()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/management/
DControlsAnimations.kt112 val alphaAnimator = ObjectAnimator.ofFloat(view, "transitionAlpha", 0.0f, 1.0f).apply { in <lambda>()
118 val yAnimator = ObjectAnimator.ofFloat(view, "translationY", 0.0f).apply { in <lambda>()
138 val alphaAnimator = ObjectAnimator.ofFloat(view, "transitionAlpha", 0.0f).apply { in <lambda>()
144 val yAnimator = ObjectAnimator.ofFloat(view, "translationY", -translationY).apply { in <lambda>()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/compatui/
DUserAspectRatioSettingsLayout.java144 final ObjectAnimator fadeIn = ObjectAnimator.ofFloat(view, ALPHA_PROPERTY_NAME, in showItem()
149 ObjectAnimator.ofFloat(view, SCALE_Y_PROPERTY_NAME, SCALE_START, SCALE_END); 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()
/frameworks/base/core/java/android/animation/
DKeyframeSet.java74 public static KeyframeSet ofFloat(float... values) { in ofFloat() method in KeyframeSet
79 keyframes[0] = (FloatKeyframe) Keyframe.ofFloat(0f); in ofFloat()
80 keyframes[1] = (FloatKeyframe) Keyframe.ofFloat(1f, values[0]); in ofFloat()
85 keyframes[0] = (FloatKeyframe) Keyframe.ofFloat(0f, values[0]); in ofFloat()
88 (FloatKeyframe) Keyframe.ofFloat((float) i / (numKeyframes - 1), values[i]); in ofFloat()
/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/surfaceeffects/glowboxeffect/
DGlowBoxEffect.kt90 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/graphics/HwAccelerationTest/src/com/android/test/hwui/
DViewLayersActivity.java53 final ObjectAnimator moveRight = ObjectAnimator.ofFloat(leftList, in onCreate()
59 final ObjectAnimator moveLeft = ObjectAnimator.ofFloat(rightList, in onCreate()
65 final ObjectAnimator rotate = ObjectAnimator.ofFloat(middleList, in onCreate()
/frameworks/base/core/tests/coretests/src/android/animation/
DAnimatorSetEventsTest.java36 ObjectAnimator xAnim = ObjectAnimator.ofFloat(this, "translationX", 0, 100);
37 ObjectAnimator yAnim = ObjectAnimator.ofFloat(this, "translationY", 0, 100);
DValueAnimatorEventsTest.java26 mAnimator = ValueAnimator.ofFloat(0, 1); in setUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/view/layout/blueprints/transitions/
DBaseBlueprintTransition.kt57 return ObjectAnimator.ofFloat(view, "alpha", 0f).apply { in <lambda>()
71 return ObjectAnimator.ofFloat(view, "alpha", 1f).apply { in <lambda>()
/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/surfaceeffects/turbulencenoise/
DTurbulenceNoiseView.kt76 val animator = ValueAnimator.ofFloat(0f, 1f) in <lambda>()
119 val animator = ValueAnimator.ofFloat(0f, 1f) in <lambda>()
165 val animator = ValueAnimator.ofFloat(0f, 1f) in <lambda>()
/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/surfaceeffects/loadingeffect/
DLoadingEffect.kt209 val animator = ValueAnimator.ofFloat(0f, 1f) in <lambda>()
252 val animator = ValueAnimator.ofFloat(0f, 1f) in <lambda>()
292 val animator = ValueAnimator.ofFloat(0f, 1f) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DAuthRippleView.kt122 val retractDwellRippleAnimator = ValueAnimator.ofFloat(dwellShader.progress, 0f) in <lambda>()
211 val dwellPulseOutRippleAnimator = ValueAnimator.ofFloat(0f, .8f).apply { in <lambda>()
224 val expandDwellRippleAnimator = ValueAnimator.ofFloat(.8f, 1f).apply { in <lambda>()
263 val rippleAnimator = ValueAnimator.ofFloat(0f, 1f).apply { in <lambda>()
/frameworks/base/core/java/com/android/internal/widget/
DAbsActionBarView.java207 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()

1234567891011