Lines Matching refs:ct
96 for (SkColorType ct : {
116 SkImageInfo imageInfo = info.makeColorType(ct);
181 for (SkColorType ct : colorTypes) {
183 if (!ToolUtils::copy_to(©, ct, source)) {
184 ERRORF(r, "SkBitmap::copy failed %d", (int)ct);
191 static void test_erasecolor_premul(skiatest::Reporter* reporter, SkColorType ct, SkColor input,
194 bm.allocPixels(SkImageInfo::Make(1, 1, ct, kPremul_SkAlphaType));
216 SkColorType ct = (SkColorType) i;
218 SkAlphaType at = SkColorTypeIsAlwaysOpaque(ct) ? kOpaque_SkAlphaType : kPremul_SkAlphaType;
219 bm.allocPixels(SkImageInfo::Make(13, 17, ct, at));
288 for (SkColorType ct : colorTypes) {
289 SkImageInfo info = SkImageInfo::Make(1,1, (SkColorType)ct, kPremul_SkAlphaType);
295 if (SkColorTypeIsAlwaysOpaque(ct)) {
308 bool (*pred)(float expected, float actual), SkColorType ct) {
319 ToolUtils::colortype_name(ct), actual, expected);