Searched refs:MakeFromFile (Results 1 – 25 of 62) sorted by relevance
123
71 if (auto stream = SkStream::MakeFromFile(kBenchFile)) { in onPerCanvasPreDraw()123 if (auto stream = SkStream::MakeFromFile(kBenchFile)) { in onPerCanvasPreDraw()
24 if (const auto svgStream = SkStream::MakeFromFile(fPath.c_str())) { in load()
38 std::unique_ptr<SkStream> stream = SkStream::MakeFromFile(path); in read_picture()
63 auto stream = SkStream::MakeFromFile(path.c_str());
97 return SkStream::MakeFromFile(fPath.c_str()); in onOpenStream()272 std::unique_ptr<SkStreamAsset> stream = SkStream::MakeFromFile(path); in onMakeFromFile()
83 return SkStream::MakeFromFile(fPathName.c_str()); in makeStream()190 std::unique_ptr<SkStreamAsset> stream = SkStream::MakeFromFile(pathName.c_str()); in SkFontStyleSet_Android()454 std::unique_ptr<SkStreamAsset> stream = SkStream::MakeFromFile(path); in onMakeFromFile()
54 std::unique_ptr<SkStreamAsset> stream = SkStream::MakeFromFile(filename.c_str()); in load_directory_fonts()
97 return SkStream::MakeFromFile(fPath.c_str()).release(); in onOpenStream()272 std::unique_ptr<SkStreamAsset> stream = SkStream::MakeFromFile(path); in onMakeFromFile()
48 std::unique_ptr<SkStream> stream = SkStream::MakeFromFile(FLAGS_skps[i]); in main()
32 fTypeface = SkTypeface::MakeFromFile("/skimages/samplefont.ttf"); in onOnceBeforeDraw()
71 SkFont font(SkTypeface::MakeFromFile("/skimages/samplefont.ttf")); in onDrawContent()
28 std::unique_ptr<SkStream> stream = SkStream::MakeFromFile(filename); in load()
189 static sk_sp<Animation> MakeFromFile(const char path[]);
42 std::unique_ptr<SkStream> stream = SkStream::MakeFromFile(path); in load_picture()