Home
last modified time | relevance | path

Searched refs:computeColor (Results 1 – 2 of 2) sorted by relevance

/frameworks/layoutlib/bridge/src/android/graphics/
DGradient_Delegate.java132 mGradient[i] = computeColor(mColors[prevPos], mColors[nextPos], percent); in precomputeGradientColors()
212 private int computeColor(int c1, int c2, float percent) { in computeColor() method in Gradient_Delegate.GradientPaint
/frameworks/base/graphics/java/android/graphics/
DColorSpace.java4640 colors[colorIndex ] = computeColor(color, v1x, v1y, v1z, colorSpace);
4641 colors[colorIndex + 1] = computeColor(color, v2x, v2y, v2z, colorSpace);
4642 colors[colorIndex + 2] = computeColor(color, v3x, v3y, v3z, colorSpace);
4645 colors[colorIndex + 5] = computeColor(color, v4x, v4y, v4z, colorSpace);
4666 private static int computeColor(@NonNull @Size(3) float[] color,