/frameworks/base/core/java/android/transition/ |
D | Fade.java | 119 private Animator createAnimation(final View view, float startAlpha, final float endAlpha) { in createAnimation() argument 120 if (startAlpha == endAlpha) { in createAnimation() 123 view.setTransitionAlpha(startAlpha); in createAnimation() 149 float startAlpha = getStartAlpha(startValues, 0); in onAppear() local 150 if (startAlpha == 1) { in onAppear() 151 startAlpha = 0; in onAppear() 153 return createAnimation(view, startAlpha, 1); in onAppear() 159 float startAlpha = getStartAlpha(startValues, 1); in onDisappear() local 160 return createAnimation(view, startAlpha, 0); in onDisappear() 164 float startAlpha = fallbackValue; in getStartAlpha() local [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/viewmodel/ |
D | AlternateBouncerToGoneTransitionViewModel.kt | 59 var startAlpha = 1f in lockscreenAlpha() variable 62 onStart = { startAlpha = viewState.alpha() }, in lockscreenAlpha() 63 onStep = { MathUtils.lerp(startAlpha, 0f, it) }, in lockscreenAlpha() 65 onCancel = { startAlpha }, in lockscreenAlpha() 70 var startAlpha = 1f in notificationAlpha() variable 77 startAlpha = viewState.alpha() in notificationAlpha() 83 MathUtils.lerp(startAlpha, 0f, it) in notificationAlpha()
|
D | AodToGoneTransitionViewModel.kt | 57 var startAlpha = 1f in lockscreenAlpha() variable 60 onStart = { startAlpha = viewState.alpha() }, in lockscreenAlpha() 61 onStep = { MathUtils.lerp(startAlpha, 0f, it) }, in lockscreenAlpha() 67 var startAlpha = 1f in notificationAlpha() variable 70 onStart = { startAlpha = viewState.alpha() }, in notificationAlpha() 71 onStep = { startAlpha }, in notificationAlpha()
|
D | LockscreenToGoneTransitionViewModel.kt | 66 var startAlpha = 1f in notificationAlpha() variable 73 startAlpha = viewState.alpha() in notificationAlpha() 79 MathUtils.lerp(startAlpha, 0f, it) in notificationAlpha() 86 var startAlpha = 1f in lockscreenAlpha() variable 89 onStart = { startAlpha = viewState.alpha() }, in lockscreenAlpha() 90 onStep = { MathUtils.lerp(startAlpha, 0f, it) }, in lockscreenAlpha()
|
D | LockscreenToAodTransitionViewModel.kt | 73 var startAlpha = 1f in <lambda>() variable 76 onStart = { startAlpha = viewState.alpha() }, in <lambda>() 77 onStep = { MathUtils.lerp(startAlpha, 1f, it) }, in <lambda>()
|
D | AodToLockscreenTransitionViewModel.kt | 70 var startAlpha = 1f in lockscreenAlpha() variable 73 onStart = { startAlpha = viewState.alpha() }, in lockscreenAlpha() 74 onStep = { MathUtils.lerp(startAlpha, 1f, it) }, in lockscreenAlpha()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/keyguard/ui/viewmodel/ |
D | AlternateBouncerToGoneTransitionViewModelTest.kt | 79 val startAlpha = 0.6f in lockscreenAlpha() constant 80 val viewState = ViewStateAccessor(alpha = { startAlpha }) in lockscreenAlpha() 100 assertThat(alpha).isEqualTo(startAlpha) in lockscreenAlpha()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/activityembedding/ |
D | ActivityEmbeddingAnimationSpec.java | 169 final Animation startAlpha = new AlphaAnimation(1f, 0f); in createChangeBoundsChangeAnimations() local 170 startAlpha.setInterpolator(mLinearInterpolator); in createChangeBoundsChangeAnimations() 171 startAlpha.setDuration(CHANGE_ANIMATION_FADE_DURATION); in createChangeBoundsChangeAnimations() 172 startAlpha.setStartOffset(CHANGE_ANIMATION_FADE_OFFSET); in createChangeBoundsChangeAnimations() 173 startSet.addAnimation(startAlpha); in createChangeBoundsChangeAnimations()
|
/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/extensions/embedding/ |
D | TaskFragmentAnimationSpec.java | 162 final Animation startAlpha = new AlphaAnimation(1f, 0f); in createChangeBoundsChangeAnimations() local 163 startAlpha.setInterpolator(mLinearInterpolator); in createChangeBoundsChangeAnimations() 164 startAlpha.setDuration(CHANGE_ANIMATION_FADE_DURATION); in createChangeBoundsChangeAnimations() 165 startAlpha.setStartOffset(CHANGE_ANIMATION_FADE_OFFSET); in createChangeBoundsChangeAnimations() 166 startSet.addAnimation(startAlpha); in createChangeBoundsChangeAnimations()
|
/frameworks/base/core/java/android/widget/ |
D | ZoomControls.java | 97 private void fade(int visibility, float startAlpha, float endAlpha) { in fade() argument 98 AlphaAnimation anim = new AlphaAnimation(startAlpha, endAlpha); in fade()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/util/ |
D | MediaArtworkHelper.kt | 89 startAlpha: Float, in <lambda>() 94 getColorWithAlpha(backgroundStartFromScheme(colorScheme), startAlpha), in <lambda>()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | DimmerAnimationHelper.java | 200 final float startAlpha = Math.max(mCurrentProperties.mAlpha, 0f); in getRequestedAnimationSpec() local 203 * Math.abs(mRequestedProperties.mAlpha - startAlpha)); in getRequestedAnimationSpec() 206 new AnimationSpec.AnimationExtremes<>(startAlpha, mRequestedProperties.mAlpha), in getRequestedAnimationSpec()
|
D | LegacyDimmer.java | 302 SurfaceControl.Transaction t, float startAlpha, float endAlpha) { in startAnim() argument 304 new AlphaAnimationSpec(startAlpha, endAlpha, getDimDuration(container)), in startAnim()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | LockPatternView.java | 501 public void startCellStateAnimation(CellState cellState, float startAlpha, float endAlpha, in startCellStateAnimation() argument 506 startCellStateAnimationHw(cellState, startAlpha, endAlpha, startTranslationY, in startCellStateAnimation() 510 startCellStateAnimationSw(cellState, startAlpha, endAlpha, startTranslationY, in startCellStateAnimation() 517 final float startAlpha, final float endAlpha, in startCellStateAnimationSw() argument 521 cellState.alpha = startAlpha; in startCellStateAnimationSw() 532 cellState.alpha = (1 - t) * startAlpha + t * endAlpha; in startCellStateAnimationSw() 550 float startAlpha, float endAlpha, in startCellStateAnimationHw() argument 563 mPaint.setAlpha((int) (startAlpha * 255)); in startCellStateAnimationHw()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/tv/ |
D | TvPipTransition.java | 748 @FloatRange(from = 0.0, to = 1.0) float startAlpha, in animateAlpha() 750 mStartAlpha = startAlpha; in animateAlpha()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | ContrastColorUtil.java | 430 int startAlpha = Color.alpha(color); in findAlphaToMeetContrast() local 435 int low = startAlpha, high = 255; in findAlphaToMeetContrast()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | ScrimController.java | 1383 final float startAlpha = (Float) scrim.getTag(TAG_START_ALPHA); in startScrimAnimation() 1387 float alpha = MathUtils.lerp(startAlpha, finalScrimAlpha, animAmount); in startScrimAnimation()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/controller/ |
D | MediaCarouselController.kt | 1216 val startAlpha = if (startIsVisible) 1.0f else 0.0f in <lambda>() constant 1237 alpha = MathUtils.lerp(startAlpha, endAlpha, progress) in <lambda>()
|
D | MediaControlPanel.java | 1095 ColorScheme mutableColorScheme, float startAlpha, float endAlpha) { in setupGradientColorOnDrawable() argument 1099 startAlpha), in setupGradientColorOnDrawable()
|