kivymd.uix.exprogressindicator.animators

Contents

kivymd.uix.exprogressindicator.animators#

API - kivymd.uix.exprogressindicator.animators#

class kivymd.uix.exprogressindicator.animators.LinearIndeterminateDisjointAnimator#
INTERPOLATORS#
DURATION_TO_MOVE_SEGMENT_ENDS = [533, 567, 850, 750]#
DELAY_TO_MOVE_SEGMENT_ENDS = [1267, 1000, 333, 0]#
TOTAL_DURATION_IN_MS = 1800#
LOOP_DELAY = 20#
get_fraction_in_range(playtime, start, duration)#
compute_bar(playtime, head_idx, tail_idx)#
bars(time_sec)#
class kivymd.uix.exprogressindicator.animators.LinearIndeterminateContiguousAnimator#
INTERPOLATOR#
TOTAL_DURATION_IN_MS = 667#
DURATION_PER_CYCLE_IN_MS = 333#
last_cycle_count#
current_indices = [0, 0, 0]#
len_palette = 0#
get_fraction_in_range(playtime, start, duration)#
bars(time_sec)#
class kivymd.uix.exprogressindicator.animators.CircularIndeterminateRetreatAnimator#
INTERPOLATOR#
TOTAL_DURATION_MS = 6000#
DURATION_SPIN_MS = 500#
DURATION_GROW_MS = 3000#
DURATION_SHRINK_MS = 3000#
DELAY_SPINS_MS = [0, 1500, 3000, 4500]#
CONSTANT_ROTATION_DEGREES = 1080#
SPIN_ROTATION_DEGREES = 90#
END_FRACTION_RANGE = [0.1, 0.87]#
get_fraction_in_range(playtime, start, duration)#
bars(time_sec)#

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

class kivymd.uix.exprogressindicator.animators.CircularIndeterminateAdvancedAnimator#
INTERPOLATOR#
TOTAL_DURATION_MS = 5400#
TOTAL_CYCLES = 4#
DURATION_EXPAND = 667#
DURATION_COLLAPSE = 667#
DURATION_FADE_IN = 333#
DELAY_EXPAND = [0, 1350, 2700, 4050]#
DELAY_COLLAPSE = [667, 2017, 3367, 4717]#
DELAY_FADE_IN = [1000, 2350, 3700, 5050]#
TAIL_DEGREES_OFFSET#
EXTRA_DEGREES_PER_CYCLE = 250#
CONSTANT_ROTATION_DEGREES = 1520#
get_fraction_in_range(playtime, start, duration)#
get_color(time_sec, playtime_ms)#
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.