Package 

Class GammaEvaluator


  • 
    public class GammaEvaluator
    
                        

    Use this instead of android.animation.ArgbEvaluator because it interpolates through the gamma color space which looks better to us humans.

    Written by Romain Guy and Francois Blavoet. https://androidstudygroup.slack.com/archives/animation/p1476461064000335

    • Method Summary

      Modifier and Type Method Description
      static int evaluate(float fraction, int startInt, int endInt)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • evaluate

         static int evaluate(float fraction, int startInt, int endInt)