/external/skia/gm/ |
D | tilemodes.cpp | 90 …static const SkShader::TileMode gModes[] = { SkShader::kClamp_TileMode, SkShader::kRepeat_TileMode… in onDraw() local 96 for (size_t kx = 0; kx < SK_ARRAY_COUNT(gModes); kx++) { in onDraw() 97 for (size_t ky = 0; ky < SK_ARRAY_COUNT(gModes); ky++) { in onDraw() 117 for (size_t kx = 0; kx < SK_ARRAY_COUNT(gModes); kx++) { in onDraw() 118 for (size_t ky = 0; ky < SK_ARRAY_COUNT(gModes); ky++) { in onDraw() 126 setup(&paint, fTexture[i], gFilters[j], gModes[kx], gModes[ky]); in onDraw() 209 static const SkShader::TileMode gModes[] = { in onDraw() local 224 for (size_t kx = 0; kx < SK_ARRAY_COUNT(gModes); kx++) { in onDraw() 233 for (size_t ky = 0; ky < SK_ARRAY_COUNT(gModes); ky++) { in onDraw() 240 for (size_t kx = 0; kx < SK_ARRAY_COUNT(gModes); kx++) { in onDraw() [all …]
|
D | tilemodes_scaled.cpp | 94 …static const SkShader::TileMode gModes[] = { SkShader::kClamp_TileMode, SkShader::kRepeat_TileMode… in onDraw() local 100 for (size_t kx = 0; kx < SK_ARRAY_COUNT(gModes); kx++) { in onDraw() 101 for (size_t ky = 0; ky < SK_ARRAY_COUNT(gModes); ky++) { in onDraw() 120 for (size_t kx = 0; kx < SK_ARRAY_COUNT(gModes); kx++) { in onDraw() 121 for (size_t ky = 0; ky < SK_ARRAY_COUNT(gModes); ky++) { in onDraw() 129 setup(&paint, fTexture[i], gFilterQualitys[j], gModes[kx], gModes[ky]); in onDraw() 213 static const SkShader::TileMode gModes[] = { in onDraw() local 228 for (size_t kx = 0; kx < SK_ARRAY_COUNT(gModes); kx++) { in onDraw() 237 for (size_t ky = 0; ky < SK_ARRAY_COUNT(gModes); ky++) { in onDraw() 244 for (size_t kx = 0; kx < SK_ARRAY_COUNT(gModes); kx++) { in onDraw() [all …]
|
D | drawatlascolor.cpp | 82 } gModes[] = { in onDraw() local 121 const int numModes = SK_ARRAY_COUNT(gModes); in onDraw() 144 canvas->drawText(gModes[i].fLabel, strlen(gModes[i].fLabel), in onDraw() 155 gModes[i].fMode, nullptr, nullptr); in onDraw() 159 gModes[i].fMode, nullptr, &paint); in onDraw()
|
D | colortypexfermode.cpp | 71 } gModes[] = { in onDraw() local 128 for (size_t i = 0; i < SK_ARRAY_COUNT(gModes); i++) { in onDraw() 129 SkXfermode* mode = SkXfermode::Create(gModes[i].fMode); in onDraw() 147 canvas->drawText(gModes[i].fLabel, strlen(gModes[i].fLabel), in onDraw()
|
D | xfermodes.cpp | 78 } gModes[] = { variable 280 for (size_t i = 0; i < SK_ARRAY_COUNT(gModes); i++) { in onDraw() 281 if ((gModes[i].fSourceTypeMask & sourceType) == 0) { in onDraw() 285 if (gModes[i].fSourceTypeMask & kCustomMask) { in onDraw() 286 mode.reset(make_custom(gModes[i].fSourceTypeMask & kCustomMask)); in onDraw() 288 mode.reset(SkXfermode::Create(gModes[i].fMode)); in onDraw() 309 canvas->drawText(gModes[i].fLabel, strlen(gModes[i].fLabel), in onDraw()
|
D | lcdblendmodes.cpp | 91 } gModes[] = { in drawColumn() local 128 for (size_t m = 0; m < SK_ARRAY_COUNT(gModes); m++) { in drawColumn() 129 SkAutoTUnref<SkXfermode> xfermode(SkXfermode::Create(gModes[m].fMode)); in drawColumn() 143 SkString string(gModes[m].fLabel); in drawColumn() 144 canvas->drawText(gModes[m].fLabel, string.size(), 0, y, paint); in drawColumn()
|
D | hairmodes.cpp | 16 } gModes[] = { variable 100 for (size_t i = 0; i < SK_ARRAY_COUNT(gModes); ++i) { in onDraw() 106 SkXfermode* mode = SkXfermode::Create(gModes[i].fMode); in onDraw()
|
D | aarectmodes.cpp | 64 } gModes[] = { variable 155 for (size_t i = 0; i < SK_ARRAY_COUNT(gModes); ++i) { in onDraw() 161 SkXfermode* mode = SkXfermode::Create(gModes[i].fMode); in onDraw()
|
D | xfermodeimagefilter.cpp | 54 } gModes[] = { in onDraw() local 89 for (size_t i = 0; i < SK_ARRAY_COUNT(gModes); i++) { in onDraw() 90 SkAutoTUnref<SkXfermode> mode(SkXfermode::Create(gModes[i].fMode)); in onDraw()
|
/external/skia/samplecode/ |
D | SampleTiling.cpp | 93 …static const SkShader::TileMode gModes[] = { SkShader::kClamp_TileMode, SkShader::kRepeat_TileMode… in onDrawContent() local 106 for (size_t kx = 0; kx < SK_ARRAY_COUNT(gModes); kx++) { in onDrawContent() 107 for (size_t ky = 0; ky < SK_ARRAY_COUNT(gModes); ky++) { in onDrawContent() 128 for (size_t kx = 0; kx < SK_ARRAY_COUNT(gModes); kx++) { in onDrawContent() 129 for (size_t ky = 0; ky < SK_ARRAY_COUNT(gModes); ky++) { in onDrawContent() 131 setup(&paint, fTexture[i], gFilters[j], gModes[kx], gModes[ky]); in onDrawContent()
|
D | SampleXfermodesBlur.cpp | 122 } gModes[] = { in onDrawContent() local 170 for (size_t i = 0; i < SK_ARRAY_COUNT(gModes); i++) { in onDrawContent() 171 SkXfermode* mode = SkXfermode::Create(gModes[i].fMode); in onDrawContent() 190 canvas->drawText(gModes[i].fLabel, strlen(gModes[i].fLabel), in onDrawContent()
|
D | SampleXfer.cpp | 23 } gModes[] = { variable 34 const int N_Modes = SK_ARRAY_COUNT(gModes); 164 SkAutoTUnref<SkView> v(new PushButtonWig(gModes[i].fName, gModes[i].fMode)); in addButtons() 213 if (fSelected->fMode == gModes[i].fMode) { in onDrawContent()
|
D | SampleAARectModes.cpp | 18 } gModes[] = { variable 106 for (size_t i = 0; i < SK_ARRAY_COUNT(gModes); ++i) { in onDrawContent() 112 SkXfermode* mode = SkXfermode::Create(gModes[i].fMode); in onDrawContent()
|
D | SampleHairModes.cpp | 18 } gModes[] = { variable 104 for (size_t i = 0; i < SK_ARRAY_COUNT(gModes); ++i) { in onDrawContent() 110 SkXfermode* mode = SkXfermode::Create(gModes[i].fMode); in onDrawContent()
|
D | SampleColorFilter.cpp | 160 static const SkXfermode::Mode gModes[] = { in onDrawContent() local 190 for (size_t x = 0; x < SK_ARRAY_COUNT(gModes); x++) { in onDrawContent() 191 SkColorFilter* cf = SkColorFilter::CreateModeFilter(gColors[y], gModes[x]); in onDrawContent()
|