content: package com.google.android.material.progressindicator;
  
  import android.animation.Animator;
  import androidx.vectordrawable.graphics.drawable.Animatable2Compat;
  
  abstract class IndeterminateAnimatorDelegate<T extends Animator> {
      protected IndeterminateDrawable drawable;
      protected final int[] segmentColors;
      protected final float[] segmentPositions;
  
      protected IndeterminateAnimatorDelegate(int segmentCount) {
          this.segmentPositions = new float[(segmentCount * 2)];
          this.segmentColors = new int[segmentCount];
      }
  
      /* access modifiers changed from: package-private */
      public abstract void cancelAnimatorImmediately();
  
      /* access modifiers changed from: protected */
      public float getFractionInRange(int playtime, int start, int duration) {
          return ((float) (playtime - start)) / ((float) duration);
      }
  
      public abstract void invalidateSpecValues();
  
      public abstract void registerAnimatorsCompleteCallback(Animatable2Compat.AnimationCallback animationCallback);
  
      /* access modifiers changed from: protected */
      public void registerDrawable(IndeterminateDrawable drawable2) {
          this.drawable = drawable2;
      }
  
      /* access modifiers changed from: package-private */
      public abstract void requestCancelAnimatorAfterCurrentCycle();
  
      /* access modifiers changed from: package-private */
      public abstract void startAnimator();
  
      public abstract void unregisterAnimatorsCompleteCallback();
  }
  