Searched refs:GRADIENT_SIZE (Results 1 – 1 of 1) sorted by relevance
83 private final static int GRADIENT_SIZE = 100; field in Gradient_Delegate.GradientPaint109 mGradient = new int[GRADIENT_SIZE+1]; in precomputeGradientColors()113 for (int i = 0 ; i <= GRADIENT_SIZE ; i++) { in precomputeGradientColors()115 float currentPos = (float)i/GRADIENT_SIZE; in precomputeGradientColors()203 int index = (int)((pos * GRADIENT_SIZE) + .5); in getGradientColor()