/third_party/skia/modules/skparagraph/src/ |
D | FontCollection.cpp | 11 bool FontCollection::FamilyKey::operator==(const FontCollection::FamilyKey& other) const { in operator ==() 15 size_t FontCollection::FamilyKey::Hasher::operator()(const FontCollection::FamilyKey& key) const { in operator ()() 25 FontCollection::FontCollection() in FontCollection() function in skia::textlayout::FontCollection 29 size_t FontCollection::getFontManagersCount() const { return this->getFontManagerOrder().size(); } in getFontManagersCount() 31 void FontCollection::setAssetFontManager(sk_sp<SkFontMgr> font_manager) { in setAssetFontManager() 35 void FontCollection::setDynamicFontManager(sk_sp<SkFontMgr> font_manager) { in setDynamicFontManager() 39 void FontCollection::setTestFontManager(sk_sp<SkFontMgr> font_manager) { in setTestFontManager() 43 void FontCollection::setDefaultFontManager(sk_sp<SkFontMgr> fontManager, in setDefaultFontManager() 49 void FontCollection::setDefaultFontManager(sk_sp<SkFontMgr> fontManager, in setDefaultFontManager() 55 void FontCollection::setDefaultFontManager(sk_sp<SkFontMgr> fontManager) { in setDefaultFontManager() [all …]
|
D | ParagraphBuilderImpl.h | 22 sk_sp<FontCollection> fontCollection, 26 ParagraphBuilderImpl(const ParagraphStyle& style, sk_sp<FontCollection> fontCollection); 65 sk_sp<FontCollection> fontCollection, 70 sk_sp<FontCollection> fontCollection); 79 sk_sp<FontCollection> fFontCollection;
|
D | ParagraphBuilderImpl.cpp | 20 const ParagraphStyle& style, sk_sp<FontCollection> fontCollection) { in make() 25 const ParagraphStyle& style, sk_sp<FontCollection> fontCollection) { in make() 34 …const ParagraphStyle& style, sk_sp<FontCollection> fontCollection, std::unique_ptr<SkUnicode> unic… in make() 42 …const ParagraphStyle& style, sk_sp<FontCollection> fontCollection, std::unique_ptr<SkUnicode> unic… in ParagraphBuilderImpl() 52 const ParagraphStyle& style, sk_sp<FontCollection> fontCollection) in ParagraphBuilderImpl()
|
/third_party/flutter/engine/flutter/third_party/txt/src/txt/ |
D | font_collection.cc | 43 FontCollection::FamilyKey::FamilyKey(const std::vector<std::string>& families, in FamilyKey() 53 bool FontCollection::FamilyKey::operator==( in operator ==() 54 const FontCollection::FamilyKey& other) const { in operator ==() 58 size_t FontCollection::FamilyKey::Hasher::operator()( in operator ()() 59 const FontCollection::FamilyKey& key) const { in operator ()() 65 : public minikin::FontCollection::FallbackFontProvider { 67 TxtFallbackFontProvider(std::shared_ptr<FontCollection> font_collection) in TxtFallbackFontProvider() 73 std::shared_ptr<FontCollection> fc = font_collection_.lock(); in matchFallbackFont() 85 std::shared_ptr<FontCollection> fc = font_collection_.lock(); in matchFallbackFontFromHwFont() 96 std::weak_ptr<FontCollection> font_collection_; [all …]
|
D | font_collection.h | 41 class FontCollection : public std::enable_shared_from_this<FontCollection> { 43 FontCollection(); 45 ~FontCollection(); 55 std::shared_ptr<minikin::FontCollection> GetMinikinFontCollectionForFamilies( 82 sk_sp<skia::textlayout::FontCollection> CreateSktFontCollection(); 112 std::shared_ptr<minikin::FontCollection>, 153 std::shared_ptr<minikin::FontCollection> 195 FML_DISALLOW_COPY_AND_ASSIGN(FontCollection);
|
D | paragraph_builder.cc | 30 std::shared_ptr<FontCollection> font_collection) { in CreateTxtBuilder() 38 std::shared_ptr<FontCollection> font_collection) { in CreateSkiaBuilder()
|
/third_party/flutter/skia/modules/skparagraph/src/ |
D | FontCollection.cpp | 10 bool FontCollection::FamilyKey::operator==(const FontCollection::FamilyKey& other) const { in operator ==() 15 size_t FontCollection::FamilyKey::Hasher::operator()(const FontCollection::FamilyKey& key) const { in operator ()() 22 FontCollection::FontCollection() in FontCollection() function in skia::textlayout::FontCollection 26 size_t FontCollection::getFontManagersCount() const { return this->getFontManagerOrder().size(); } in getFontManagersCount() 28 void FontCollection::setAssetFontManager(sk_sp<SkFontMgr> font_manager) { in setAssetFontManager() 32 void FontCollection::setDynamicFontManager(sk_sp<SkFontMgr> font_manager) { in setDynamicFontManager() 36 void FontCollection::setTestFontManager(sk_sp<SkFontMgr> font_manager) { in setTestFontManager() 40 void FontCollection::setDefaultFontManager(sk_sp<SkFontMgr> fontManager, in setDefaultFontManager() 46 void FontCollection::setDefaultFontManager(sk_sp<SkFontMgr> fontManager) { in setDefaultFontManager() 51 std::vector<sk_sp<SkFontMgr>> FontCollection::getFontManagerOrder() const { in getFontManagerOrder() [all …]
|
/third_party/flutter/engine/flutter/lib/ui/text/ |
D | font_collection.cc | 22 FontCollection::FontCollection() in FontCollection() function in flutter::FontCollection 23 : collection_(std::make_shared<txt::FontCollection>()) { in FontCollection() 30 FontCollection::~FontCollection() { in ~FontCollection() 35 void FontCollection::RegisterNatives(tonic::DartLibraryNatives* natives) { in RegisterNatives() 38 std::shared_ptr<txt::FontCollection> FontCollection::GetFontCollection() const { in GetFontCollection() 42 void FontCollection::RegisterFonts( in RegisterFonts() 46 void FontCollection::RegisterTestFonts() { in RegisterTestFonts() 49 void FontCollection::LoadFontFromList(const uint8_t* font_data, in LoadFontFromList()
|
D | font_collection.h | 22 class FontCollection { 24 FontCollection(); 26 ~FontCollection(); 30 std::shared_ptr<txt::FontCollection> GetFontCollection() const; 41 std::shared_ptr<txt::FontCollection> collection_; 44 FML_DISALLOW_COPY_AND_ASSIGN(FontCollection);
|
/third_party/flutter/txt/src/txt/ |
D | font_collection.cc | 45 FontCollection::FamilyKey::FamilyKey(const std::vector<std::string>& families, in FamilyKey() 55 bool FontCollection::FamilyKey::operator==( in operator ==() 56 const FontCollection::FamilyKey& other) const { in operator ==() 60 size_t FontCollection::FamilyKey::Hasher::operator()( in operator ()() 61 const FontCollection::FamilyKey& key) const { in operator ()() 67 : public minikin::FontCollection::FallbackFontProvider { 69 TxtFallbackFontProvider(std::shared_ptr<FontCollection> font_collection) in TxtFallbackFontProvider() 75 std::shared_ptr<FontCollection> fc = font_collection_.lock(); in matchFallbackFont() 87 std::shared_ptr<FontCollection> fc = font_collection_.lock(); in matchFallbackFontFromHwFont() 98 std::weak_ptr<FontCollection> font_collection_; [all …]
|
D | font_collection.h | 42 class FontCollection : public std::enable_shared_from_this<FontCollection> { 44 FontCollection(); 46 ~FontCollection(); 56 std::shared_ptr<minikin::FontCollection> GetMinikinFontCollectionForFamilies( 83 sk_sp<skia::textlayout::FontCollection> CreateSktFontCollection(); 113 std::shared_ptr<minikin::FontCollection>, 134 sk_sp<skia::textlayout::FontCollection> skt_collection_; 164 std::shared_ptr<minikin::FontCollection> 206 FML_DISALLOW_COPY_AND_ASSIGN(FontCollection);
|
D | paragraph_builder.cc | 31 std::shared_ptr<FontCollection> font_collection) { in CreateTxtBuilder() 39 std::shared_ptr<FontCollection> font_collection) { in CreateSkiaBuilder()
|
/third_party/flutter/engine/flutter/third_party/txt/tests/ |
D | font_collection_unittests.cc | 27 TEST(FontCollection, HasDefaultRegistrations) { 28 std::string defaultFamilyName = txt::FontCollection::GetDefaultFamilyName(); 30 auto collection = txt::FontCollection::GetFontCollection(txt::GetFontDir()) 33 txt::FontCollection::GetFontCollection(txt::GetFontDir()) 36 txt::FontCollection::GetFontCollection(txt::GetFontDir()) 39 txt::FontCollection::GetFontCollection(txt::GetFontDir()) 44 TEST(FontCollection, GetMinikinFontCollections) { 45 std::string defaultFamilyName = txt::FontCollection::GetDefaultFamilyName(); 47 auto collectionDef = txt::FontCollection::GetFontCollection(txt::GetFontDir()) 50 txt::FontCollection::GetFontCollection(txt::GetFontDir()) [all …]
|
D | FontCollectionTest.cpp | 43 void expectVSGlyphs(const FontCollection* fc, in expectVSGlyphs() 66 std::shared_ptr<FontCollection> fc(new FontCollection(families)); in TEST() 89 std::shared_ptr<FontCollection> collection( in TEST() 124 std::shared_ptr<FontCollection> collection( in TEST() 147 std::shared_ptr<FontCollection> multiAxisFc( in TEST() 148 new FontCollection(multiAxisFamilies)); in TEST() 154 std::shared_ptr<FontCollection> noAxisFc(new FontCollection(noAxisFamilies)); in TEST() 167 std::shared_ptr<FontCollection> newFc( in TEST() 180 std::shared_ptr<FontCollection> newFc( in TEST() 199 std::shared_ptr<FontCollection> newFc( in TEST()
|
D | FontCollectionItemizeTest.cpp | 56 void itemize(const std::shared_ptr<FontCollection>& collection, in itemize() 59 std::vector<FontCollection::Run>* result) { in itemize() 71 const std::string& getFontPath(const FontCollection::Run& run) { in getFontPath() 85 std::shared_ptr<FontCollection> collection( in TEST_F() 87 std::vector<FontCollection::Run> runs; in TEST_F() 156 std::shared_ptr<FontCollection> collection( in TEST_F() 158 std::vector<FontCollection::Run> runs; in TEST_F() 218 std::shared_ptr<FontCollection> collection( in TEST_F() 220 std::vector<FontCollection::Run> runs; in TEST_F() 309 std::shared_ptr<FontCollection> collection( in TEST_F() [all …]
|
D | txt_test_utils.cc | 108 std::shared_ptr<FontCollection> GetTestFontCollection() { in GetTestFontCollection() 113 std::shared_ptr<FontCollection> collection = in GetTestFontCollection() 114 std::make_shared<FontCollection>(); in GetTestFontCollection()
|
D | render_test.h | 41 std::shared_ptr<txt::FontCollection> GetTestFontCollection() const; 52 std::shared_ptr<txt::FontCollection> font_collection_;
|
/third_party/flutter/txt/src/minikin/ |
D | FontCollection.cpp | 46 uint32_t FontCollection::sNextId = 0; 54 std::shared_ptr<minikin::FontCollection> FontCollection::Create( in Create() 56 std::shared_ptr<minikin::FontCollection> font_collection( in Create() 57 new minikin::FontCollection()); in Create() 64 FontCollection::FontCollection() : mMaxChar(0) {} in FontCollection() function in minikin::FontCollection 66 bool FontCollection::init( in init() 160 uint32_t FontCollection::calcFamilyScore( in calcFamilyScore() 198 uint32_t FontCollection::calcCoverageScore( in calcCoverageScore() 269 uint32_t FontCollection::calcLanguageMatchingScore( in calcLanguageMatchingScore() 290 uint32_t FontCollection::calcVariantMatchingScore( in calcVariantMatchingScore() [all …]
|
D | Layout.h | 84 const std::shared_ptr<FontCollection>& collection); 93 const std::shared_ptr<FontCollection>& collection, 140 const std::shared_ptr<FontCollection>& collection, 152 const std::shared_ptr<FontCollection>& collection, 163 const std::shared_ptr<FontCollection>& collection);
|
D | FontCollection.h | 30 class FontCollection { 32 explicit FontCollection(); 35 static std::shared_ptr<minikin::FontCollection> Create( 73 std::shared_ptr<FontCollection> createCollectionWithVariation(
|
/third_party/flutter/engine/flutter/third_party/txt/src/minikin/ |
D | FontCollection.cpp | 46 uint32_t FontCollection::sNextId = 0; 54 FontCollection::FontCollection(std::shared_ptr<FontFamily>&& typeface) in FontCollection() function in minikin::FontCollection 61 FontCollection::FontCollection( in FontCollection() function in minikin::FontCollection 67 void FontCollection::init( in init() 154 uint32_t FontCollection::calcFamilyScore( in calcFamilyScore() 192 uint32_t FontCollection::calcCoverageScore( in calcCoverageScore() 263 uint32_t FontCollection::calcLanguageMatchingScore( in calcLanguageMatchingScore() 284 uint32_t FontCollection::calcVariantMatchingScore( in calcVariantMatchingScore() 296 const std::shared_ptr<FontFamily>& FontCollection::getFamilyForChar( in getFamilyForChar() 428 bool FontCollection::hasVariationSelector(uint32_t baseCodepoint, in hasVariationSelector() [all …]
|
D | Layout.h | 84 const std::shared_ptr<FontCollection>& collection); 93 const std::shared_ptr<FontCollection>& collection, 140 const std::shared_ptr<FontCollection>& collection, 152 const std::shared_ptr<FontCollection>& collection, 163 const std::shared_ptr<FontCollection>& collection);
|
D | FontCollection.h | 29 class FontCollection { 31 explicit FontCollection( 33 explicit FontCollection(std::shared_ptr<FontFamily>&& typeface); 70 std::shared_ptr<FontCollection> createCollectionWithVariation(
|
/third_party/flutter/engine/flutter/third_party/txt/tests/old/perftests/ |
D | FontCollection.cpp | 34 std::make_shared<FontCollection>(families); in BM_FontCollection_construct() 41 std::shared_ptr<FontCollection> collection( in BM_FontCollection_hasVariationSelector() 79 std::shared_ptr<FontCollection> collection( in BM_FontCollection_itemize() 89 std::vector<FontCollection::Run> result; in BM_FontCollection_itemize()
|
/third_party/flutter/skia/modules/skparagraph/include/ |
D | FontCollection.h | 18 class FontCollection : public SkRefCnt { 20 FontCollection(); 22 ~FontCollection() = default;
|