HomeSort by relevance Sort by last modified time
    Searched full:fontstyle (Results 1 - 25 of 120) sorted by null

1 2 3 4 5

  /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...]
  /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,
  /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/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;
MinikinUtils.h 37 ANDROID_API static FontStyle prepareMinikinPaint(MinikinPaint* minikinPaint, FontCollection** pFont,
Typeface.cpp 46 typeface->fStyle = FontStyle(weight, italic);
141 const FontStyle defaultStyle;
  /frameworks/minikin/tests/
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...]
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...]
FontTestUtils.cpp 48 uint32_t langId = android::FontStyle::registerLanguageList(
69 family->addFont(new MinikinFontForTest(fontPath), android::FontStyle(weight, italic));
  /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);
  /external/skia/include/ports/
SkFontMgr_indirect.h 42 const SkFontStyle& fontStyle) const override;
51 const SkFontStyle& fontStyle) const override;
  /external/skia/src/fonts/
SkFontMgr_indirect.cpp 153 const SkFontStyle& fontStyle) const {
154 SkFontIdentity id = fProxy->matchNameStyle(familyName, fontStyle);
169 const SkFontStyle& fontStyle) const {
172 return this->matchFamilyStyle(familyName.c_str(), fontStyle);
  /external/skia/src/animator/
SkPaintPart.cpp 74 SK_MEMBER(style, FontStyle)
  /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);
  /external/skia/tests/
FontMgrTest.cpp 125 TestTypeface(const SkFontStyle& fontStyle, SkFontID id) : SkTypeface(fontStyle, id, false){}
634 REPORTER_ASSERT(reporter, typeface->fontStyle() == testCase.expectedResult);
  /external/skia/src/ports/
SkFontMgr_custom.cpp 259 const SkFontStyle& fontStyle) const override
262 return sset->matchStyle(fontStyle);
273 const SkFontStyle& fontStyle) const override
278 return fFamilies[i]->matchStyle(fontStyle);
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/gdiplus/
gdiplusgpstubs.h 53 typedef enum FontStyle GpFontStyle;
  /external/pdfium/core/src/fxge/win32/
win32_int.h 76 int fontstyle,
81 int fontstyle);
  /external/skia/gm/
fontmgr.cpp 30 const SkFontStyle& fontStyle) {
34 SkTypeface* typeface = fm->matchFamilyStyleCharacter(fontName, fontStyle,

Completed in 396 milliseconds

1 2 3 4 5