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