Searched refs:overlayColor (Results 1 – 3 of 3) sorted by relevance
170 public static int getColorWithOverlay(int baseColor, int overlayColor, float overlayAlpha) { in getColorWithOverlay() argument173 (1f - overlayAlpha) * Color.red(overlayColor)), in getColorWithOverlay()175 (1f - overlayAlpha) * Color.green(overlayColor)), in getColorWithOverlay()177 (1f - overlayAlpha) * Color.blue(overlayColor))); in getColorWithOverlay()
130 public void setOverlayColor(int overlayColor) { in setOverlayColor() argument132 mColorDimOverlay.setBackgroundColor(overlayColor); in setOverlayColor()
186 int overlayColor = useLightOverlayColor ? Color.WHITE : Color.BLACK; in getSecondaryColor() local187 return Utilities.getColorWithOverlay(primaryColor, overlayColor, 0.8f); in getSecondaryColor()