Searched refs:FontCollection (Results 1 – 14 of 14) sorted by relevance
/frameworks/minikin/libs/minikin/ |
D | FontCollection.cpp | 47 FontCollection::FontCollection(std::shared_ptr<FontFamily>&& typeface) : mMaxChar(0) { in FontCollection() function in minikin::FontCollection 53 FontCollection::FontCollection(const vector<std::shared_ptr<FontFamily>>& typefaces) : mMaxChar(0) { in FontCollection() function in minikin::FontCollection 57 void FontCollection::init(const vector<std::shared_ptr<FontFamily>>& typefaces) { in init() 127 uint32_t FontCollection::calcFamilyScore(uint32_t ch, uint32_t vs, FontFamily::Variant variant, in calcFamilyScore() 155 uint32_t FontCollection::calcCoverageScore(uint32_t ch, uint32_t vs, uint32_t localeListId, in calcCoverageScore() 216 uint32_t FontCollection::calcLocaleMatchingScore(uint32_t userLocaleListId, in calcLocaleMatchingScore() 232 uint32_t FontCollection::calcVariantMatchingScore(FontFamily::Variant variant, in calcVariantMatchingScore() 253 const std::shared_ptr<FontFamily>& FontCollection::getFamilyForChar( in getFamilyForChar() 337 bool FontCollection::hasVariationSelector(uint32_t baseCodepoint, in hasVariationSelector() 371 void FontCollection::itemize(const uint16_t* string, size_t string_size, const MinikinPaint& paint, in itemize() [all …]
|
D | Android.bp | 35 "FontCollection.cpp",
|
D | Layout.cpp | 583 std::vector<FontCollection::Run> items; in doLayoutRun() 609 FontCollection::Run& run = items[run_ix]; in doLayoutRun()
|
/frameworks/minikin/tests/unittest/ |
D | FontCollectionTest.cpp | 43 void expectVSGlyphs(const FontCollection* fc, uint32_t codepoint, const std::set<uint32_t>& vsSet) { in expectVSGlyphs() 129 std::shared_ptr<FontCollection> multiAxisFc = buildFontCollection(kMultiAxisFont); in TEST() 130 std::shared_ptr<FontCollection> noAxisFc = buildFontCollection(kNoAxisFont); in TEST() 141 std::shared_ptr<FontCollection> newFc( in TEST() 152 std::shared_ptr<FontCollection> newFc( in TEST() 169 std::shared_ptr<FontCollection> newFc( in TEST()
|
D | FontCollectionItemizeTest.cpp | 57 void itemize(const std::shared_ptr<FontCollection>& collection, const char* str, FontStyle style, in itemize() 58 const std::string& localeList, std::vector<FontCollection::Run>* result) { in itemize() 73 void itemize(const std::shared_ptr<FontCollection>& collection, const char* str, in itemize() 74 const std::string& localeList, std::vector<FontCollection::Run>* result) { in itemize() 79 void itemize(const std::shared_ptr<FontCollection>& collection, const char* str, FontStyle style, in itemize() 80 std::vector<FontCollection::Run>* result) { in itemize() 85 void itemize(const std::shared_ptr<FontCollection>& collection, const char* str, in itemize() 86 std::vector<FontCollection::Run>* result) { in itemize() 91 std::string getFontName(const FontCollection::Run& run) { in getFontName() 104 std::vector<FontCollection::Run> runs; in TEST() [all …]
|
D | LayoutTest.cpp | 76 std::shared_ptr<FontCollection> mCollection;
|
/frameworks/minikin/tests/util/ |
D | FontTestUtils.h | 42 inline std::shared_ptr<FontCollection> buildFontCollectionFromXml(const std::string& xmlPath) { in buildFontCollectionFromXml() 43 return std::make_shared<FontCollection>( in buildFontCollectionFromXml() 51 std::shared_ptr<FontCollection> buildFontCollection(const std::string& filePath);
|
D | FontTestUtils.cpp | 120 std::shared_ptr<FontCollection> buildFontCollection(const std::string& filePath) { in buildFontCollection() 121 return std::make_shared<FontCollection>(buildFontFamily(filePath)); in buildFontCollection()
|
/frameworks/minikin/tests/perftests/ |
D | FontCollection.cpp | 38 std::make_shared<FontCollection>(families); in BM_FontCollection_construct() 46 std::make_shared<FontCollection>(getFontFamilies(SYSTEM_FONT_PATH, SYSTEM_FONT_XML)); in BM_FontCollection_hasVariationSelector() 83 std::make_shared<FontCollection>(getFontFamilies(SYSTEM_FONT_PATH, SYSTEM_FONT_XML)); in BM_FontCollection_itemize() 92 std::vector<FontCollection::Run> result; in BM_FontCollection_itemize()
|
D | Android.bp | 26 "FontCollection.cpp",
|
/frameworks/minikin/include/minikin/ |
D | FontCollection.h | 32 class FontCollection { 34 explicit FontCollection(const std::vector<std::shared_ptr<FontFamily>>& typefaces); 35 explicit FontCollection(std::shared_ptr<FontFamily>&& typeface); 56 std::shared_ptr<FontCollection> createCollectionWithVariation(
|
D | MinikinFont.h | 30 class FontCollection; variable 36 MinikinPaint(const std::shared_ptr<FontCollection>& font) in MinikinPaint() 60 std::shared_ptr<FontCollection> font;
|
/frameworks/base/libs/hwui/hwui/ |
D | Typeface.cpp | 128 result->fFontCollection.reset(new minikin::FontCollection(families)); in createFromFamilies() 188 std::shared_ptr<minikin::FontCollection> collection = std::make_shared<minikin::FontCollection>( in setRobotoTypefaceForTest()
|
D | Typeface.h | 35 std::shared_ptr<minikin::FontCollection> fFontCollection;
|