Searched refs:maxSum (Results 1 – 3 of 3) sorted by relevance
240 int32_t maxSum = -1; /* small enough */ in fxt1_choose() local281 if (maxSum < sum) { in fxt1_choose()282 maxSum = sum; in fxt1_choose()520 int32_t maxSum; in fxt1_quantize_ALPHA1() local532 maxSum = -1; /* small enough */ in fxt1_quantize_ALPHA1()542 if (maxSum < sum) { in fxt1_quantize_ALPHA1()543 maxSum = sum; in fxt1_quantize_ALPHA1()555 maxSum = -1; /* small enough */ in fxt1_quantize_ALPHA1()565 if (maxSum < sum) { in fxt1_quantize_ALPHA1()566 maxSum = sum; in fxt1_quantize_ALPHA1()[all …]
218 int maxSum = std::max(std::max(SkColorGetA(kBGColor) + SkColorGetA(color), in setupShapePaint() local223 if (maxSum > 255) { in setupShapePaint()229 dimPaint.setARGB(255 * 255 / maxSum, 0, 0, 0); in setupShapePaint()230 paint->setAlpha(255 * paint->getAlpha() / maxSum); in setupShapePaint()
216 int maxSum = SkTMax(SkTMax(SkColorGetA(kBGColor) + SkColorGetA(color), in setupShapePaint() local221 if (maxSum > 255) { in setupShapePaint()227 dimPaint.setARGB(255 * 255 / maxSum, 0, 0, 0); in setupShapePaint()228 paint->setAlpha(255 * paint->getAlpha() / maxSum); in setupShapePaint()