android Programming Glossary: lumg
Understanding the Use of ColorMatrix and ColorMatrixColorFilter to Modify a Drawable's Hue http://stackoverflow.com/questions/4354939/understanding-the-use-of-colormatrix-and-colormatrixcolorfilter-to-modify-a-draw float sinVal float Math.sin value float lumR 0.213f float lumG 0.715f float lumB 0.072f float mat new float lumR cosVal 1.. 0.072f float mat new float lumR cosVal 1 lumR sinVal lumR lumG cosVal lumG sinVal lumG lumB cosVal lumB sinVal 1 lumB 0 0 lumR.. mat new float lumR cosVal 1 lumR sinVal lumR lumG cosVal lumG sinVal lumG lumB cosVal lumB sinVal 1 lumB 0 0 lumR cosVal lumR..
Understanding the Use of ColorMatrix and ColorMatrixColorFilter to Modify a Drawable's Hue http://stackoverflow.com/questions/4354939/understanding-the-use-of-colormatrix-and-colormatrixcolorfilter-to-modify-a-draw Math.PI if value 0 return float cosVal float Math.cos value float sinVal float Math.sin value float lumR 0.213f float lumG 0.715f float lumB 0.072f float mat new float lumR cosVal 1 lumR sinVal lumR lumG cosVal lumG sinVal lumG lumB cosVal lumB.. value float lumR 0.213f float lumG 0.715f float lumB 0.072f float mat new float lumR cosVal 1 lumR sinVal lumR lumG cosVal lumG sinVal lumG lumB cosVal lumB sinVal 1 lumB 0 0 lumR cosVal lumR sinVal 0.143f lumG cosVal 1 lumG sinVal 0.140f.. float lumR 0.213f float lumG 0.715f float lumB 0.072f float mat new float lumR cosVal 1 lumR sinVal lumR lumG cosVal lumG sinVal lumG lumB cosVal lumB sinVal 1 lumB 0 0 lumR cosVal lumR sinVal 0.143f lumG cosVal 1 lumG sinVal 0.140f lumB cosVal..
|