Searched refs:overlayAlpha (Results 1 – 1 of 1) sorted by relevance
168 public static int getColorWithOverlay(int baseColor, int overlayColor, float overlayAlpha) { in getColorWithOverlay() argument170 (int) (overlayAlpha * Color.red(baseColor) + in getColorWithOverlay()171 (1f - overlayAlpha) * Color.red(overlayColor)), in getColorWithOverlay()172 (int) (overlayAlpha * Color.green(baseColor) + in getColorWithOverlay()173 (1f - overlayAlpha) * Color.green(overlayColor)), in getColorWithOverlay()174 (int) (overlayAlpha * Color.blue(baseColor) + in getColorWithOverlay()175 (1f - overlayAlpha) * Color.blue(overlayColor))); in getColorWithOverlay()