HomeSort by relevance Sort by last modified time
    Searched refs:minikinFont (Results 1 - 8 of 8) sorted by null

  /frameworks/minikin/libs/minikin/
HbFontCache.h 23 class MinikinFont;
26 void purgeHbFontLocked(const MinikinFont* minikinFont);
27 hb_font_t* getHbFontLocked(MinikinFont* minikinFont);
HbFontCache.cpp 26 #include <minikin/MinikinFont.h>
32 MinikinFont* font = reinterpret_cast<MinikinFont*>(userData);
94 void purgeHbFontLocked(const MinikinFont* minikinFont) {
96 const int32_t fontId = minikinFont->GetUniqueId();
102 hb_font_t* getHbFontLocked(MinikinFont* minikinFont) {
106 if (minikinFont == nullptr) {
114 const int32_t fontId = minikinFont->GetUniqueId()
    [all...]
MinikinInternal.h 26 #include <minikin/MinikinFont.h>
48 hb_blob_t* getFontTable(MinikinFont* minikinFont, uint32_t tag);
MinikinInternal.cpp 87 hb_blob_t* getFontTable(MinikinFont* minikinFont, uint32_t tag) {
89 hb_font_t* font = getHbFontLocked(minikinFont);
FontFamily.cpp 33 #include <minikin/MinikinFont.h>
80 bool FontFamily::addFont(MinikinFont* typeface) {
82 const uint32_t os2Tag = MinikinFont::MakeTag('O', 'S', '/', '2');
98 void FontFamily::addFont(MinikinFont* typeface, FontStyle style) {
103 void FontFamily::addFontLocked(MinikinFont* typeface, FontStyle style) {
154 MinikinFont* FontFamily::getFont(size_t index) const {
175 MinikinFont* typeface = getClosestMatch(defaultStyle).font;
176 const uint32_t cmapTag = MinikinFont::MakeTag('c', 'm', 'a', 'p');
204 MinikinFont* minikinFont = getClosestMatch(defaultStyle).font
    [all...]
  /frameworks/minikin/tests/
HbFontCacheTest.cpp 27 #include <minikin/MinikinFont.h>
59 // Different object must be returned if the passed minikinFont has different ID.
66 MinikinFontForTest minikinFont(kTestFontDir "Regular.ttf");
68 hb_font_t* font = getHbFontLocked(&minikinFont);
82 font = getHbFontLocked(&minikinFont);
FontFamilyTest.cpp 353 MinikinAutoUnref<MinikinFontForTest> minikinFont(new MinikinFontForTest(kVsTestFont));
355 family->addFont(minikinFont.get());
406 MinikinAutoUnref<MinikinFontForTest> minikinFont(new MinikinFontForTest(testCase.fontPath));
408 family->addFont(minikinFont.get());
  /frameworks/base/core/jni/android/graphics/
FontFamily.cpp 58 MinikinFont* minikinFont = new MinikinFontSkia(face, fontData, fontSize, ttcIndex);
59 bool result = family->addFont(minikinFont);
60 minikinFont->Unref();
181 MinikinFont* minikinFont = new MinikinFontSkia(face, fontPtr, (size_t)fontSize, ttcIndex);
182 fontFamily->addFont(minikinFont, FontStyle(weight / 100, isItalic));
183 minikinFont->Unref();

Completed in 843 milliseconds