Home
last modified time | relevance | path

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

/packages/apps/Dialer/java/com/android/incallui/answer/impl/affordance/
DSwipeButtonHelper.java425 float fadeOutAlpha = 1.0f - alpha; in setTranslation() local
426 fadeOutAlpha = Math.max(fadeOutAlpha, 0.0f); in setTranslation()
437 alpha + fadeOutAlpha * targetView.getRestingAlpha(), in setTranslation()
446 fadeOutAlpha * targetView.getRestingAlpha(), in setTranslation()
457 fadeOutAlpha * otherView.getRestingAlpha(), in setTranslation()
473 float fadeOutAlpha = 1.0f - alpha; in updateIconsFromTranslation() local
474 fadeOutAlpha = Math.max(0.0f, fadeOutAlpha); in updateIconsFromTranslation()
478 updateIconAlpha(targetView, alpha + fadeOutAlpha * targetView.getRestingAlpha(), false); in updateIconsFromTranslation()
480 updateIconAlpha(otherView, fadeOutAlpha * otherView.getRestingAlpha(), false); in updateIconsFromTranslation()