Home
last modified time | relevance | path

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

12

/external/skqp/src/core/
DSkFontDescriptor.h16 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;
DSkTypeface.cpp164 sk_sp<SkTypeface> SkTypeface::MakeFromFontData(std::unique_ptr<SkFontData> data) { in MakeFromFontData()
223 std::unique_ptr<SkFontData> data = desc.detachFontData(); in MakeDeserialize()
274 std::unique_ptr<SkFontData> SkTypeface::makeFontData() const { in makeFontData()
279 std::unique_ptr<SkFontData> SkTypeface::onMakeFontData() const { in onMakeFontData()
285 return skstd::make_unique<SkFontData>(std::move(stream), index, nullptr, 0); in onMakeFontData()
DSkFontMgr.cpp76 sk_sp<SkTypeface> onMakeFromFontData(std::unique_ptr<SkFontData>) const override { in onMakeFromFontData()
149 sk_sp<SkTypeface> SkFontMgr::makeFromFontData(std::unique_ptr<SkFontData> data) const { in makeFromFontData()
171 sk_sp<SkTypeface> SkFontMgr::onMakeFromFontData(std::unique_ptr<SkFontData> data) const { in onMakeFromFontData()
/external/skia/src/core/
DSkFontDescriptor.h16 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;
DSkTypeface.cpp164 sk_sp<SkTypeface> SkTypeface::MakeFromFontData(std::unique_ptr<SkFontData> data) { in MakeFromFontData()
223 std::unique_ptr<SkFontData> data = desc.detachFontData(); in MakeDeserialize()
274 std::unique_ptr<SkFontData> SkTypeface::makeFontData() const { in makeFontData()
279 std::unique_ptr<SkFontData> SkTypeface::onMakeFontData() const { in onMakeFontData()
285 return skstd::make_unique<SkFontData>(std::move(stream), index, nullptr, 0); in onMakeFontData()
DSkFontMgr.cpp76 sk_sp<SkTypeface> onMakeFromFontData(std::unique_ptr<SkFontData>) const override { in onMakeFromFontData()
149 sk_sp<SkTypeface> SkFontMgr::makeFromFontData(std::unique_ptr<SkFontData> data) const { in makeFromFontData()
171 sk_sp<SkTypeface> SkFontMgr::onMakeFromFontData(std::unique_ptr<SkFontData> data) const { in onMakeFromFontData()
/external/skqp/src/ports/
DSkFontConfigTypeface.h23 std::unique_ptr<SkFontData> fFontData;
34 static SkTypeface_FCI* Create(std::unique_ptr<SkFontData> data, in Create()
45 std::unique_ptr<SkFontData> data = this->cloneFontData(args); in onMakeClone()
66 SkTypeface_FCI(std::unique_ptr<SkFontData> data, in SkTypeface_FCI()
79 std::unique_ptr<SkFontData> onMakeFontData() const override;
DSkFontMgr_custom.cpp57 SkTypeface_Stream::SkTypeface_Stream(std::unique_ptr<SkFontData> fontData, in SkTypeface_Stream()
69 std::unique_ptr<SkFontData> SkTypeface_Stream::onMakeFontData() const { in onMakeFontData()
70 return skstd::make_unique<SkFontData>(*fData); in onMakeFontData()
74 std::unique_ptr<SkFontData> data = this->cloneFontData(args); in onMakeClone()
101 std::unique_ptr<SkFontData> data = this->cloneFontData(args); in onMakeClone()
255 auto data = skstd::make_unique<SkFontData>(std::move(stream), args.getCollectionIndex(), in onMakeFromStreamArgs()
260 sk_sp<SkTypeface> SkFontMgr_Custom::onMakeFromFontData(std::unique_ptr<SkFontData> data) const { in onMakeFromFontData()
DSkFontMgr_android.cpp97 std::unique_ptr<SkFontData> onMakeFontData() const override { in onMakeFontData()
98 return skstd::make_unique<SkFontData>(this->makeStream(), fIndex, in onMakeFontData()
102 std::unique_ptr<SkFontData> data = this->cloneFontData(args); in onMakeClone()
130 SkTypeface_AndroidStream(std::unique_ptr<SkFontData> data, in SkTypeface_AndroidStream()
151 std::unique_ptr<SkFontData> onMakeFontData() const override { in onMakeFontData()
152 return skstd::make_unique<SkFontData>(*fData); in onMakeFontData()
156 std::unique_ptr<SkFontData> data = this->cloneFontData(args); in onMakeClone()
167 const std::unique_ptr<const SkFontData> fData;
466 auto data = skstd::make_unique<SkFontData>(std::move(stream), ttcIndex, nullptr, 0); in onMakeFromStreamIndex()
488 auto data = skstd::make_unique<SkFontData>(std::move(stream), args.getCollectionIndex(), in onMakeFromStreamArgs()
[all …]
DSkFontMgr_custom.h62 SkTypeface_Stream(std::unique_ptr<SkFontData> fontData,
68 std::unique_ptr<SkFontData> onMakeFontData() const override;
72 const std::unique_ptr<const SkFontData> fData;
151 sk_sp<SkTypeface> onMakeFromFontData(std::unique_ptr<SkFontData> data) const override;
DSkFontMgr_FontConfigInterface.cpp36 std::unique_ptr<SkFontData> SkTypeface_FCI::onMakeFontData() const { in onMakeFontData()
38 return skstd::make_unique<SkFontData>(*fFontData); in onMakeFontData()
42 return skstd::make_unique<SkFontData>(std::unique_ptr<SkStreamAsset>(fFCI->openStream(id)), in onMakeFontData()
252 auto fontData = skstd::make_unique<SkFontData>(std::move(stream), ttcIndex, nullptr, 0); in onMakeFromStreamIndex()
282 auto fontData = skstd::make_unique<SkFontData>(std::move(stream), in onMakeFromStreamArgs()
DSkFontMgr_fontconfig.cpp423 SkTypeface_stream(std::unique_ptr<SkFontData> data, in SkTypeface_stream()
443 std::unique_ptr<SkFontData> onMakeFontData() const override { in onMakeFontData()
444 return skstd::make_unique<SkFontData>(*fData); in onMakeFontData()
448 std::unique_ptr<SkFontData> data = this->cloneFontData(args); in onMakeClone()
460 const std::unique_ptr<const SkFontData> fData;
529 std::unique_ptr<SkFontData> data = this->cloneFontData(args); in onMakeClone()
940 auto data = skstd::make_unique<SkFontData>(std::move(stream), ttcIndex, nullptr, 0); in onMakeFromStreamIndex()
962 auto data = skstd::make_unique<SkFontData>(std::move(stream), args.getCollectionIndex(), in onMakeFromStreamArgs()
976 sk_sp<SkTypeface> onMakeFromFontData(std::unique_ptr<SkFontData> fontData) const override { in onMakeFromFontData()
DSkFontMgr_custom_embedded.cpp75 auto data = skstd::make_unique<SkFontData>(std::move(stream), faceIndex, nullptr, 0); in load_embedded_font()
/external/skia/src/ports/
DSkFontConfigTypeface.h23 std::unique_ptr<SkFontData> fFontData;
34 static SkTypeface_FCI* Create(std::unique_ptr<SkFontData> data, in Create()
45 std::unique_ptr<SkFontData> data = this->cloneFontData(args); in onMakeClone()
66 SkTypeface_FCI(std::unique_ptr<SkFontData> data, in SkTypeface_FCI()
79 std::unique_ptr<SkFontData> onMakeFontData() const override;
DSkFontMgr_custom.cpp57 SkTypeface_Stream::SkTypeface_Stream(std::unique_ptr<SkFontData> fontData, in SkTypeface_Stream()
69 std::unique_ptr<SkFontData> SkTypeface_Stream::onMakeFontData() const { in onMakeFontData()
70 return skstd::make_unique<SkFontData>(*fData); in onMakeFontData()
74 std::unique_ptr<SkFontData> data = this->cloneFontData(args); in onMakeClone()
101 std::unique_ptr<SkFontData> data = this->cloneFontData(args); in onMakeClone()
255 auto data = skstd::make_unique<SkFontData>(std::move(stream), args.getCollectionIndex(), in onMakeFromStreamArgs()
260 sk_sp<SkTypeface> SkFontMgr_Custom::onMakeFromFontData(std::unique_ptr<SkFontData> data) const { in onMakeFromFontData()
DSkFontMgr_android.cpp97 std::unique_ptr<SkFontData> onMakeFontData() const override { in onMakeFontData()
98 return skstd::make_unique<SkFontData>(this->makeStream(), fIndex, in onMakeFontData()
102 std::unique_ptr<SkFontData> data = this->cloneFontData(args); in onMakeClone()
130 SkTypeface_AndroidStream(std::unique_ptr<SkFontData> data, in SkTypeface_AndroidStream()
151 std::unique_ptr<SkFontData> onMakeFontData() const override { in onMakeFontData()
152 return skstd::make_unique<SkFontData>(*fData); in onMakeFontData()
156 std::unique_ptr<SkFontData> data = this->cloneFontData(args); in onMakeClone()
167 const std::unique_ptr<const SkFontData> fData;
466 auto data = skstd::make_unique<SkFontData>(std::move(stream), ttcIndex, nullptr, 0); in onMakeFromStreamIndex()
488 auto data = skstd::make_unique<SkFontData>(std::move(stream), args.getCollectionIndex(), in onMakeFromStreamArgs()
[all …]
DSkFontMgr_custom.h62 SkTypeface_Stream(std::unique_ptr<SkFontData> fontData,
68 std::unique_ptr<SkFontData> onMakeFontData() const override;
72 const std::unique_ptr<const SkFontData> fData;
151 sk_sp<SkTypeface> onMakeFromFontData(std::unique_ptr<SkFontData> data) const override;
DSkFontMgr_FontConfigInterface.cpp36 std::unique_ptr<SkFontData> SkTypeface_FCI::onMakeFontData() const { in onMakeFontData()
38 return skstd::make_unique<SkFontData>(*fFontData); in onMakeFontData()
42 return skstd::make_unique<SkFontData>(std::unique_ptr<SkStreamAsset>(fFCI->openStream(id)), in onMakeFontData()
251 auto fontData = skstd::make_unique<SkFontData>(std::move(stream), ttcIndex, nullptr, 0); in onMakeFromStreamIndex()
281 auto fontData = skstd::make_unique<SkFontData>(std::move(stream), in onMakeFromStreamArgs()
DSkFontMgr_fontconfig.cpp422 SkTypeface_stream(std::unique_ptr<SkFontData> data, in SkTypeface_stream()
442 std::unique_ptr<SkFontData> onMakeFontData() const override { in onMakeFontData()
443 return skstd::make_unique<SkFontData>(*fData); in onMakeFontData()
447 std::unique_ptr<SkFontData> data = this->cloneFontData(args); in onMakeClone()
459 const std::unique_ptr<const SkFontData> fData;
532 std::unique_ptr<SkFontData> data = this->cloneFontData(args); in onMakeClone()
939 auto data = skstd::make_unique<SkFontData>(std::move(stream), ttcIndex, nullptr, 0); in onMakeFromStreamIndex()
961 auto data = skstd::make_unique<SkFontData>(std::move(stream), args.getCollectionIndex(), in onMakeFromStreamArgs()
975 sk_sp<SkTypeface> onMakeFromFontData(std::unique_ptr<SkFontData> fontData) const override { in onMakeFromFontData()
/external/skia/include/core/
DSkFontMgr.h17 class SkFontData; variable
114 sk_sp<SkTypeface> makeFromFontData(std::unique_ptr<SkFontData>) const;
150 virtual sk_sp<SkTypeface> onMakeFromFontData(std::unique_ptr<SkFontData>) const;
DSkTypeface.h22 class SkFontData; variable
140 static sk_sp<SkTypeface> MakeFromFontData(std::unique_ptr<SkFontData>);
322 std::unique_ptr<SkFontData> makeFontData() const;
385 virtual std::unique_ptr<SkFontData> onMakeFontData() const;
/external/skqp/include/core/
DSkFontMgr.h17 class SkFontData; variable
114 sk_sp<SkTypeface> makeFromFontData(std::unique_ptr<SkFontData>) const;
150 virtual sk_sp<SkTypeface> onMakeFromFontData(std::unique_ptr<SkFontData>) const;
DSkTypeface.h22 class SkFontData; variable
140 static sk_sp<SkTypeface> MakeFromFontData(std::unique_ptr<SkFontData>);
322 std::unique_ptr<SkFontData> makeFontData() const;
385 virtual std::unique_ptr<SkFontData> onMakeFontData() const;
/external/skia/src/utils/
DSkWhitelistTypefaces.cpp66 std::unique_ptr<SkFontData> fontData = tf->makeFontData(); in compute_checksum()
193 std::unique_ptr<SkFontData> data = desc.detachFontData(); in WhitelistDeserializeTypeface()
/external/skqp/src/utils/
DSkWhitelistTypefaces.cpp66 std::unique_ptr<SkFontData> fontData = tf->makeFontData(); in compute_checksum()
193 std::unique_ptr<SkFontData> data = desc.detachFontData(); in WhitelistDeserializeTypeface()

12