Searched refs:maxSum (Results 1 – 2 of 2) sorted by relevance
357 GLint maxSum = -1; /* small enough */ in fxt1_choose() local398 if (maxSum < sum) { in fxt1_choose()399 maxSum = sum; in fxt1_choose()637 GLint maxSum; in fxt1_quantize_ALPHA1() local649 maxSum = -1; /* small enough */ in fxt1_quantize_ALPHA1()659 if (maxSum < sum) { in fxt1_quantize_ALPHA1()660 maxSum = sum; in fxt1_quantize_ALPHA1()672 maxSum = -1; /* small enough */ in fxt1_quantize_ALPHA1()682 if (maxSum < sum) { in fxt1_quantize_ALPHA1()683 maxSum = sum; in fxt1_quantize_ALPHA1()[all …]
206 int maxSum = SkTMax(SkTMax(SkColorGetA(kBGColor) + SkColorGetA(color), in setupShapePaint() local211 if (maxSum > 255) { in setupShapePaint()217 dimPaint.setARGB(255 * 255 / maxSum, 0, 0, 0); in setupShapePaint()218 paint->setAlpha(255 * paint->getAlpha() / maxSum); in setupShapePaint()