/frameworks/minikin/include/minikin/ |
FontFamily.h | 33 // FontStyle represents all style information needed to select an actual font 36 class FontStyle { 38 FontStyle() : FontStyle(0 /* variant */, 4 /* weight */, false /* italic */) {} 39 FontStyle(int weight, bool italic) : FontStyle(0 /* variant */, weight, italic) {} 40 FontStyle(uint32_t langListId) 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) [all...] |
FontCollection.h | 40 void itemize(const uint16_t *string, size_t string_length, FontStyle style, 49 MinikinFont* baseFont(FontStyle style); 52 FakedFont baseFontFaked(FontStyle style);
|
Layout.h | 94 int bidiFlags, const FontStyle &style, const MinikinPaint &paint); 97 int bidiFlags, const FontStyle &style, const MinikinPaint &paint,
|
LineBreaker.h | 160 float addStyleRun(MinikinPaint* paint, const FontCollection* typeface, FontStyle style,
|
/frameworks/minikin/libs/minikin/ |
FontFamily.cpp | 43 FontStyle::FontStyle(int variant, int weight, bool italic) 44 : FontStyle(FontLanguageListCache::kEmptyListId, variant, weight, italic) { 47 FontStyle::FontStyle(uint32_t languageListId, int variant, int weight, bool italic) 51 hash_t FontStyle::hash() const { 58 uint32_t FontStyle::registerLanguageList(const std::string& languages) { 64 uint32_t FontStyle::pack(int variant, int weight, bool italic) { 89 FontStyle style(weight, italic); 98 void FontFamily::addFont(MinikinFont* typeface, FontStyle style) [all...] |
FontCollection.cpp | 90 const FontStyle defaultStyle; 394 void FontCollection::itemize(const uint16_t *string, size_t string_size, FontStyle style, 468 MinikinFont* FontCollection::baseFont(FontStyle style) { 472 FakedFont FontCollection::baseFontFaked(FontStyle style) {
|
LineBreaker.cpp | 124 FontStyle style, size_t start, size_t end, bool isRtl) { 300 addStyleRun(nullptr, nullptr, FontStyle(), start, end, false);
|
Layout.cpp | 96 FontStyle style; 112 LayoutCacheKey(const FontCollection* collection, const MinikinPaint& paint, FontStyle style, 150 FontStyle mStyle; 580 int bidiFlags, const FontStyle &style, const MinikinPaint &paint) { 598 int bidiFlags, const FontStyle &style, const MinikinPaint &paint, [all...] |
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/extensions/ |
FreeTypePackTest.java | 55 static enum FontStyle {
60 FontStyle (String path) {
112 for (FontStyle style : FontStyle.values()) {
122 BitmapFont font = getFont(FontStyle.Regular, FontSize.Medium);
141 public BitmapFont getFont (FontStyle style, FontSize size) {
167 for (FontStyle style : FontStyle.values()) {
201 for (FontStyle style : FontStyle.values()) { [all...] |
FreeTypeAtlasTest.java | 59 static enum FontStyle { 64 FontStyle(String path) { 115 for (FontStyle style : FontStyle.values()) { 125 BitmapFont font = getFont(FontStyle.Regular, FontSize.Medium); 143 public BitmapFont getFont(FontStyle style, FontSize size) { 165 for (FontStyle style : FontStyle.values()) { 191 class FontMap<T> extends EnumMap<FontStyle, EnumMap<FontSize, T>> { 194 super(FontStyle.class) [all...] |
/frameworks/minikin/tests/ |
FontLanguageListCacheTest.cpp | 30 EXPECT_NE(0UL, FontStyle::registerLanguageList("en")); 31 EXPECT_NE(0UL, FontStyle::registerLanguageList("jp")); 32 EXPECT_NE(0UL, FontStyle::registerLanguageList("en,zh-Hans"));
|
FontCollectionItemizeTest.cpp | 34 using android::FontStyle; 59 void itemize(FontCollection* collection, const char* str, FontStyle style, 87 const FontStyle kRegularStyle = FontStyle(); 88 const FontStyle kItalicStyle = FontStyle(4, true); 89 const FontStyle kBoldStyle = FontStyle(7, false); 90 const FontStyle kBoldItalicStyle = FontStyle(7, true) [all...] |
FontFamilyTest.cpp | 284 EXPECT_EQ(0UL, FontStyle::registerLanguageList("")); 285 EXPECT_NE(0UL, FontStyle::registerLanguageList("en")); 286 EXPECT_NE(0UL, FontStyle::registerLanguageList("jp")); 287 EXPECT_NE(0UL, FontStyle::registerLanguageList("en,zh-Hans")); 289 EXPECT_EQ(FontStyle::registerLanguageList("en"), FontStyle::registerLanguageList("en")); 290 EXPECT_NE(FontStyle::registerLanguageList("en"), FontStyle::registerLanguageList("jp")); 292 EXPECT_EQ(FontStyle::registerLanguageList("en,zh-Hans"), 293 FontStyle::registerLanguageList("en,zh-Hans")) [all...] |
FontTestUtils.cpp | 48 uint32_t langId = android::FontStyle::registerLanguageList( 69 family->addFont(new MinikinFontForTest(fontPath), android::FontStyle(weight, italic));
|
/frameworks/base/libs/hwui/hwui/ |
MinikinUtils.cpp | 27 FontStyle MinikinUtils::prepareMinikinPaint(MinikinPaint* minikinPaint, FontCollection** pFont, 31 FontStyle resolved = resolvedFace->fStyle; 33 /* Prepare minikin FontStyle */ 37 FontStyle minikinStyle(langListId, minikinVariant, resolved.getWeight(), resolved.getItalic()); 58 FontStyle minikinStyle = prepareMinikinPaint(&minikinPaint, &font, paint, typeface); 67 FontStyle minikinStyle = prepareMinikinPaint(&minikinPaint, &font, paint, typeface);
|
Typeface.h | 38 FontStyle fStyle;
|
Typeface.cpp | 46 typeface->fStyle = FontStyle(weight, italic); 141 const FontStyle defaultStyle;
|
MinikinUtils.h | 37 ANDROID_API static FontStyle prepareMinikinPaint(MinikinPaint* minikinPaint, FontCollection** pFont,
|
/external/skia/src/animator/ |
SkPaintPart.cpp | 74 SK_MEMBER(style, FontStyle)
|
/frameworks/minikin/sample/ |
example.cpp | 88 FontStyle fontStyle; 92 layout.doLayout(icuText.getBuffer(), 0, icuText.length(), icuText.length(), bidiFlags, fontStyle, paint);
|
example_skia.cpp | 120 FontStyle fontStyle(7); 124 layout.doLayout(icuText.getBuffer(), 0, icuText.length(), icuText.length(), bidiFlags, fontStyle, minikinPaint);
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/gdiplus/ |
gdiplusgpstubs.h | 53 typedef enum FontStyle GpFontStyle;
|
/frameworks/base/core/jni/ |
android_text_StaticLayout.cpp | 162 FontStyle style = MinikinUtils::prepareMinikinPaint(&minikinPaint, &font, paint, typeface); 171 b->addStyleRun(nullptr, nullptr, FontStyle{}, start, end, false);
|
/frameworks/base/core/jni/android/graphics/ |
FontFamily.cpp | 47 uint32_t langId = FontStyle::registerLanguageList(str.c_str()); 182 fontFamily->addFont(minikinFont, FontStyle(weight / 100, isItalic));
|
/prebuilts/devtools/tools/lib/ |
annotations-12.0.jar | |