Searched refs:overlayAlpha (Results 1 – 1 of 1) sorted by relevance
195 public static int getColorWithOverlay(int baseColor, int overlayColor, float overlayAlpha) { in getColorWithOverlay() argument197 (int) (overlayAlpha * Color.red(baseColor) + in getColorWithOverlay()198 (1f - overlayAlpha) * Color.red(overlayColor)), in getColorWithOverlay()199 (int) (overlayAlpha * Color.green(baseColor) + in getColorWithOverlay()200 (1f - overlayAlpha) * Color.green(overlayColor)), in getColorWithOverlay()201 (int) (overlayAlpha * Color.blue(baseColor) + in getColorWithOverlay()202 (1f - overlayAlpha) * Color.blue(overlayColor))); in getColorWithOverlay()