Lines Matching refs:subset
89 SkBitmap subset; in DEF_TEST() local
96 if (kUnknown_SkColorType != bitmap.colorType() && bitmap.extractSubset(&subset, r)) { in DEF_TEST()
97 REPORTER_ASSERT(reporter, subset.width() == W); in DEF_TEST()
98 REPORTER_ASSERT(reporter, subset.height() == 2); in DEF_TEST()
99 REPORTER_ASSERT(reporter, subset.alphaType() == bitmap.alphaType()); in DEF_TEST()
100 REPORTER_ASSERT(reporter, subset.isVolatile() == true); in DEF_TEST()
105 bool success = sk_tool_utils::copy_to(©, gPairs[j].fColorType, subset); in DEF_TEST()
115 REPORTER_ASSERT(reporter, copy.getGenerationID() != subset.getGenerationID()); in DEF_TEST()
124 if (bitmap.extractSubset(&subset, r)) { in DEF_TEST()
125 REPORTER_ASSERT(reporter, subset.alphaType() == bitmap.alphaType()); in DEF_TEST()
126 REPORTER_ASSERT(reporter, subset.isVolatile() == false); in DEF_TEST()