Home
last modified time | relevance | path

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

/external/skia/tools/viewer/
DSKPSlide.cpp38 std::unique_ptr<SkStream> stream = SkStream::MakeFromFile(path); in read_picture()
/external/skia/src/ports/
DSkFontMgr_custom.cpp79 return SkStream::MakeFromFile(fPath.c_str()).release(); in onOpenStream()
240 std::unique_ptr<SkStreamAsset> stream = SkStream::MakeFromFile(path); in onCreateFromFile()
DSkFontMgr_android.cpp82 return SkStream::MakeFromFile(fPathName.c_str()); in makeStream()
160 std::unique_ptr<SkStreamAsset> stream = SkStream::MakeFromFile(pathName.c_str()); in SkFontStyleSet_Android()
418 std::unique_ptr<SkStreamAsset> stream = SkStream::MakeFromFile(path); in onCreateFromFile()
DSkFontMgr_custom_directory.cpp54 std::unique_ptr<SkStreamAsset> stream = SkStream::MakeFromFile(filename.c_str()); in load_directory_fonts()
DSkFontMgr_FontConfigInterface.cpp258 std::unique_ptr<SkStreamAsset> stream = SkStream::MakeFromFile(path); in onCreateFromFile()
DSkFontMgr_fontconfig.cpp464 return SkStream::MakeFromFile(get_string(fPattern, FC_FILE)).release(); in onOpenStream()
929 return this->createFromStream(SkStream::MakeFromFile(path).release(), ttcIndex); in onCreateFromFile()
DSkFontConfigInterface_direct.cpp693 return SkStream::MakeFromFile(identity.fString.c_str()).release(); in openStream()
DSkFontMgr_win_dw.cpp927 return this->createFromStream(SkStream::MakeFromFile(path).release(), ttcIndex); in onCreateFromFile()
DSkFontHost_win.cpp2467 return this->createFromStream(SkStream::MakeFromFile(path).release(), ttcIndex); in onCreateFromFile()
/external/skia/tools/
Ddump_record.cpp49 std::unique_ptr<SkStream> stream = SkStream::MakeFromFile(FLAGS_skps[i]); in main()
Dget_images_from_skps.cpp134 auto stream = SkStream::MakeFromFile(file.c_str()); in get_images_from_file()
Dusing_skia_and_harfbuzz.cpp206 typeface = SkTypeface::MakeFromFile(font_file.c_str(), 0 /* index */); in main()
/external/skia/samplecode/
DSampleAnimatedText.cpp75 paint.setTypeface(SkTypeface::MakeFromFile("/skimages/samplefont.ttf")); in onDrawContent()
DSampleAnimator.cpp55 std::unique_ptr<SkStream> is = SkStream::MakeFromFile(path); in decodeFile()
DSampleText.cpp124 paint.setTypeface(SkTypeface::MakeFromFile("/skimages/samplefont.ttf")); in onDrawContent()
DClockFaceView.cpp145 fFace = SkTypeface::MakeFromFile("/Users/reed/Downloads/p052024l.pfb"); in ClockFaceView()
/external/skia/tools/lua/
Dlua_pictures.cpp43 std::unique_ptr<SkStream> stream = SkStream::MakeFromFile(path); in load_picture()
/external/skia/include/core/
DSkTypeface.h138 static sk_sp<SkTypeface> MakeFromFile(const char path[], int index = 0);
DSkStream.h47 static std::unique_ptr<SkStreamAsset> MakeFromFile(const char path[]);
/external/skia/src/core/
DSkTypeface.cpp164 sk_sp<SkTypeface> SkTypeface::MakeFromFile(const char path[], int index) { in MakeFromFile() function in SkTypeface
DSkStream.cpp803 std::unique_ptr<SkStreamAsset> SkStream::MakeFromFile(const char path[]) { in MakeFromFile() function in SkStream
/external/skia/dm/
DDMSrcSink.cpp1147 std::unique_ptr<SkStream> stream = SkStream::MakeFromFile(fPath.c_str()); in draw()
1163 std::unique_ptr<SkStream> stream = SkStream::MakeFromFile(fPath.c_str()); in size()
1247 std::unique_ptr<SkStreamAsset> stream = SkStream::MakeFromFile(fPath.c_str()); in MSKPSrc()
1272 std::unique_ptr<SkStreamAsset> stream = SkStream::MakeFromFile(fPath.c_str()); in draw()
/external/skia/tools/skpbench/
Dskpbench.cpp258 std::unique_ptr<SkStream> skpstream(SkStream::MakeFromFile(skpfile)); in main()
/external/skia/tests/
DSerializationTest.cpp359 sk_sp<SkTypeface> typeface(SkTypeface::MakeFromFile(filename.c_str(), 1)); in TestPictureTypefaceSerialization()
/external/skia/bench/
Dnanobench.cpp649 std::unique_ptr<SkStream> stream = SkStream::MakeFromFile(path); in ReadPicture()