Home
last modified time | relevance | path

Searched refs:gNames (Results 1 – 8 of 8) sorted by relevance

/external/skqp/samplecode/
DSampleFilter2.cpp23 static const char* gNames[] = { variable
34 fBitmapCount = SK_ARRAY_COUNT(gNames)*2; in Filter2View()
38 decode_file(gNames[i], &fBitmaps[i]); in Filter2View()
41 decode_file(gNames[i-fBitmapCount/2], &fBitmaps[i], kRGB_565_SkColorType); in Filter2View()
56 str.append(gNames[fCurrIndex]); in onQuery()
/external/skia/tests/
DFontHostTest.cpp174 static const char* const gNames[] = { in test_tables() local
183 for (size_t i = 0; i < SK_ARRAY_COUNT(gNames); ++i) { in test_tables()
184 sk_sp<SkTypeface> face(SkTypeface::MakeFromName(gNames[i], SkFontStyle())); in test_tables()
187 SkDebugf("%s\n", gNames[i]); in test_tables()
/external/skqp/tests/
DFontHostTest.cpp215 static const char* const gNames[] = { in test_tables() local
224 for (size_t i = 0; i < SK_ARRAY_COUNT(gNames); ++i) { in test_tables()
225 sk_sp<SkTypeface> face(SkTypeface::MakeFromName(gNames[i], SkFontStyle())); in test_tables()
228 SkDebugf("%s\n", gNames[i]); in test_tables()
/external/skqp/gm/
Dfontmgr.cpp181 const char* gNames[] = { in onDraw() local
186 for (size_t i = 0; i < SK_ARRAY_COUNT(gNames); ++i) { in onDraw()
187 fset.reset(fFM->matchFamily(gNames[i])); in onDraw()
/external/skqp/bench/
DDashBench.cpp312 static const char* gNames[] = { "hori", "vert", "diag" }; in LineTypeName() local
313 static_assert(kLineTypeCount == SK_ARRAY_COUNT(gNames), "names_wrong_size"); in LineTypeName()
314 return gNames[lt]; in LineTypeName()
/external/skia/gm/
Dfontmgr.cpp177 const char* gNames[] = { in onDraw() local
182 for (size_t i = 0; i < SK_ARRAY_COUNT(gNames); ++i) { in onDraw()
183 fset.reset(fFM->matchFamily(gNames[i])); in onDraw()
/external/skia/bench/
DDashBench.cpp310 static const char* gNames[] = { "hori", "vert", "diag" }; in LineTypeName() local
311 static_assert(kLineTypeCount == SK_ARRAY_COUNT(gNames), "names_wrong_size"); in LineTypeName()
312 return gNames[lt]; in LineTypeName()
/external/skqp/src/utils/
DSkLua.cpp1023 static const char* gNames[] = { "clamp", "repeat", "mirror" }; in mode2string() local
1024 SkASSERT((unsigned)mode < SK_ARRAY_COUNT(gNames)); in mode2string()
1025 return gNames[mode]; in mode2string()
1029 static const char* gNames[] = { in gradtype2string() local
1032 SkASSERT((unsigned)t < SK_ARRAY_COUNT(gNames)); in gradtype2string()
1033 return gNames[t]; in gradtype2string()