Searched defs:italic (Results 1 - 7 of 7) sorted by last modified time

/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
H A DTextAttribute.java31 public boolean italic; field in class:TextAttribute
37 FontSize size, boolean bold, boolean italic, boolean underlined,
44 this.italic = italic;
36 TextAttribute(int start, int length, TextAlignment align, FontSize size, boolean bold, boolean italic, boolean underlined, boolean strikeThrough, TextColor color) argument
/frameworks/minikin/include/minikin/
H A DFontFamily.h38 FontStyle() : FontStyle(0 /* variant */, 4 /* weight */, false /* italic */) {}
39 FontStyle(int weight, bool italic) : FontStyle(0 /* variant */, weight, italic) {} argument
41 : FontStyle(langListId, 0 /* variant */, 4 /* weight */, false /* italic */) {}
43 FontStyle(int variant, int weight, bool italic);
44 FontStyle(uint32_t langListId, int variant, int weight, bool italic);
66 static uint32_t pack(int variant, int weight, bool italic);
82 // attributes representing transforms (fake bold, fake italic) to match styles
/frameworks/minikin/libs/minikin/
H A DAnalyzeStyle.cpp29 bool analyzeStyle(const uint8_t* os2_data, size_t os2_size, int* weight, bool* italic) { argument
39 *italic = (fsSelection & kItalicFlag) != 0;
H A DFontFamily.cpp43 FontStyle::FontStyle(int variant, int weight, bool italic) argument
44 : FontStyle(FontLanguageListCache::kEmptyListId, variant, weight, italic) {
47 FontStyle::FontStyle(uint32_t languageListId, int variant, int weight, bool italic) argument
48 : bits(pack(variant, weight, italic)), mLanguageListId(languageListId) {
64 uint32_t FontStyle::pack(int variant, int weight, bool italic) { argument
65 return (weight & kWeightMask) | (italic ? kItalicMask : 0) | (variant << kVariantShift);
86 bool italic; local
87 if (analyzeStyle(os2Table.get(), os2Table.size(), &weight, &italic)) {
88 //ALOGD("analyzed weight = %d, italic = %s", weight, italic
[all...]
/frameworks/minikin/tests/
H A DFontTestUtils.cpp59 bool italic = xmlStrcmp( local
60 xmlGetProp(fontNode, (const xmlChar*)"style"), (const xmlChar*)"italic") == 0;
69 family->addFont(new MinikinFontForTest(fontPath), android::FontStyle(weight, italic));
/frameworks/base/libs/hwui/hwui/
H A DTypeface.cpp45 bool italic = (typeface->fSkiaStyle & SkTypeface::kItalic) != 0; local
46 typeface->fStyle = FontStyle(weight, italic);
/frameworks/base/media/java/android/media/
H A DCea708CaptionRenderer.java478 boolean italic = (data[pos + 1] & 0x80) != 0;
485 underline, italic)));
489 + "fontTag: %d, edgeType: %d, underline: %s, italic: %s",
490 penSize, penOffset, textTag, fontTag, edgeType, underline, italic));
896 public final boolean italic; field in class:Cea708CCParser.CaptionPenAttr
899 boolean underline, boolean italic) {
906 this.italic = italic;
1372 // C1 Table: All the styles of windows and pens except underline, italic, pen size, and pen
1759 if (penAttr.italic) {
898 CaptionPenAttr(int penSize, int penOffset, int textTag, int fontTag, int edgeType, boolean underline, boolean italic) argument
[all...]

Completed in 1508 milliseconds