Searched refs:overlayAlpha (Results 1 – 1 of 1) sorted by relevance
140 public static int getColorWithOverlay(int baseColor, int overlayColor, float overlayAlpha) { in getColorWithOverlay() argument142 (int) (overlayAlpha * Color.red(baseColor) + in getColorWithOverlay()143 (1f - overlayAlpha) * Color.red(overlayColor)), in getColorWithOverlay()144 (int) (overlayAlpha * Color.green(baseColor) + in getColorWithOverlay()145 (1f - overlayAlpha) * Color.green(overlayColor)), in getColorWithOverlay()146 (int) (overlayAlpha * Color.blue(baseColor) + in getColorWithOverlay()147 (1f - overlayAlpha) * Color.blue(overlayColor))); in getColorWithOverlay()