Home
last modified time | relevance | path

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

/external/skia/tools/
DResources.cpp23 SkString GetResourcePath(const char* resource) { in GetResourcePath() function
33 auto path = GetResourcePath(resource); in GetResourceAsStream()
45 : SkData::MakeFromFileName(GetResourcePath(resource).c_str())) { in GetResourceAsData()
48 SkDebugf("Resource \"%s\" not found.\n", GetResourcePath(resource).c_str()); in GetResourceAsData()
DResources.h20 SkString GetResourcePath(const char* resource = "");
/external/skia/tests/
DFontMgrAndroidParserTest.cpp222 GetResourcePath("android_fonts/pre_v17/system_fonts.xml").c_str(), in DEF_TEST_SCANNERS()
223 GetResourcePath("android_fonts/pre_v17/fallback_fonts.xml").c_str()); in DEF_TEST_SCANNERS()
243 GetResourcePath("android_fonts/v17/system_fonts.xml").c_str(), in DEF_TEST_SCANNERS()
244 GetResourcePath("android_fonts/v17/fallback_fonts.xml").c_str(), in DEF_TEST_SCANNERS()
245 GetResourcePath("android_fonts/v17").c_str()); in DEF_TEST_SCANNERS()
265 GetResourcePath("android_fonts/v22/fonts.xml").c_str(), in DEF_TEST_SCANNERS()
289 SkString basePath = GetResourcePath("fonts/"); in DEF_TEST_SCANNERS()
290 SkString fontsXml = GetResourcePath(fontsXmlFilename); in DEF_TEST_SCANNERS()
325 SkString basePath = GetResourcePath("fonts/"); in DEF_TEST_SCANNERS()
326 SkString fontsXml = GetResourcePath(fontsXmlFilename); in DEF_TEST_SCANNERS()
[all …]
DFontMgrFontConfigTest.cpp63 FcConfigSetSysRoot(config, reinterpret_cast<const FcChar8*>(GetResourcePath("").c_str())); in build_fontconfig_with_fontfile()
75 SkString path = GetResourcePath(""); in build_fontconfig_from_resources()
178 SkString filePath = GetResourcePath("fonts/Roboto-Regular.ttf"); in testAllBold()
210 SkString dataPath = GetResourcePath("/fonts/data.png"); in testAllBold()
217 SkString matchPath = GetResourcePath("/fonts/match.png"); in testAllBold()
286 SkString dataPath = GetResourcePath("/fonts/data.png"); in DEF_TEST_DISABLED()
293 SkString matchPath = GetResourcePath("/fonts/match.png"); in DEF_TEST_DISABLED()
DAndroidCodecTest.cpp42 if (GetResourcePath().isEmpty()) { in DEF_TEST()
136 if (GetResourcePath().isEmpty()) { in DEF_TEST()
166 if (GetResourcePath().isEmpty()) { in DEF_TEST()
205 if (GetResourcePath().isEmpty()) { in DEF_TEST()
241 if (GetResourcePath().isEmpty()) { in DEF_TEST()
DAnimatedImageTest.cpp36 if (GetResourcePath().isEmpty()) { in DEF_TEST()
55 if (GetResourcePath().isEmpty()) { in DEF_TEST()
90 if (GetResourcePath().isEmpty()) { in DEF_TEST()
150 if (GetResourcePath().isEmpty()) { in DEF_TEST()
219 if (GetResourcePath().isEmpty()) { in DEF_TEST()
290 if (GetResourcePath().isEmpty()) { in DEF_TEST()
DFontScanner.cpp19 SkString name = GetResourcePath("fonts/Variable.ttf"); in FontScanner_VariableFont()
74 SkString name = GetResourcePath("fonts/Variable.ttf"); in FontScanner_NamedInstances1()
142 SkString name = GetResourcePath("fonts/VaryAlongQuads.ttf"); in FontScanner_NamedInstances2()
DFCITest.cpp35 FcConfigSetSysRoot(config, reinterpret_cast<const FcChar8*>(GetResourcePath("").c_str())); in build_fontconfig_with_fontfile()
DSkSLES2ConformanceTest.cpp100 SkString resourceDirectory = GetResourcePath(directory); in iterate_dir()
DSkSLErrorTest.cpp167 SkString resourceDirectory = GetResourcePath(directory); in iterate_dir()
DStreamTest.cpp525 if (GetResourcePath().isEmpty()) { in DEF_TEST()
529 SkString filename = GetResourcePath("images/baby_tux.png"); in DEF_TEST()
DCodecTest.cpp846 if (GetResourcePath().isEmpty()) { in DEF_TEST()
1879 if (GetResourcePath().isEmpty()) { in DEF_TEST()
1892 if (GetResourcePath().isEmpty()) { in DEF_TEST()
1928 if (GetResourcePath().isEmpty()) { in DEF_TEST()
1947 if (GetResourcePath().isEmpty()) { in DEF_TEST()
DGifTest.cpp419 if (GetResourcePath().isEmpty()) { in DEF_TEST()
DCodecAnimTest.cpp515 if (GetResourcePath().isEmpty()) { in test_animated_AndroidCodec()
/external/skia/gm/
Dexoticformats.cpp348 sk_sp<SkData> data = load_ktx(GetResourcePath("images/flower-etc1.ktx").c_str(), &info); in loadImages()
363 sk_sp<SkData> data = load_dds(GetResourcePath("images/flower-bc1.dds").c_str(), &info); in loadImages()
/external/skia/tools/skqp/src/
Dskqp_main.cpp34 SkString resourceDirectory = GetResourcePath(directory); in iterateDir()
/external/skia/fuzz/
DFuzzSkParagraph.cpp67 , fResourceDir(GetResourcePath("fonts").c_str()) in ResourceFontCollection()
/external/google-breakpad/src/client/mac/Framework/
DBreakpad.mm309 NSString* GetResourcePath(); function
310 NSString* GetResourcePath() { function
321 if (dladdr((const void*)GetResourcePath, &info) != 0) {
540 resourcePath = GetResourcePath();
/external/skia/modules/skparagraph/slides/
DParagraphSlide.cpp57 fFC = sk_make_sp<TestFontCollection>(GetResourcePath("fonts").c_str(), false, true); in getFontCollection()
1139 …auto fontCollection = sk_make_sp<TestFontCollection>(GetResourcePath("fonts").c_str(), true, true); in draw()
1280 … auto fontCollection = sk_make_sp<TestFontCollection>(GetResourcePath("fonts").c_str(), false); in draw()
1516 …auto fontCollection = sk_make_sp<TestFontCollection>(GetResourcePath("fonts").c_str(), false, true… in draw()
1540 …auto fontCollection = sk_make_sp<TestFontCollection>(GetResourcePath("fonts").c_str(), false, true… in draw()
2552 …auto fontCollection = sk_make_sp<TestFontCollection>(GetResourcePath("fonts").c_str(), true, true); in draw()
2653 std::string fonts = GetResourcePath("fonts/").c_str(); in draw()
3110 … auto fontCollection = sk_make_sp<TestFontCollection>(GetResourcePath("fonts").c_str(), false); in draw()
3246 …auto fontCollection = sk_make_sp<TestFontCollection>(GetResourcePath("fonts").c_str(), true, true); in draw()
3272 …auto fontCollection = sk_make_sp<TestFontCollection>(GetResourcePath("fonts").c_str(), true, true); in draw()
[all …]
/external/skia/tools/viewer/
DSkottieSlide.cpp358 prepareImageAssetList(GetResourcePath("skottie/images").c_str()); in initializeSlotManagerUI()
DViewer.cpp3214 GetResourcePath().c_str(), in dumpShadersToResources()
/external/skia/dm/
DDM.cpp1425 SkString resources = GetResourcePath(); in WriteToDisk()
/external/skia/modules/skparagraph/tests/
DSkParagraphTest.cpp125 SkString fontResources = GetResourcePath(FLAGS_paragraph_fonts[0]); in getTypefaces()
5842 sk_make_sp<TestFontCollection>(GetResourcePath("fonts").c_str(), false); in UNIX_ONLY_TEST()
5906 …sk_sp<TestFontCollection> fontCollection = sk_make_sp<TestFontCollection>(GetResourcePath("fonts")… in UNIX_ONLY_TEST()
5945 sk_make_sp<TestFontCollection>(GetResourcePath("fonts").c_str(), true); in UNIX_ONLY_TEST()