Home
last modified time | relevance | path

Searched refs:alphaAnim (Results 1 – 4 of 4) 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/packages/SettingsLib/src/com/android/settingslib/animation/
DAppearAnimationUtils.java186 Animator alphaAnim; in createAnimation() local
192 alphaAnim = alphaAnimRt; in createAnimation()
194 alphaAnim = ObjectAnimator.ofFloat(view, View.ALPHA, view.getAlpha(), targetAlpha); in createAnimation()
196 alphaAnim.setInterpolator(interpolator); in createAnimation()
197 alphaAnim.setDuration(duration); in createAnimation()
198 alphaAnim.setStartDelay(delay); in createAnimation()
201 alphaAnim.addListener(new AnimatorListenerAdapter() { in createAnimation()
209 alphaAnim.addListener(new AnimatorListenerAdapter() { in createAnimation()
216 alphaAnim.start(); in createAnimation()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DScreenshotView.java1020 ValueAnimator alphaAnim = ValueAnimator.ofFloat(0, 1); in createScreenshotTranslateDismissAnimation() local
1021 alphaAnim.setStartDelay(SCREENSHOT_DISMISS_ALPHA_OFFSET_MS); in createScreenshotTranslateDismissAnimation()
1022 alphaAnim.setDuration(SCREENSHOT_DISMISS_ALPHA_DURATION_MS); in createScreenshotTranslateDismissAnimation()
1023 alphaAnim.addUpdateListener(animation -> { in createScreenshotTranslateDismissAnimation()
1042 animSet.play(yAnim).with(alphaAnim); in createScreenshotTranslateDismissAnimation()
1048 ValueAnimator alphaAnim = ValueAnimator.ofFloat(0, 1); in createScreenshotFadeDismissAnimation() local
1049 alphaAnim.addUpdateListener(animation -> { in createScreenshotFadeDismissAnimation()
1057 alphaAnim.setDuration(600); in createScreenshotFadeDismissAnimation()
1058 return alphaAnim; in createScreenshotFadeDismissAnimation()
/frameworks/base/core/java/com/android/internal/widget/
DSlidingTab.java297 AlphaAnimation alphaAnim = new AlphaAnimation(0.0f, 1.0f); in showTarget() local
298 alphaAnim.setDuration(ANIM_TARGET_TIME); in showTarget()
299 target.startAnimation(alphaAnim); in showTarget()