Home
last modified time | relevance | path

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

/frameworks/support/leanback/api21/androidx/leanback/transition/
DFadeAndShortSlide.java242 final Animator fadeAnimator = mFade.onAppear(sceneRoot, view, startValues, endValues); in onAppear() local
244 return fadeAnimator; in onAppear()
245 } else if (fadeAnimator == null) { in onAppear()
249 set.play(slideAnimator).with(fadeAnimator); in onAppear()
274 final Animator fadeAnimator = mFade.onDisappear(sceneRoot, view, startValues, endValues); in onDisappear() local
276 return fadeAnimator; in onDisappear()
277 } else if (fadeAnimator == null) { in onDisappear()
281 set.play(slideAnimator).with(fadeAnimator); in onDisappear()
/frameworks/support/leanback/src/main/java/androidx/leanback/app/
DOnboardingSupportFragment.java895 Animator fadeAnimator = null; in onPageChangedInternal() local
899 animators.add(fadeAnimator = createAnimator(mDescriptionView, false, Gravity.START, in onPageChangedInternal()
908 animators.add(fadeAnimator = createAnimator(mDescriptionView, false, Gravity.END, in onPageChangedInternal()
916 fadeAnimator.addListener(new AnimatorListenerAdapter() { in onPageChangedInternal()
979 Animator fadeAnimator; in createAnimator() local
982 fadeAnimator = ObjectAnimator.ofFloat(view, View.ALPHA, 0.0f, 1.0f); in createAnimator()
985 fadeAnimator.setInterpolator(HEADER_APPEAR_INTERPOLATOR); in createAnimator()
988 fadeAnimator = ObjectAnimator.ofFloat(view, View.ALPHA, 1.0f, 0.0f); in createAnimator()
991 fadeAnimator.setInterpolator(HEADER_DISAPPEAR_INTERPOLATOR); in createAnimator()
994 fadeAnimator.setDuration(HEADER_ANIMATION_DURATION_MS); in createAnimator()
[all …]
DOnboardingFragment.java900 Animator fadeAnimator = null; in onPageChangedInternal() local
904 animators.add(fadeAnimator = createAnimator(mDescriptionView, false, Gravity.START, in onPageChangedInternal()
913 animators.add(fadeAnimator = createAnimator(mDescriptionView, false, Gravity.END, in onPageChangedInternal()
921 fadeAnimator.addListener(new AnimatorListenerAdapter() { in onPageChangedInternal()
984 Animator fadeAnimator; in createAnimator() local
987 fadeAnimator = ObjectAnimator.ofFloat(view, View.ALPHA, 0.0f, 1.0f); in createAnimator()
990 fadeAnimator.setInterpolator(HEADER_APPEAR_INTERPOLATOR); in createAnimator()
993 fadeAnimator = ObjectAnimator.ofFloat(view, View.ALPHA, 1.0f, 0.0f); in createAnimator()
996 fadeAnimator.setInterpolator(HEADER_DISAPPEAR_INTERPOLATOR); in createAnimator()
999 fadeAnimator.setDuration(HEADER_ANIMATION_DURATION_MS); in createAnimator()
[all …]