Searched refs:dstColor (Results 1 – 1 of 1) sorted by relevance
150 public static void setColorChangeOnMatrix(int srcColor, int dstColor, ColorMatrix target) { in setColorChangeOnMatrix() argument152 target.getArray()[4] = Color.red(dstColor) - Color.red(srcColor); in setColorChangeOnMatrix()153 target.getArray()[9] = Color.green(dstColor) - Color.green(srcColor); in setColorChangeOnMatrix()154 target.getArray()[14] = Color.blue(dstColor) - Color.blue(srcColor); in setColorChangeOnMatrix()155 target.getArray()[19] = Color.alpha(dstColor) - Color.alpha(srcColor); in setColorChangeOnMatrix()