Home
last modified time | relevance | path

Searched refs:FontFileParser (Results 1 – 13 of 13) sorted by relevance

/frameworks/minikin/libs/minikin/
DFontFileParser.cpp124 bool FontFileParser::analyzeFontRevision(const uint8_t* head_data, size_t head_size, in analyzeFontRevision()
146 bool FontFileParser::checkPSName(const std::string& psName) { in checkPSName()
157 FontFileParser::FontFileParser(const void* buffer, size_t size, uint32_t index) in FontFileParser() function in minikin::FontFileParser
160 FontFileParser::FontFileParser(const HbFaceUniquePtr& face) in FontFileParser() function in minikin::FontFileParser
163 FontFileParser::FontFileParser(const HbFontUniquePtr& font) in FontFileParser() function in minikin::FontFileParser
166 FontFileParser::~FontFileParser() {} in ~FontFileParser()
169 HbFaceUniquePtr FontFileParser::makeHbFace(const void* buffer, size_t size, uint32_t index) { in makeHbFace()
175 std::optional<uint32_t> FontFileParser::getFontRevision() const { in getFontRevision()
189 std::optional<std::string> FontFileParser::getPostScriptName() const { in getPostScriptName()
211 std::optional<bool> FontFileParser::isPostScriptType1Font() const { in isPostScriptType1Font()
DDebug.cpp103 << FontFileParser(layout.fontAt(i).hbFont()).getPostScriptName().value_or("[UNKNOWN]") in toString()
DAndroid.bp67 "FontFileParser.cpp",
/frameworks/minikin/include/minikin/
DFontFileParser.h28 class FontFileParser {
31 FontFileParser(const void* buffer, size_t size, uint32_t index);
32 explicit FontFileParser(const HbFaceUniquePtr& face);
33 explicit FontFileParser(const HbFontUniquePtr& font);
35 virtual ~FontFileParser();
DLayout.h51 std::optional<std::string> psName = FontFileParser(g.font.hbFont()).getPostScriptName();
/frameworks/minikin/tests/unittest/
DFontFileParserTest.cpp42 class TestableFontFileParser : public FontFileParser {
44 using FontFileParser::analyzeFontRevision;
45 using FontFileParser::checkPSName;
92 auto parser = FontFileParser(minikinFont->GetFontData(), minikinFont->GetFontSize(), 0); in TEST()
99 TEST(FontFileParser, checkPSName) { in TEST() argument
124 auto parser = FontFileParser(minikinFont->GetFontData(), minikinFont->GetFontSize(), 0); in TEST()
DFontCollectionItemizeTest.cpp1652 auto psName = FontFileParser(run.fakedFont.hbFont()).getPostScriptName().value(); in itemizeEmojiAndFontPostScriptNames()
/frameworks/base/services/core/java/com/android/server/graphics/fonts/
DUpdatableFontDir.java67 interface FontFileParser { interface in UpdatableFontDir
128 private final FontFileParser mParser;
144 UpdatableFontDir(File filesDir, FontFileParser parser, FsverityUtil fsverityUtil, in UpdatableFontDir()
153 UpdatableFontDir(File filesDir, FontFileParser parser, FsverityUtil fsverityUtil, in UpdatableFontDir()
DOtfFontFileParser.java38 /* package */ class OtfFontFileParser implements UpdatableFontDir.FontFileParser {
/frameworks/base/libs/hwui/jni/fonts/
DFont.cpp348 minikin::FontFileParser parser(fontPtr, fontSize, index); in FontFileUtil_getFontRevision()
370 minikin::FontFileParser parser(fontPtr, fontSize, index); in FontFileUtil_getFontPostScriptName()
391 minikin::FontFileParser parser(fontPtr, fontSize, index); in FontFileUtil_isPostScriptType1Font()
/frameworks/base/libs/hwui/jni/
DTypeface.cpp246 minikin::FontFileParser parser(fontPtr, fontSize, fontIndex); in create()
282 minikin::FontFileParser parser(typeface->GetFontData(), typeface->GetFontSize(), in write()
/frameworks/base/services/tests/servicestests/src/com/android/server/graphics/fonts/
DUpdatableFontDirTest.java86 private static class FakeFontFileParser implements UpdatableFontDir.FontFileParser {
719 new UpdatableFontDir.FontFileParser() { in installFontFile_failedToParsePostScript()
757 new UpdatableFontDir.FontFileParser() { in installFontFile_failedToParsePostScriptName_invalidFont()
794 new UpdatableFontDir.FontFileParser() { in installFontFile_failedToCreateTypeface()
/frameworks/base/services/
Dart-wear-profile11708 …t>(Ljava/io/File;Lcom/android/server/graphics/fonts/UpdatableFontDir$FontFileParser;Lcom/android/s…
11709 …t>(Ljava/io/File;Lcom/android/server/graphics/fonts/UpdatableFontDir$FontFileParser;Lcom/android/s…