Home
last modified time | relevance | path

Searched refs:endAlpha (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/java/android/transition/
DFade.java119 private Animator createAnimation(final View view, float startAlpha, final float endAlpha) { in createAnimation() argument
120 if (startAlpha == endAlpha) { in createAnimation()
124 final ObjectAnimator anim = ObjectAnimator.ofFloat(view, "transitionAlpha", endAlpha); in createAnimation()
/frameworks/base/core/java/android/widget/
DZoomControls.java97 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/statusbar/
DKeyguardAffordanceView.java498 int endAlpha = (int) (alpha * 255); in setImageAlpha() local
501 if (background != null) background.mutate().setAlpha(endAlpha); in setImageAlpha()
502 setImageAlpha(endAlpha); in setImageAlpha()
505 ValueAnimator animator = ValueAnimator.ofInt(currentAlpha, endAlpha); in setImageAlpha()
520 float durationFactor = Math.abs(currentAlpha - endAlpha) / 255f; in setImageAlpha()
/frameworks/base/core/java/com/android/internal/widget/
DLockPatternView.java466 public void startCellStateAnimation(CellState cellState, float startAlpha, float endAlpha, in startCellStateAnimation() argument
471 startCellStateAnimationHw(cellState, startAlpha, endAlpha, startTranslationY, in startCellStateAnimation()
475 startCellStateAnimationSw(cellState, startAlpha, endAlpha, startTranslationY, in startCellStateAnimation()
482 final float startAlpha, final float endAlpha, in startCellStateAnimationSw() argument
497 cellState.alpha = (1 - t) * startAlpha + t * endAlpha; in startCellStateAnimationSw()
515 float startAlpha, float endAlpha, in startCellStateAnimationHw() argument
519 cellState.alpha = endAlpha; in startCellStateAnimationHw()
535 startRtAlphaAnimation(cellState, endAlpha, delay, duration, interpolator, in startCellStateAnimationHw()
549 private void startRtAlphaAnimation(CellState cellState, float endAlpha, in startRtAlphaAnimation() argument
553 RenderNodeAnimator.PAINT_ALPHA, (int) (endAlpha * 255)); in startRtAlphaAnimation()
/frameworks/base/services/core/java/com/android/server/wm/
DDimmer.java348 SurfaceControl.Transaction t, float startAlpha, float endAlpha) { in startAnim() argument
350 new AlphaAnimationSpec(startAlpha, endAlpha, getDimDuration(container)), in startAnim()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
DMediaCarouselController.kt528 val endAlpha = if (endIsVisible) 1.0f else 0.0f in <lambda>() constant
540 alpha = MathUtils.lerp(startAlpha, endAlpha, progress) in <lambda>()