Lines Matching defs:widthAnimator
349 ValueAnimator widthAnimator;
406 widthAnimator = null;
463 cancelAnimator(widthAnimator);
464 widthAnimator = null;
474 boolean widthNeedsAnimation = (currentWidthFactor > 0.0f && widthAnimator == null)
475 || (widthAnimator != null && widthAnimationIsGrowing);
492 boolean widthNeedsAnimation = (widthAnimator == null || !widthAnimationIsGrowing);
540 cancelAnimator(widthAnimator);
541 widthAnimator = ValueAnimator.ofFloat(currentWidthFactor, 0.0f);
542 widthAnimator.addUpdateListener(widthUpdater);
543 widthAnimator.addListener(widthFinishListener);
544 widthAnimator.addListener(removeEndListener);
545 widthAnimator.setDuration((long) (DISAPPEAR_DURATION * currentWidthFactor));
546 widthAnimator.setStartDelay(widthDelay);
547 widthAnimator.start();
578 cancelAnimator(widthAnimator);
579 widthAnimator = ValueAnimator.ofFloat(currentWidthFactor, 1.0f);
580 widthAnimator.addUpdateListener(widthUpdater);
581 widthAnimator.addListener(widthFinishListener);
582 widthAnimator.setDuration((long) (APPEAR_DURATION * (1f - currentWidthFactor)));
583 widthAnimator.start();