Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNotificationPanelView.java201 private ValueAnimator mQsSizeChangeAnimator; field in NotificationPanelView
450 if (mQsSizeChangeAnimator == null && mQs != null) { in onLayout()
462 if (mQsSizeChangeAnimator != null) { in startQsSizeChangeAnimation()
463 oldHeight = (int) mQsSizeChangeAnimator.getAnimatedValue(); in startQsSizeChangeAnimation()
464 mQsSizeChangeAnimator.cancel(); in startQsSizeChangeAnimation()
466 mQsSizeChangeAnimator = ValueAnimator.ofInt(oldHeight, newHeight); in startQsSizeChangeAnimation()
467 mQsSizeChangeAnimator.setDuration(300); in startQsSizeChangeAnimation()
468 mQsSizeChangeAnimator.setInterpolator(Interpolators.FAST_OUT_SLOW_IN); in startQsSizeChangeAnimation()
469 mQsSizeChangeAnimator.addUpdateListener(new ValueAnimator.AnimatorUpdateListener() { in startQsSizeChangeAnimation()
474 int height = (int) mQsSizeChangeAnimator.getAnimatedValue(); in startQsSizeChangeAnimation()
[all …]