Home
last modified time | relevance | path

Searched refs:MakeFromFile (Results 1 – 25 of 73) sorted by relevance

123

/third_party/flutter/engine/flutter/third_party/txt/tests/
Dtxt_test_utils.cc72 SkTypeface::MakeFromFile(file_path.str().c_str())); in RegisterFontsFromPath()
103 SkTypeface::MakeFromFile(file_path.str().c_str())); in RegisterFontsFromPath()
/third_party/skia/bench/
DJSONBench.cpp71 if (auto stream = SkStream::MakeFromFile(kBenchFile)) { in onPerCanvasPreDraw()
123 if (auto stream = SkStream::MakeFromFile(kBenchFile)) { in onPerCanvasPreDraw()
/third_party/flutter/skia/bench/
DJSONBench.cpp71 if (auto stream = SkStream::MakeFromFile(kBenchFile)) { in onPerCanvasPreDraw()
123 if (auto stream = SkStream::MakeFromFile(kBenchFile)) { in onPerCanvasPreDraw()
/third_party/flutter/skia/src/ports/skia_ohos/
DSkTypeface_ohos.cpp45 fontInfo->stream = SkStream::MakeFromFile(fontInfo->fname.c_str()); in onOpenStream()
64 fontInfo->stream = SkStream::MakeFromFile(fontInfo->fname.c_str()); in onMakeFontData()
/third_party/flutter/skia/tools/viewer/
DSvgSlide.cpp24 if (const auto svgStream = SkStream::MakeFromFile(fPath.c_str())) { in load()
DSKPSlide.cpp37 std::unique_ptr<SkStream> stream = SkStream::MakeFromFile(path); in read_picture()
/third_party/flutter/skia/gm/
Dvideo_decoder.cpp30 if (!fDecoder.loadStream(SkStream::MakeFromFile("/skia/ice.mp4"))) { in onOnceBeforeDraw()
Dencode.cpp69 auto stream = SkStream::MakeFromFile(path.c_str());
/third_party/skia/gm/
Dvideo_decoder.cpp30 if (!fDecoder.loadStream(SkStream::MakeFromFile("/skia/ice.mp4"))) { in onOnceBeforeDraw()
Dencode.cpp69 auto stream = SkStream::MakeFromFile(path.c_str());
/third_party/skia/tools/viewer/
DSvgSlide.cpp26 auto stream = SkStream::MakeFromFile(fPath.c_str()); in load()
DSKPSlide.cpp15 : SKPSlide(name, SkStream::MakeFromFile(path.c_str())) { in SKPSlide()
/third_party/flutter/skia/samplecode/
DSampleFlutterAnimate.cpp31 fTypeface = SkTypeface::MakeFromFile("/skimages/samplefont.ttf"); in onOnceBeforeDraw()
DSampleAnimatedText.cpp61 SkFont font(SkTypeface::MakeFromFile("/skimages/samplefont.ttf")); in onDrawContent()
/third_party/skia/samplecode/
DSampleFlutterAnimate.cpp27 fTypeface = SkTypeface::MakeFromFile("/skimages/samplefont.ttf"); in onOnceBeforeDraw()
DSampleAnimatedText.cpp62 SkFont font(SkTypeface::MakeFromFile("/skimages/samplefont.ttf")); in onDrawContent()
/third_party/flutter/skia/tools/
Ddump_record.cpp49 std::unique_ptr<SkStream> stream = SkStream::MakeFromFile(FLAGS_skps[i]); in main()
/third_party/flutter/skia/tools/skpbench/
Dskpbench.cpp158 static std::unique_ptr<MultiFrameSkp> MakeFromFile(const SkString& path) { in MakeFromFile() function in MultiFrameSkp
160 std::unique_ptr<SkStreamAsset> stream = SkStream::MakeFromFile(path.c_str()); in MakeFromFile()
435 std::unique_ptr<SkStream> srcstream(SkStream::MakeFromFile(srcfile.c_str())); in main()
442 mskp = MultiFrameSkp::MakeFromFile(srcfile); in main()
/third_party/flutter/skia/src/ports/
DSkFontMgr_custom.cpp97 return SkStream::MakeFromFile(fPath.c_str()); in onOpenStream()
272 std::unique_ptr<SkStreamAsset> stream = SkStream::MakeFromFile(path); in onMakeFromFile()
DSkFontMgr_preview.h82 return SkStream::MakeFromFile(fPathName.c_str()); in makeStream()
196 std::unique_ptr<SkStreamAsset> stream = SkStream::MakeFromFile(pathName.c_str()); in SkFontStyleSet_Preview()
DSkFontMgr_custom_directory.cpp54 std::unique_ptr<SkStreamAsset> stream = SkStream::MakeFromFile(filename.c_str()); in load_directory_fonts()
/third_party/skia/src/ports/
DSkFontMgr_custom.cpp98 return SkStream::MakeFromFile(fPath.c_str()); in onOpenStream()
258 std::unique_ptr<SkStreamAsset> stream = SkStream::MakeFromFile(path); in onMakeFromFile()
/third_party/flutter/skia/tools/mdbviz/
DModel.cpp28 std::unique_ptr<SkStream> stream = SkStream::MakeFromFile(filename); in load()
/third_party/skia/tools/mdbviz/
DModel.cpp28 std::unique_ptr<SkStream> stream = SkStream::MakeFromFile(filename); in load()
/third_party/skia/tools/skpbench/
Dskpbench.cpp169 static std::unique_ptr<MultiFrameSkp> MakeFromFile(const SkString& path) { in MakeFromFile() function in MultiFrameSkp
171 std::unique_ptr<SkStreamAsset> stream = SkStream::MakeFromFile(path.c_str()); in MakeFromFile()
524 std::unique_ptr<SkStream> srcstream(SkStream::MakeFromFile(srcfile.c_str())); in main()
531 mskp = MultiFrameSkp::MakeFromFile(srcfile); in main()

123