Searched refs:fFontData (Results 1 – 10 of 10) sorted by relevance
/external/skqp/src/core/ |
D | SkFontDescriptor.cpp | 113 result->fFontData = skstd::make_unique<SkFontData>( in Deserialize() 126 if (fFontData.get()) { in serialize() 127 if (fFontData->getIndex()) { in serialize() 128 write_uint(stream, fFontData->getIndex(), kFontIndex); in serialize() 130 if (fFontData->getAxisCount()) { in serialize() 131 write_uint(stream, fFontData->getAxisCount(), kFontAxes); in serialize() 132 for (int i = 0; i < fFontData->getAxisCount(); ++i) { in serialize() 133 stream->write32(fFontData->getAxis()[i]); in serialize() 140 if (fFontData.get() && fFontData->hasStream()) { in serialize() 141 std::unique_ptr<SkStreamAsset> fontStream = fFontData->detachStream(); in serialize()
|
D | SkFontDescriptor.h | 65 bool hasFontData() const { return fFontData.get() != nullptr; } in hasFontData() 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; variable
|
/external/skia/src/core/ |
D | SkFontDescriptor.cpp | 113 result->fFontData = skstd::make_unique<SkFontData>( in Deserialize() 126 if (fFontData.get()) { in serialize() 127 if (fFontData->getIndex()) { in serialize() 128 write_uint(stream, fFontData->getIndex(), kFontIndex); in serialize() 130 if (fFontData->getAxisCount()) { in serialize() 131 write_uint(stream, fFontData->getAxisCount(), kFontAxes); in serialize() 132 for (int i = 0; i < fFontData->getAxisCount(); ++i) { in serialize() 133 stream->write32(fFontData->getAxis()[i]); in serialize() 140 if (fFontData.get() && fFontData->hasStream()) { in serialize() 141 std::unique_ptr<SkStreamAsset> fontStream = fFontData->detachStream(); in serialize()
|
D | SkFontDescriptor.h | 65 bool hasFontData() const { return fFontData.get() != nullptr; } in hasFontData() 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; variable
|
/external/skqp/src/ports/ |
D | SkFontConfigTypeface.h | 23 std::unique_ptr<SkFontData> fFontData; variable 64 , fFontData(nullptr) {} in SkTypeface_FCI() 70 , fFontData(std::move(data)) in SkTypeface_FCI() 72 SkASSERT(fFontData); in SkTypeface_FCI() 73 fIdentity.fTTCIndex = fFontData->getIndex(); in SkTypeface_FCI()
|
D | SkFontMgr_FontConfigInterface.cpp | 25 if (fFontData) { in onOpenStream() 26 SkStreamAsset* stream = fFontData->getStream(); in onOpenStream() 37 if (fFontData) { in onMakeFontData() 38 return skstd::make_unique<SkFontData>(*fFontData); in onMakeFontData() 51 *isLocalStream = SkToBool(fFontData); in onGetFontDescriptor()
|
/external/skia/src/ports/ |
D | SkFontConfigTypeface.h | 23 std::unique_ptr<SkFontData> fFontData; variable 64 , fFontData(nullptr) {} in SkTypeface_FCI() 70 , fFontData(std::move(data)) in SkTypeface_FCI() 72 SkASSERT(fFontData); in SkTypeface_FCI() 73 fIdentity.fTTCIndex = fFontData->getIndex(); in SkTypeface_FCI()
|
D | SkFontMgr_FontConfigInterface.cpp | 25 if (fFontData) { in onOpenStream() 26 SkStreamAsset* stream = fFontData->getStream(); in onOpenStream() 37 if (fFontData) { in onMakeFontData() 38 return skstd::make_unique<SkFontData>(*fFontData); in onMakeFontData() 51 *isLocalStream = SkToBool(fFontData); in onGetFontDescriptor()
|
/external/skqp/modules/skottie/gm/ |
D | SkottieGM.cpp | 31 FakeWebFontProvider() : fFontData(GetResourceAsData(kWebFontResource)) {} in FakeWebFontProvider() 34 return fFontData; in loadFont() 38 sk_sp<SkData> fFontData; member in __anonf0a0a3840111::FakeWebFontProvider
|
/external/skia/modules/skottie/gm/ |
D | SkottieGM.cpp | 31 FakeWebFontProvider() : fFontData(GetResourceAsData(kWebFontResource)) {} in FakeWebFontProvider() 34 return fFontData; in loadFont() 38 sk_sp<SkData> fFontData; member in __anonb406638d0111::FakeWebFontProvider
|