Home
last modified time | relevance | path

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

12345678910

/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/toast/
H A DToastDefaultAnimation.kt41 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 {
83 val viewScaleY = ObjectAnimator.ofFloat(view, "scaleY", 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/packages/SystemUI/tests/src/android/animation/
H A DAnimatorTestRuleIsolationTest.kt45 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 DAnimatorTestRuleIsolationTest.kt45 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/phone/
H A DTapAgainView.java63 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()
H A DKeyguardIndicationTextView.java192 Animator fadeOut = ObjectAnimator.ofFloat(this, View.ALPHA, 0f); in getOutAnimator()
214 ObjectAnimator.ofFloat(this, View.TRANSLATION_Y, 0, -getYTranslationPixels()); in getOutAnimator()
251 ObjectAnimator fadeIn = ObjectAnimator.ofFloat(this, View.ALPHA, 1f); in getInAnimator()
257 ObjectAnimator.ofFloat(this, View.TRANSLATION_Y, getYTranslationPixels(), 0); in getInAnimator()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/fragment/
H A DStatusBarSystemEventAnimator.kt70 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/keyguard/
H A DKeyguardClockSwitch.java369 ObjectAnimator.ofFloat(out, ALPHA, 0f), in updateClockViews()
370 ObjectAnimator.ofFloat(out, TRANSLATION_Y, clockOutYTranslation)); in updateClockViews()
385 ObjectAnimator.ofFloat(in, ALPHA, 1f), in updateClockViews()
386 ObjectAnimator.ofFloat(in, TRANSLATION_Y, clockInYTranslation)); in updateClockViews()
402 ObjectAnimator.ofFloat(mStatusArea, TRANSLATE_Y_CLOCK_SIZE.getProperty(), in updateClockViews()
404 ObjectAnimator.ofFloat(mSmallClockFrame, TRANSLATION_Y, statusAreaYTranslation), in updateClockViews()
405 ObjectAnimator.ofFloat(mStatusArea, SCALE_X, statusAreaClockScale), in updateClockViews()
406 ObjectAnimator.ofFloat(mStatusArea, SCALE_Y, statusAreaClockScale), in updateClockViews()
407 ObjectAnimator.ofFloat(mStatusArea, TRANSLATE_X_CLOCK_DESIGN.getProperty(), in updateClockViews()
409 ObjectAnimator.ofFloat(mStatusArea, TRANSLATE_Y_CLOCK_DESIGN.getProperty(), in updateClockViews()
H A DPasswordTextView.java647 widthAnimator = ValueAnimator.ofFloat(currentWidthFactor, 0.0f); in startWidthDisappearAnimation()
659 textAnimator = ValueAnimator.ofFloat(currentTextSizeFactor, 0.0f); in startTextDisappearAnimation()
671 ValueAnimator animator = ValueAnimator.ofFloat(currentDotSizeFactor, 0.0f); in startDotDisappearAnimation()
685 widthAnimator = ValueAnimator.ofFloat(currentWidthFactor, 1.0f); in startWidthAppearAnimation()
695 textAnimator = ValueAnimator.ofFloat(currentTextSizeFactor, 1.0f); in startTextAppearAnimation()
705 textTranslateAnimator = ValueAnimator.ofFloat(1.0f, 0.0f); in startTextAppearAnimation()
718 ValueAnimator overShootAnimator = ValueAnimator.ofFloat(currentDotSizeFactor, in startDotAppearAnimation()
725 ValueAnimator settleBackAnimator = ValueAnimator.ofFloat(DOT_OVERSHOOT_FACTOR, in startDotAppearAnimation()
736 ValueAnimator growAnimator = ValueAnimator.ofFloat(currentDotSizeFactor, 1.0f); in startDotAppearAnimation()
H A DBouncerKeyguardMessageArea.kt101 ObjectAnimator.ofFloat(this, View.ALPHA, 1f, 0f).apply {
114 ObjectAnimator.ofFloat(this, View.ALPHA, 0f, 1f).apply {
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/charging/
H A 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()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/compatui/
H A 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()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/management/
H A DControlsAnimations.kt112 val alphaAnimator = ObjectAnimator.ofFloat(view, "transitionAlpha", 0.0f, 1.0f).apply {
118 val yAnimator = ObjectAnimator.ofFloat(view, "translationY", 0.0f).apply {
138 val alphaAnimator = ObjectAnimator.ofFloat(view, "transitionAlpha", 0.0f).apply {
144 val yAnimator = ObjectAnimator.ofFloat(view, "translationY", -translationY).apply {
/aosp14/frameworks/base/core/java/android/animation/
H A 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()
H A DObjectAnimator.java442 public static ObjectAnimator ofFloat(Object target, String propertyName, float... values) { in ofFloat() method in ObjectAnimator
465 public static ObjectAnimator ofFloat(Object target, String xPropertyName, String yPropertyName, in ofFloat() method in ObjectAnimator
488 public static <T> ObjectAnimator ofFloat(T target, Property<T, Float> property, in ofFloat() method in ObjectAnimator
508 public static <T> ObjectAnimator ofFloat(T target, Property<T, Float> xProperty, in ofFloat() method in ObjectAnimator
781 setValues(PropertyValuesHolder.ofFloat(mProperty, values)); in setFloatValues()
783 setValues(PropertyValuesHolder.ofFloat(mPropertyName, values)); in setFloatValues()
/aosp14/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A 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()
/aosp14/frameworks/base/core/tests/coretests/src/android/animation/
H A DAnimatorSetEventsTest.java36 ObjectAnimator xAnim = ObjectAnimator.ofFloat(this, "translationX", 0, 100);
37 ObjectAnimator yAnim = ObjectAnimator.ofFloat(this, "translationY", 0, 100);
H A DValueAnimatorEventsTest.java26 mAnimator = ValueAnimator.ofFloat(0, 1); in setUp()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/clipboardoverlay/
H A DClipboardOverlayView.java295 ObjectAnimator anim = ObjectAnimator.ofFloat(mMinimizedPreview, "alpha", 1, 0); in getMinimizedFadeoutAnimation()
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/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/
H A DPipMenuView.java311 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()
/aosp14/frameworks/base/services/core/java/com/android/server/wm/
H A DDragState.java643 PropertyValuesHolder.ofFloat( in createReturnAnimationLocked()
646 PropertyValuesHolder.ofFloat( in createReturnAnimationLocked()
649 PropertyValuesHolder.ofFloat(ANIMATED_PROPERTY_SCALE, mAnimatedScale, in createReturnAnimationLocked()
651 PropertyValuesHolder.ofFloat( in createReturnAnimationLocked()
674 PropertyValuesHolder.ofFloat( in createCancelAnimationLocked()
676 PropertyValuesHolder.ofFloat( in createCancelAnimationLocked()
678 PropertyValuesHolder.ofFloat(ANIMATED_PROPERTY_SCALE, mAnimatedScale, 0), in createCancelAnimationLocked()
679 PropertyValuesHolder.ofFloat(ANIMATED_PROPERTY_ALPHA, mOriginalAlpha, 0)); in createCancelAnimationLocked()
/aosp14/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/surfaceeffects/turbulencenoise/
H A DTurbulenceNoiseView.kt77 val animator = ValueAnimator.ofFloat(0f, 1f)
119 val animator = ValueAnimator.ofFloat(0f, 1f)
164 val animator = ValueAnimator.ofFloat(0f, 1f)
/aosp14/frameworks/base/core/java/com/android/internal/widget/
H A 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()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
H A DAuthRippleView.kt122 val retractDwellRippleAnimator = ValueAnimator.ofFloat(dwellShader.progress, 0f)
211 val dwellPulseOutRippleAnimator = ValueAnimator.ofFloat(0f, .8f).apply {
224 val expandDwellRippleAnimator = ValueAnimator.ofFloat(.8f, 1f).apply {
263 val rippleAnimator = ValueAnimator.ofFloat(0f, 1f).apply {
/aosp14/frameworks/base/core/java/android/widget/
H A DStackView.java258 PropertyValuesHolder slideInY = PropertyValuesHolder.ofFloat("YProgress", 0.0f); in transformViewForTransition()
259 PropertyValuesHolder slideInX = PropertyValuesHolder.ofFloat("XProgress", 0.0f); in transformViewForTransition()
278 PropertyValuesHolder slideOutY = PropertyValuesHolder.ofFloat("YProgress", 1.0f); in transformViewForTransition()
279 PropertyValuesHolder slideOutX = PropertyValuesHolder.ofFloat("XProgress", 0.0f); in transformViewForTransition()
355 … PropertyValuesHolder translationX = PropertyValuesHolder.ofFloat("translationX", transX); in transformViewAtIndex()
356 … PropertyValuesHolder translationY = PropertyValuesHolder.ofFloat("translationY", transY); in transformViewAtIndex()
357 PropertyValuesHolder scalePropX = PropertyValuesHolder.ofFloat("scaleX", scale); in transformViewAtIndex()
358 PropertyValuesHolder scalePropY = PropertyValuesHolder.ofFloat("scaleY", scale); in transformViewAtIndex()
868 PropertyValuesHolder snapBackX = PropertyValuesHolder.ofFloat("XProgress", 0.0f);
886 PropertyValuesHolder.ofFloat("YProgress",finalYProgress);
[all …]
/aosp14/frameworks/base/graphics/java/android/graphics/drawable/
H A DRippleForeground.java221 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()

12345678910