:github_url: https://github.com/kivymd/KivyMD/blob/master/kivymd/uix/exprogressindicator/animators.py

kivymd.uix.exprogressindicator.animators
========================================

.. py:module:: kivymd.uix.exprogressindicator.animators


API - :mod:`kivymd.uix.exprogressindicator.animators`
-----------------------------------------------------

.. py:class:: LinearIndeterminateDisjointAnimator


   .. py:attribute:: INTERPOLATORS

      

   .. py:attribute:: DURATION_TO_MOVE_SEGMENT_ENDS
      :value: [533, 567, 850, 750]

      

   .. py:attribute:: DELAY_TO_MOVE_SEGMENT_ENDS
      :value: [1267, 1000, 333, 0]

      

   .. py:attribute:: TOTAL_DURATION_IN_MS
      :value: 1800

      

   .. py:attribute:: LOOP_DELAY
      :value: 20

      

   .. py:method:: get_fraction_in_range(playtime, start, duration)


   .. py:method:: compute_bar(playtime, head_idx, tail_idx)


   .. py:method:: bars(time_sec)



.. py:class:: LinearIndeterminateContiguousAnimator


   .. py:attribute:: INTERPOLATOR

      

   .. py:attribute:: TOTAL_DURATION_IN_MS
      :value: 667

      

   .. py:attribute:: DURATION_PER_CYCLE_IN_MS
      :value: 333

      

   .. py:attribute:: last_cycle_count

      

   .. py:attribute:: current_indices
      :value: [0, 0, 0]

      

   .. py:attribute:: len_palette
      :value: 0

      

   .. py:method:: get_fraction_in_range(playtime, start, duration)


   .. py:method:: bars(time_sec)



.. py:class:: CircularIndeterminateRetreatAnimator


   .. py:attribute:: INTERPOLATOR

      

   .. py:attribute:: TOTAL_DURATION_MS
      :value: 6000

      

   .. py:attribute:: DURATION_SPIN_MS
      :value: 500

      

   .. py:attribute:: DURATION_GROW_MS
      :value: 3000

      

   .. py:attribute:: DURATION_SHRINK_MS
      :value: 3000

      

   .. py:attribute:: DELAY_SPINS_MS
      :value: [0, 1500, 3000, 4500]

      

   .. py:attribute:: CONSTANT_ROTATION_DEGREES
      :value: 1080

      

   .. py:attribute:: SPIN_ROTATION_DEGREES
      :value: 90

      

   .. py:attribute:: END_FRACTION_RANGE
      :value: [0.1, 0.87]

      

   .. py:method:: get_fraction_in_range(playtime, start, duration)


   .. py:method:: bars(time_sec)

      Returns: (rotation, (start_fraction, end_fraction, color_index))



.. py:class:: CircularIndeterminateAdvancedAnimator


   .. py:attribute:: INTERPOLATOR

      

   .. py:attribute:: TOTAL_DURATION_MS
      :value: 5400

      

   .. py:attribute:: TOTAL_CYCLES
      :value: 4

      

   .. py:attribute:: DURATION_EXPAND
      :value: 667

      

   .. py:attribute:: DURATION_COLLAPSE
      :value: 667

      

   .. py:attribute:: DURATION_FADE_IN
      :value: 333

      

   .. py:attribute:: DELAY_EXPAND
      :value: [0, 1350, 2700, 4050]

      

   .. py:attribute:: DELAY_COLLAPSE
      :value: [667, 2017, 3367, 4717]

      

   .. py:attribute:: DELAY_FADE_IN
      :value: [1000, 2350, 3700, 5050]

      

   .. py:attribute:: TAIL_DEGREES_OFFSET

      

   .. py:attribute:: EXTRA_DEGREES_PER_CYCLE
      :value: 250

      

   .. py:attribute:: CONSTANT_ROTATION_DEGREES
      :value: 1520

      

   .. py:method:: get_fraction_in_range(playtime, start, duration)


   .. py:method:: get_color(time_sec, playtime_ms)


   .. py:method:: bars(time_sec)

      Returns: (rotation, (start_fraction, end_fraction, (c_start_idx, c_end_idx, color_lerp)))
      Note: rotation is 0 because Advance logic builds rotation into the fractions.




