Searched refs:computeChannel (Results 1 - 1 of 1) sorted by relevance

/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DGradient_Delegate.java197 int a = computeChannel((c1 >> 24) & 0xFF, (c2 >> 24) & 0xFF, percent);
198 int r = computeChannel((c1 >> 16) & 0xFF, (c2 >> 16) & 0xFF, percent);
199 int g = computeChannel((c1 >> 8) & 0xFF, (c2 >> 8) & 0xFF, percent);
200 int b = computeChannel((c1 ) & 0xFF, (c2 ) & 0xFF, percent);
208 private int computeChannel(int c1, int c2, float percent) { method in class:Gradient_Delegate.GradientPaint

Completed in 106 milliseconds