Home
last modified time | relevance | path

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

/external/skia/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/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.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/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/skia/gm/
Dfontmgr.cpp178 const char* gNames[] = { in onDraw() local
183 for (size_t i = 0; i < SK_ARRAY_COUNT(gNames); ++i) { in onDraw()
184 fset.reset(fFM->matchFamily(gNames[i])); in onDraw()
/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/skia/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/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/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()
/external/skia/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()