Home
last modified time | relevance | path

Searched refs:fakery (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/libs/hwui/hwui/
DMinikinSkia.cpp46 const minikin::FontFakery& fakery) { in MinikinFontSkia_SetSkiaFont() argument
52 MinikinFontSkia::populateSkFont(skFont, font, fakery); in MinikinFontSkia_SetSkiaFont()
56 const minikin::FontFakery& fakery) const { in GetHorizontalAdvance()
60 MinikinFontSkia_SetSkiaFont(this, &skFont, paint, fakery); in GetHorizontalAdvance()
70 const minikin::FontFakery& fakery, in GetHorizontalAdvances() argument
73 MinikinFontSkia_SetSkiaFont(this, &skFont, paint, fakery); in GetHorizontalAdvances()
79 const minikin::FontFakery& fakery) const { in GetBounds()
83 MinikinFontSkia_SetSkiaFont(this, &skFont, paint, fakery); in GetBounds()
93 const minikin::FontFakery& fakery) const { in GetFontExtent()
95 MinikinFontSkia_SetSkiaFont(this, &skFont, paint, fakery); in GetFontExtent()
[all …]
DMinikinSkia.h38 const minikin::FontFakery& fakery) const override;
42 const minikin::FontFakery& fakery,
47 const minikin::FontFakery& fakery) const override;
50 const minikin::FontFakery& fakery) const override;
72 minikin::FontFakery fakery);
/frameworks/minikin/include/minikin/
DMinikinFont.h42 const FontFakery& fakery) const = 0;
44 const MinikinPaint& paint, const FontFakery& fakery, in GetHorizontalAdvances() argument
47 outAdvances[i] = GetHorizontalAdvance(glyph_ids[i], paint, fakery); in GetHorizontalAdvances()
52 const FontFakery& fakery) const = 0;
55 const FontFakery& fakery) const = 0;
DFont.h56 return font == o.font && fakery == o.fakery;
65 FontFakery fakery; member
DLayout.h89 FontFakery getFakery(int i) const { return mGlyphs[i].font.fakery; } in getFakery()
/frameworks/minikin/tests/unittest/
DFontCollectionItemizeTest.cpp137 EXPECT_FALSE(runs[0].fakedFont.fakery.isFakeBold()); in TEST()
138 EXPECT_FALSE(runs[0].fakedFont.fakery.isFakeItalic()); in TEST()
145 EXPECT_FALSE(runs[0].fakedFont.fakery.isFakeBold()); in TEST()
146 EXPECT_FALSE(runs[0].fakedFont.fakery.isFakeItalic()); in TEST()
153 EXPECT_FALSE(runs[0].fakedFont.fakery.isFakeBold()); in TEST()
154 EXPECT_FALSE(runs[0].fakedFont.fakery.isFakeItalic()); in TEST()
161 EXPECT_FALSE(runs[0].fakedFont.fakery.isFakeBold()); in TEST()
162 EXPECT_FALSE(runs[0].fakedFont.fakery.isFakeItalic()); in TEST()
171 EXPECT_FALSE(runs[0].fakedFont.fakery.isFakeBold()); in TEST()
172 EXPECT_FALSE(runs[0].fakedFont.fakery.isFakeItalic()); in TEST()
[all …]
/frameworks/minikin/tests/util/
DFreeTypeMinikinFontForTest.h42 const FontFakery& fakery) const override;
44 const FontFakery& fakery) const override;
46 const FontFakery& fakery) const override;
/frameworks/minikin/libs/minikin/
DLayoutCore.cpp52 FontFakery fakery; member
63 float advance = args->font->GetHorizontalAdvance(glyph, *args->paint, args->fakery); in harfbuzzGetGlyphHorizontalAdvance()
83 args->font->GetHorizontalAdvances(glyphVec.data(), count, *args->paint, args->fakery, in harfbuzzGetGlyphHorizontalAdvances()
373 new SkiaArguments({fakedFont.font->typeface().get(), &paint, fakedFont.fakery}), in LayoutPiece()
390 fakedFont.font->typeface()->GetFontExtent(&verticalExtent, paint, fakedFont.fakery); in LayoutPiece()
DBoundsCache.cpp36 minikinFont->GetBounds(&tmpRect, layoutPiece.glyphIdAt(i), paint, font.fakery); in getBounds()
DMeasuredText.cpp256 minikinFont->GetBounds(&tmpRect, layoutPiece.glyphIdAt(i), paint, font.fakery); in operator ()()
/frameworks/base/libs/hwui/jni/
DPaint.cpp557 MinikinFontSkia::populateSkFont(font, baseFont.font->typeface().get(), baseFont.fakery); in getMetricsInternal()