Searched refs:mHeaderAnimator (Results 1 – 1 of 1) sorted by relevance
55 private final ValueAnimator mHeaderAnimator = ValueAnimator.ofInt(0, 1).setDuration(100); field in FloatingHeaderView141 mHeaderAnimator.addUpdateListener(valueAnimator -> invalidate()); in onFinishInflate()298 mHeaderAnimator.setCurrentFraction(0); in moved()299 mHeaderAnimator.start(); in moved()317 mBGPaint.setAlpha((int) (255 * mHeaderAnimator.getAnimatedFraction())); in dispatchDraw()