Lines Matching refs:contrast
55 private static void setContrast(ColorMatrix cm, float contrast) {
56 float scale = contrast + 1.f;
65 private static void setContrastTranslateOnly(ColorMatrix cm, float contrast) {
66 float scale = contrast + 1.f;
75 private static void setContrastScaleOnly(ColorMatrix cm, float contrast) {
76 float scale = contrast + 1.f;
102 //convert our animated angle [-180...180] to a contrast value of [-1..1]
103 float contrast = mAngle / 180.f;
105 setContrast(cm, contrast);
109 setContrastScaleOnly(cm, contrast);
113 setContrastTranslateOnly(cm, contrast);