Lines Matching refs:gains
114 gains = cap_res["android.colorCorrection.gains"]
124 print "Gains:", gains
138 assert(len(gains) == 4)
140 assert(all([g > 0 for g in gains]))
144 assert(any([not is_close_float(gains[i], manual_gains[i])
164 gains = cap_res["android.colorCorrection.gains"]
177 print "Gains:", gains
194 assert(len(gains) == 4)
196 assert( all([is_close_float(gains[i], manual_gains_ok[0][i])
198 all([is_close_float(gains[i], manual_gains_ok[1][i])
200 all([is_close_float(gains[i], manual_gains_ok[2][i])