Home
last modified time | relevance | path

Searched refs:alphaAnim (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DTransformsAndAnimationsActivity.java116 final AlphaAnimation alphaAnim = new AlphaAnimation(1, 0); in onCreate() local
117 alphaAnim.setDuration(1000); in onCreate()
118 alphaAnim.setRepeatCount(Animation.INFINITE); in onCreate()
119 alphaAnim.setRepeatMode(Animation.REVERSE); in onCreate()
129 button1.startAnimation(alphaAnim); in onCreate()
130 button2.startAnimation(alphaAnim); in onCreate()
131 button3.startAnimation(alphaAnim); in onCreate()
133 button1a.startAnimation(alphaAnim); in onCreate()
134 button2a.startAnimation(alphaAnim); in onCreate()
135 button3a.startAnimation(alphaAnim); in onCreate()
[all …]
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
DDismissView.kt90 val alphaAnim = ObjectAnimator.ofInt(gradientDrawable, GRADIENT_ALPHA, in show() constant
92 alphaAnim.setDuration(DISMISS_SCRIM_FADE_MS) in show()
93 alphaAnim.start() in show()
108 val alphaAnim = ObjectAnimator.ofInt(gradientDrawable, GRADIENT_ALPHA, in hide() constant
110 alphaAnim.setDuration(DISMISS_SCRIM_FADE_MS) in hide()
111 alphaAnim.start() in hide()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/animation/
DAppearAnimationUtils.java196 Animator alphaAnim; in createAnimation() local
202 alphaAnim = alphaAnimRt; in createAnimation()
204 alphaAnim = ObjectAnimator.ofFloat(view, View.ALPHA, view.getAlpha(), targetAlpha); in createAnimation()
206 alphaAnim.setInterpolator(interpolator); in createAnimation()
207 alphaAnim.setDuration(duration); in createAnimation()
208 alphaAnim.setStartDelay(delay); in createAnimation()
211 alphaAnim.addListener(new AnimatorListenerAdapter() { in createAnimation()
218 alphaAnim.addListener(new AnimatorListenerAdapter() { in createAnimation()
227 alphaAnim.start(); in createAnimation()
/frameworks/base/packages/SystemUI/src/com/android/systemui/clipboardoverlay/
DClipboardOverlayView.java342 ValueAnimator alphaAnim = ValueAnimator.ofFloat(0, 1); in getEnterAnimation() local
343 alphaAnim.setInterpolator(linearInterpolator); in getEnterAnimation()
344 alphaAnim.setDuration(283); in getEnterAnimation()
345 alphaAnim.addUpdateListener(animation -> { in getEnterAnimation()
359 enterAnim.play(alphaAnim).after(50).after(rootAnim); in getEnterAnimation()
404 ValueAnimator alphaAnim = ValueAnimator.ofFloat(0, 1); in getExitAnimation() local
405 alphaAnim.setInterpolator(linearInterpolator); in getExitAnimation()
406 alphaAnim.setDuration(166); in getExitAnimation()
407 alphaAnim.addUpdateListener(animation -> { in getExitAnimation()
416 exitAnim.play(alphaAnim).with(scaleAnim); in getExitAnimation()
[all …]
/frameworks/base/core/java/com/android/internal/widget/
DSlidingTab.java294 AlphaAnimation alphaAnim = new AlphaAnimation(0.0f, 1.0f); in showTarget() local
295 alphaAnim.setDuration(ANIM_TARGET_TIME); in showTarget()
296 target.startAnimation(alphaAnim); in showTarget()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DScreenshotView.java1134 ValueAnimator alphaAnim = ValueAnimator.ofFloat(0, 1); in createScreenshotFadeDismissAnimation() local
1135 alphaAnim.addUpdateListener(animation -> { in createScreenshotFadeDismissAnimation()
1143 alphaAnim.setDuration(600); in createScreenshotFadeDismissAnimation()
1144 return alphaAnim; in createScreenshotFadeDismissAnimation()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardSecurityContainer.java1073 ObjectAnimator alphaAnim = ObjectAnimator.ofFloat(mUserSwitcherViewGroup, View.ALPHA, in startDisappearAnimation() local
1077 anims.playTogether(alphaAnim, yAnim); in startDisappearAnimation()