Searched refs:gNames (Results 1 – 10 of 10) sorted by relevance
/external/skia/samplecode/ |
D | SampleFilter2.cpp | 23 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/ |
D | SampleFilter2.cpp | 23 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/ |
D | FontHostTest.cpp | 215 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/ |
D | FontHostTest.cpp | 215 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/ |
D | fontmgr.cpp | 178 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/ |
D | fontmgr.cpp | 181 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/ |
D | DashBench.cpp | 312 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/ |
D | DashBench.cpp | 312 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/ |
D | SkLua.cpp | 1023 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/ |
D | SkLua.cpp | 1023 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()
|