Class TrimbleMapsAnimator<K>

java.lang.Object
android.animation.Animator
android.animation.ValueAnimator
com.trimblemaps.mapsdk.location.TrimbleMapsAnimator<K>
Type Parameters:
K - Data type that will be animated.
All Implemented Interfaces:
android.animation.ValueAnimator.AnimatorUpdateListener, Cloneable
Direct Known Subclasses:
PulsingLocationCircleAnimator

public abstract class TrimbleMapsAnimator<K> extends android.animation.ValueAnimator implements android.animation.ValueAnimator.AnimatorUpdateListener
Abstract class for all of the location component animators.
  • Nested Class Summary

    Nested classes/interfaces inherited from class android.animation.ValueAnimator

    android.animation.ValueAnimator.AnimatorUpdateListener, android.animation.ValueAnimator.DurationScaleChangeListener

    Nested classes/interfaces inherited from class android.animation.Animator

    android.animation.Animator.AnimatorPauseListener
  • Field Summary

    Fields inherited from class android.animation.ValueAnimator

    INFINITE, RESTART, REVERSE

    Fields inherited from class android.animation.Animator

    DURATION_INFINITE
  • Constructor Summary

    Constructors
    Constructor
    Description
    TrimbleMapsAnimator(com.trimblemaps.mapsdk.location.TrimbleMapsAnimator.AnimationsValueChangeListener<K> updateListener, K target, K animatedValue, double minUpdateInterval, long timeElapsed)
     
    TrimbleMapsAnimator(K[] values, com.trimblemaps.mapsdk.location.TrimbleMapsAnimator.AnimationsValueChangeListener<K> updateListener, int maxAnimationFps)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    void
    onAnimationUpdate(android.animation.ValueAnimator animation)
     

    Methods inherited from class android.animation.ValueAnimator

    addUpdateListener, areAnimatorsEnabled, cancel, clone, end, getAnimatedFraction, getAnimatedValue, getAnimatedValue, getCurrentPlayTime, getDuration, getDurationScale, getFrameDelay, getInterpolator, getRepeatCount, getRepeatMode, getStartDelay, getTotalDuration, getValues, isRunning, isStarted, ofArgb, ofFloat, ofInt, ofObject, ofPropertyValuesHolder, pause, registerDurationScaleChangeListener, removeAllUpdateListeners, removeUpdateListener, resume, reverse, setCurrentFraction, setCurrentPlayTime, setDuration, setEvaluator, setFloatValues, setFrameDelay, setInterpolator, setIntValues, setObjectValues, setRepeatCount, setRepeatMode, setStartDelay, setValues, start, toString, unregisterDurationScaleChangeListener

    Methods inherited from class android.animation.Animator

    addListener, addPauseListener, getListeners, isPaused, removeAllListeners, removeListener, removePauseListener, setTarget, setupEndValues, setupStartValues

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • TrimbleMapsAnimator

      public TrimbleMapsAnimator(@NonNull @Size(min=2L) K[] values, @NonNull com.trimblemaps.mapsdk.location.TrimbleMapsAnimator.AnimationsValueChangeListener<K> updateListener, int maxAnimationFps)
    • TrimbleMapsAnimator

      public TrimbleMapsAnimator(com.trimblemaps.mapsdk.location.TrimbleMapsAnimator.AnimationsValueChangeListener<K> updateListener, K target, K animatedValue, double minUpdateInterval, long timeElapsed)
  • Method Details

    • onAnimationUpdate

      public void onAnimationUpdate(android.animation.ValueAnimator animation)
      Specified by:
      onAnimationUpdate in interface android.animation.ValueAnimator.AnimatorUpdateListener
    • makeInvalid

      public void makeInvalid()