Home
last modified time | relevance | path

Searched refs:GetResourcePath (Results 1 – 25 of 38) sorted by relevance

12

/third_party/flutter/skia/tests/
DFontMgrAndroidParserTest.cpp184 GetResourcePath("android_fonts/pre_v17/system_fonts.xml").c_str(), in DEF_TEST()
185 GetResourcePath("android_fonts/pre_v17/fallback_fonts.xml").c_str()); in DEF_TEST()
202 GetResourcePath("android_fonts/v17/system_fonts.xml").c_str(), in DEF_TEST()
203 GetResourcePath("android_fonts/v17/fallback_fonts.xml").c_str(), in DEF_TEST()
204 GetResourcePath("android_fonts/v17").c_str()); in DEF_TEST()
221 GetResourcePath("android_fonts/v22/fonts.xml").c_str(), in DEF_TEST()
242 SkString basePath = GetResourcePath("fonts/"); in DEF_TEST()
243 SkString fontsXml = GetResourcePath(fontsXmlFilename); in DEF_TEST()
277 SkString basePath = GetResourcePath("fonts/"); in DEF_TEST()
278 SkString fontsXml = GetResourcePath(fontsXmlFilename); in DEF_TEST()
[all …]
DAndroidCodecTest.cpp45 if (GetResourcePath().isEmpty()) { in DEF_TEST()
139 if (GetResourcePath().isEmpty()) { in DEF_TEST()
168 if (GetResourcePath().isEmpty()) { in DEF_TEST()
207 if (GetResourcePath().isEmpty()) { in DEF_TEST()
273 if (GetResourcePath().isEmpty()) { in DEF_TEST()
DAnimatedImageTest.cpp33 if (GetResourcePath().isEmpty()) { in DEF_TEST()
102 if (GetResourcePath().isEmpty()) { in DEF_TEST()
173 if (GetResourcePath().isEmpty()) { in DEF_TEST()
DFontMgrFontConfigTest.cpp35 FcConfigSetSysRoot(config, reinterpret_cast<const FcChar8*>(GetResourcePath("").c_str())); in DEF_TEST()
Dskia_test.cpp179 SkString resourcePath = GetResourcePath(); in main()
DCodecTest.cpp656 if (GetResourcePath().isEmpty()) { in DEF_TEST()
1630 if (GetResourcePath().isEmpty()) { in DEF_TEST()
1690 if (GetResourcePath().isEmpty()) { in DEF_TEST()
1726 if (GetResourcePath().isEmpty()) { in DEF_TEST()
1745 if (GetResourcePath().isEmpty()) { in DEF_TEST()
/third_party/skia/tests/
DFontMgrAndroidParserTest.cpp183 GetResourcePath("android_fonts/pre_v17/system_fonts.xml").c_str(), in DEF_TEST()
184 GetResourcePath("android_fonts/pre_v17/fallback_fonts.xml").c_str()); in DEF_TEST()
201 GetResourcePath("android_fonts/v17/system_fonts.xml").c_str(), in DEF_TEST()
202 GetResourcePath("android_fonts/v17/fallback_fonts.xml").c_str(), in DEF_TEST()
203 GetResourcePath("android_fonts/v17").c_str()); in DEF_TEST()
220 GetResourcePath("android_fonts/v22/fonts.xml").c_str(), in DEF_TEST()
241 SkString basePath = GetResourcePath("fonts/"); in DEF_TEST()
242 SkString fontsXml = GetResourcePath(fontsXmlFilename); in DEF_TEST()
276 SkString basePath = GetResourcePath("fonts/"); in DEF_TEST()
277 SkString fontsXml = GetResourcePath(fontsXmlFilename); in DEF_TEST()
[all …]
DAnimatedImageTest.cpp33 if (GetResourcePath().isEmpty()) { in DEF_TEST()
52 if (GetResourcePath().isEmpty()) { in DEF_TEST()
87 if (GetResourcePath().isEmpty()) { in DEF_TEST()
147 if (GetResourcePath().isEmpty()) { in DEF_TEST()
216 if (GetResourcePath().isEmpty()) { in DEF_TEST()
287 if (GetResourcePath().isEmpty()) { in DEF_TEST()
DAndroidCodecTest.cpp45 if (GetResourcePath().isEmpty()) { in DEF_TEST()
139 if (GetResourcePath().isEmpty()) { in DEF_TEST()
168 if (GetResourcePath().isEmpty()) { in DEF_TEST()
DFontMgrFontConfigTest.cpp36 FcConfigSetSysRoot(config, reinterpret_cast<const FcChar8*>(GetResourcePath("").c_str())); in DEF_TEST()
DSkSLES2ConformanceTest.cpp97 SkString resourceDirectory = GetResourcePath(directory); in iterate_dir()
Dskia_test.cpp182 SkString resourcePath = GetResourcePath(); in main()
DCodecTest.cpp706 if (GetResourcePath().isEmpty()) { in DEF_TEST()
1680 if (GetResourcePath().isEmpty()) { in DEF_TEST()
1740 if (GetResourcePath().isEmpty()) { in DEF_TEST()
1776 if (GetResourcePath().isEmpty()) { in DEF_TEST()
1795 if (GetResourcePath().isEmpty()) { in DEF_TEST()
/third_party/skia/tools/
DResources.cpp25 SkString GetResourcePath(const char* resource) { in GetResourcePath() function
48 : SkData::MakeFromFileName(GetResourcePath(resource).c_str())) { in GetResourceAsData()
51 SkDebugf("Resource \"%s\" not found.\n", GetResourcePath(resource).c_str()); in GetResourceAsData()
DResources.h19 SkString GetResourcePath(const char* resource = "");
/third_party/flutter/skia/tools/
DResources.cpp25 SkString GetResourcePath(const char* resource) { in GetResourcePath() function
48 : SkData::MakeFromFileName(GetResourcePath(resource).c_str())) { in GetResourceAsData()
51 SkDebugf("Resource \"%s\" not found.\n", GetResourcePath(resource).c_str()); in GetResourceAsData()
DResources.h19 SkString GetResourcePath(const char* resource = "");
/third_party/skia/gm/
Dparticles.cpp49 auto resourceProvider = skresources::FileResourceProvider::Make(GetResourcePath()); in onOnceBeforeDraw()
Dexoticformats.cpp347 sk_sp<SkData> data = load_ktx(GetResourcePath("images/flower-etc1.ktx").c_str(), &info); in loadImages()
362 sk_sp<SkData> data = load_dds(GetResourcePath("images/flower-bc1.dds").c_str(), &info); in loadImages()
/third_party/flutter/skia/tools/viewer/
DParticlesSlide.cpp231 this->loadEffects(GetResourcePath("particles").c_str()); in load()
245 static SkString dirname = GetResourcePath("particles"); in draw()
/third_party/flutter/skia/samplecode/
DSampleLua.cpp44 SkString str = GetResourcePath("images/mandrill_256.png"); in setImageFilename()
DSampleUnpremul.cpp166 DEF_SAMPLE( return new UnpremulView(GetResourcePath("images")); )
/third_party/skia/tools/viewer/
DParticlesSlide.cpp235 this->loadEffects(GetResourcePath("particles").c_str()); in load()
246 static SkString dirname = GetResourcePath("particles"); in draw()
/third_party/skia/fuzz/
DFuzzSkParagraph.cpp69 , fResourceDir(GetResourcePath("fonts").c_str()) in ResourceFontCollection()
/third_party/skia/modules/skparagraph/samples/
DSampleParagraph.cpp41 fFC = sk_make_sp<TestFontCollection>(GetResourcePath("fonts").c_str(), false, true); in getFontCollection()
1267 …auto fontCollection = sk_make_sp<TestFontCollection>(GetResourcePath("fonts").c_str(), true, true); in onDrawContent()
1417 … auto fontCollection = sk_make_sp<TestFontCollection>(GetResourcePath("fonts").c_str(), false); in onDrawContent()
1663 …auto fontCollection = sk_make_sp<TestFontCollection>(GetResourcePath("fonts").c_str(), false, true… in onDrawContent()
1690 …auto fontCollection = sk_make_sp<TestFontCollection>(GetResourcePath("fonts").c_str(), false, true… in onDrawContent()
2760 …auto fontCollection = sk_make_sp<TestFontCollection>(GetResourcePath("fonts").c_str(), true, true); in onDrawContent()
2870 std::string fonts = GetResourcePath("fonts/").c_str(); in onDrawContent()
3363 … auto fontCollection = sk_make_sp<TestFontCollection>(GetResourcePath("fonts").c_str(), false); in onDrawContent()
3511 …auto fontCollection = sk_make_sp<TestFontCollection>(GetResourcePath("fonts").c_str(), true, true); in onDrawContent()
3540 …auto fontCollection = sk_make_sp<TestFontCollection>(GetResourcePath("fonts").c_str(), true, true); in onDrawContent()

12