Searched refs:premulColor (Results 1 – 1 of 1) sorted by relevance
418 private static int convertPremulColorToColorInt(int premulColor, ColorSpace premulCS) { in convertPremulColorToColorInt() argument419 float alpha = (premulColor & 0xff) / 255.0f; in convertPremulColorToColorInt()420 return Color.toArgb(Color.convert((premulColor >>> 24) / 255.0f / alpha, in convertPremulColorToColorInt()421 ((premulColor >> 16) & 0xff) / 255.0f / alpha, in convertPremulColorToColorInt()422 ((premulColor >> 8) & 0xff) / 255.0f / alpha, in convertPremulColorToColorInt()