Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/pageindicators/
DWorkspacePageIndicator.java221 private void setupAndRunAnimation(ValueAnimator animator, final int animatorIndex) { in setupAndRunAnimation() argument
222 if (mAnimators[animatorIndex] != null) { in setupAndRunAnimation()
223 mAnimators[animatorIndex].cancel(); in setupAndRunAnimation()
225 mAnimators[animatorIndex] = animator; in setupAndRunAnimation()
226 mAnimators[animatorIndex].addListener(new AnimatorListenerAdapter() { in setupAndRunAnimation()
229 mAnimators[animatorIndex] = null; in setupAndRunAnimation()
232 mAnimators[animatorIndex].setDuration(LINE_ANIMATE_DURATION); in setupAndRunAnimation()
233 mAnimators[animatorIndex].start(); in setupAndRunAnimation()