Home
last modified time | relevance | path

Searched refs:endAlpha (Results 1 – 13 of 13) 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/support/transition/src/main/java/androidx/transition/
DFade.java120 private Animator createAnimation(final View view, float startAlpha, float endAlpha) { in createAnimation() argument
121 if (startAlpha == endAlpha) { in createAnimation()
126 endAlpha); in createAnimation()
/frameworks/base/core/java/android/widget/
DZoomControls.java90 private void fade(int visibility, float startAlpha, float endAlpha) { in fade() argument
91 AlphaAnimation anim = new AlphaAnimation(startAlpha, endAlpha); in fade()
/frameworks/support/mediarouter/src/main/java/androidx/mediarouter/app/
DOverlayListView.java151 public OverlayObject setAlphaAnimation(float startAlpha, float endAlpha) { in setAlphaAnimation() argument
153 mEndAlpha = endAlpha; in setAlphaAnimation()
/frameworks/support/leanback/src/main/java/androidx/leanback/app/
DDetailsBackgroundVideoHelper.java194 float endAlpha = crossFadeToVideo ? 0f : 1f; in crossFadeBackgroundToVideo() local
203 mBackgroundAnimator = ValueAnimator.ofFloat(startAlpha, endAlpha); in crossFadeBackgroundToVideo()
/frameworks/av/packages/MediaComponents/src/com/android/support/mediarouter/app/
DOverlayListView.java151 public OverlayObject setAlphaAnimation(float startAlpha, float endAlpha) { in setAlphaAnimation() argument
153 mEndAlpha = endAlpha; in setAlphaAnimation()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DKeyguardAffordanceView.java494 int endAlpha = (int) (alpha * 255); in setImageAlpha() local
497 if (background != null) background.mutate().setAlpha(endAlpha); in setImageAlpha()
498 setImageAlpha(endAlpha); in setImageAlpha()
501 ValueAnimator animator = ValueAnimator.ofInt(currentAlpha, endAlpha); in setImageAlpha()
519 float durationFactor = Math.abs(currentAlpha - endAlpha) / 255f; in setImageAlpha()
DActivatableNotificationView.java651 float endAlpha = mDimmed ? 0 : 1f; in fadeDimmedBackground() local
666 ObjectAnimator.ofFloat(mBackgroundNormal, View.ALPHA, startAlpha, endAlpha); in fadeDimmedBackground()
/frameworks/base/core/java/com/android/internal/widget/
DLockPatternView.java445 public void startCellStateAnimation(CellState cellState, float startAlpha, float endAlpha, in startCellStateAnimation() argument
450 startCellStateAnimationHw(cellState, startAlpha, endAlpha, startTranslationY, in startCellStateAnimation()
454 startCellStateAnimationSw(cellState, startAlpha, endAlpha, startTranslationY, in startCellStateAnimation()
461 final float startAlpha, final float endAlpha, in startCellStateAnimationSw() argument
476 cellState.alpha = (1 - t) * startAlpha + t * endAlpha; in startCellStateAnimationSw()
494 float startAlpha, float endAlpha, in startCellStateAnimationHw() argument
498 cellState.alpha = endAlpha; in startCellStateAnimationHw()
514 startRtAlphaAnimation(cellState, endAlpha, delay, duration, interpolator, in startCellStateAnimationHw()
528 private void startRtAlphaAnimation(CellState cellState, float endAlpha, in startRtAlphaAnimation() argument
532 RenderNodeAnimator.PAINT_ALPHA, (int) (endAlpha * 255)); in startRtAlphaAnimation()
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/widget/
DBaseCardViewTest.java59 float startAlpha, float endAlpha) { in mockInfoAlphaAnimation() argument
65 assertEquals(endAlpha, infoView.getAlpha(), 0.01f); in mockInfoAlphaAnimation()
66 assertEquals(endAlpha == 0f? View.GONE: View.VISIBLE, infoView.getVisibility()); in mockInfoAlphaAnimation()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DTrustDrawable.java222 int startAlpha, int endAlpha, long duration, Interpolator interpolator, in makeAnimators() argument
225 ValueAnimator.ofInt(startAlpha, endAlpha), in makeAnimators()
/frameworks/base/services/core/java/com/android/server/wm/
DDimmer.java332 SurfaceControl.Transaction t, float startAlpha, float endAlpha) { in startAnim() argument
334 new AlphaAnimationSpec(startAlpha, endAlpha, getDimDuration(container)), in startAnim()
/frameworks/support/fragment/src/main/java/androidx/fragment/app/
DFragmentManager.java1137 float endScale, float startAlpha, float endAlpha) { in makeOpenCloseAnimation() argument
1144 AlphaAnimation alpha = new AlphaAnimation(startAlpha, endAlpha); in makeOpenCloseAnimation()