/external/skia/src/core/ |
D | SkFontDescriptor.h | 16 class SkFontData { 19 SkFontData(std::unique_ptr<SkStreamAsset> stream, int index, const SkFixed axis[],int axisCount) in SkFontData() function 26 SkFontData(const SkFontData& that) in SkFontData() function 66 std::unique_ptr<SkFontData> detachFontData() { return std::move(fFontData); } in detachFontData() 72 void setFontData(std::unique_ptr<SkFontData> data) { fFontData = std::move(data); } in setFontData() 78 std::unique_ptr<SkFontData> fFontData;
|
D | SkTypeface.cpp | 159 sk_sp<SkTypeface> SkTypeface::MakeFromFontData(std::unique_ptr<SkFontData> data) { in MakeFromFontData() 197 std::unique_ptr<SkFontData> data = desc.detachFontData(); in MakeDeserialize() 242 std::unique_ptr<SkFontData> SkTypeface::makeFontData() const { in makeFontData() 247 std::unique_ptr<SkFontData> SkTypeface::onMakeFontData() const { in onMakeFontData() 250 return skstd::make_unique<SkFontData>(std::move(stream), index, nullptr, 0); in onMakeFontData()
|
D | SkFontMgr.cpp | 142 SkTypeface* SkFontMgr::createFromFontData(std::unique_ptr<SkFontData> data) const { in createFromFontData() 155 SkTypeface* SkFontMgr::onCreateFromFontData(std::unique_ptr<SkFontData> data) const { in onCreateFromFontData()
|
D | SkFontDescriptor.cpp | 110 result->fFontData = skstd::make_unique<SkFontData>( in Deserialize()
|
/external/skia/src/ports/ |
D | SkFontConfigTypeface.h | 20 std::unique_ptr<SkFontData> fFontData; 31 static SkTypeface_FCI* Create(std::unique_ptr<SkFontData> data, in Create() 52 SkTypeface_FCI(std::unique_ptr<SkFontData> data, in SkTypeface_FCI() 65 std::unique_ptr<SkFontData> onMakeFontData() const override;
|
D | SkFontMgr_custom.h | 61 SkTypeface_Stream(std::unique_ptr<SkFontData> fontData, 67 std::unique_ptr<SkFontData> onMakeFontData() const override; 70 const std::unique_ptr<const SkFontData> fData; 148 SkTypeface* onCreateFromFontData(std::unique_ptr<SkFontData> data) const override;
|
D | SkFontMgr_android.cpp | 96 std::unique_ptr<SkFontData> onMakeFontData() const override { in onMakeFontData() 97 return skstd::make_unique<SkFontData>(this->makeStream(), fIndex, in onMakeFontData() 113 SkTypeface_AndroidStream(std::unique_ptr<SkFontData> data, in SkTypeface_AndroidStream() 134 std::unique_ptr<SkFontData> onMakeFontData() const override { in onMakeFontData() 135 return skstd::make_unique<SkFontData>(*fData); in onMakeFontData() 139 const std::unique_ptr<const SkFontData> fData; 430 auto data = skstd::make_unique<SkFontData>(std::move(stream), ttcIndex, nullptr, 0); in onCreateFromStream() 451 auto data = skstd::make_unique<SkFontData>(std::move(stream), args.getCollectionIndex(), in onCreateFromStream() 456 SkTypeface* onCreateFromFontData(std::unique_ptr<SkFontData> data) const override { in onCreateFromFontData()
|
D | SkFontMgr_custom.cpp | 54 SkTypeface_Stream::SkTypeface_Stream(std::unique_ptr<SkFontData> fontData, in SkTypeface_Stream() 66 std::unique_ptr<SkFontData> SkTypeface_Stream::onMakeFontData() const { in onMakeFontData() 67 return skstd::make_unique<SkFontData>(*fData); in onMakeFontData() 222 auto data = skstd::make_unique<SkFontData>(std::move(stream), args.getCollectionIndex(), in onCreateFromStream() 227 SkTypeface* SkFontMgr_Custom::onCreateFromFontData(std::unique_ptr<SkFontData> data) const { in onCreateFromFontData()
|
D | SkFontMgr_FontConfigInterface.cpp | 35 std::unique_ptr<SkFontData> SkTypeface_FCI::onMakeFontData() const { in onMakeFontData() 37 return skstd::make_unique<SkFontData>(*fFontData); in onMakeFontData() 41 return skstd::make_unique<SkFontData>(std::unique_ptr<SkStreamAsset>(fFCI->openStream(id)), in onMakeFontData() 221 auto fontData = skstd::make_unique<SkFontData>(std::move(stream), ttcIndex, nullptr, 0); in onCreateFromStream() 250 auto fontData = skstd::make_unique<SkFontData>(std::move(stream), in onCreateFromStream()
|
D | SkFontMgr_fontconfig.cpp | 409 SkTypeface_stream(std::unique_ptr<SkFontData> data, in SkTypeface_stream() 429 std::unique_ptr<SkFontData> onMakeFontData() const override { in onMakeFontData() 430 return skstd::make_unique<SkFontData>(*fData); in onMakeFontData() 435 const std::unique_ptr<const SkFontData> fData; 898 auto data = skstd::make_unique<SkFontData>(std::move(stream), ttcIndex, nullptr, 0); in onCreateFromStream() 919 auto data = skstd::make_unique<SkFontData>(std::move(stream), args.getCollectionIndex(), in onCreateFromStream() 932 SkTypeface* onCreateFromFontData(std::unique_ptr<SkFontData> fontData) const override { in onCreateFromFontData()
|
D | SkFontMgr_custom_embedded.cpp | 75 auto data = skstd::make_unique<SkFontData>(std::move(stream), faceIndex, nullptr, 0); in load_embedded_font()
|
D | SkFontHost_mac.cpp | 518 std::unique_ptr<SkFontData> onMakeFontData() const override; 1788 std::unique_ptr<SkFontData> SkTypeface_Mac::onMakeFontData() const { in onMakeFontData() 1795 return skstd::make_unique<SkFontData>(std::move(stream), index, in onMakeFontData() 1798 return skstd::make_unique<SkFontData>(std::move(stream), index, nullptr, 0); in onMakeFontData() 2539 static UniqueCFRef<CFDictionaryRef> copy_axes(CGFontRef cg, SkFontData* fontData) { in copy_axes() 2592 SkTypeface* onCreateFromFontData(std::unique_ptr<SkFontData> fontData) const override { in onCreateFromFontData()
|
D | SkFontHost_FreeType.cpp | 284 static void ft_face_setup_axes(SkFaceRec* rec, const SkFontData& data) { in ft_face_setup_axes() 344 std::unique_ptr<SkFontData> data = typeface->makeFontData(); in ref_ft_face()
|
/external/skia/include/ports/ |
D | SkFontMgr.h | 17 class SkFontData; variable 117 SkTypeface* createFromFontData(std::unique_ptr<SkFontData>) const; 152 virtual SkTypeface* onCreateFromFontData(std::unique_ptr<SkFontData>) const;
|
/external/skia/include/core/ |
D | SkTypeface.h | 20 class SkFontData; variable 149 static sk_sp<SkTypeface> MakeFromFontData(std::unique_ptr<SkFontData>); 298 std::unique_ptr<SkFontData> makeFontData() const; 352 virtual std::unique_ptr<SkFontData> onMakeFontData() const;
|
/external/skia/src/utils/ |
D | SkWhitelistTypefaces.cpp | 66 std::unique_ptr<SkFontData> fontData = tf->makeFontData(); in compute_checksum() 193 std::unique_ptr<SkFontData> data = desc.detachFontData(); in WhitelistDeserializeTypeface()
|
/external/skia/tests/ |
D | SerializationTest.cpp | 375 skstd::make_unique<SkFontData>(std::move(distortable), 0, &axis, 1))); in TestPictureTypefaceSerialization()
|