Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/hwui/
DMinikinSkia.cpp50 const minikin::FontFakery& fakery) { in MinikinFontSkia_SetSkiaFont() argument
56 MinikinFontSkia::populateSkFont(skFont, font, fakery); in MinikinFontSkia_SetSkiaFont()
60 const minikin::FontFakery& fakery) const { in GetHorizontalAdvance()
64 MinikinFontSkia_SetSkiaFont(this, &skFont, paint, fakery); in GetHorizontalAdvance()
74 const minikin::FontFakery& fakery, in GetHorizontalAdvances() argument
77 MinikinFontSkia_SetSkiaFont(this, &skFont, paint, fakery); in GetHorizontalAdvances()
83 const minikin::FontFakery& fakery) const { in GetBounds()
87 MinikinFontSkia_SetSkiaFont(this, &skFont, paint, fakery); in GetBounds()
97 const minikin::FontFakery& fakery) const { in GetFontExtent()
99 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.h240 return font == o.font && fakery == o.fakery;
245 return font->getAdjustedFont(fakery.wghtAdjustment(), fakery.italAdjustment()); in hbFont()
249 return font->getAdjustedTypeface(fakery.wghtAdjustment(), fakery.italAdjustment()); in typeface()
257 FontFakery fakery; member
DLayout.h135 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.h46 const FontFakery& fakery) const override;
48 const FontFakery& fakery) const override;
50 const FontFakery& fakery) const override;
/frameworks/minikin/libs/minikin/
DLayoutCore.cpp57 FontFakery fakery; member
68 float advance = args->font->GetHorizontalAdvance(glyph, *args->paint, args->fakery); in harfbuzzGetGlyphHorizontalAdvance()
88 args->font->GetHorizontalAdvances(glyphVec.data(), count, *args->paint, args->fakery, in harfbuzzGetGlyphHorizontalAdvances()
333 new SkiaArguments({fakedFont.typeface().get(), &paint, fakedFont.fakery}), in LayoutPiece()
350 typeface->GetFontExtent(&verticalExtent, paint, fakedFont.fakery); in LayoutPiece()
504 fakedFont.typeface()->GetBounds(&bounds, glyphId, paint, fakedFont.fakery); in calculateBounds()
DFontCollection.cpp658 font.typeface()->GetFontExtent(&extent, paint, font.fakery); in getReferenceExtentForLocale()
685 font.typeface()->GetFontExtent(&extent, paint, font.fakery); in getReferenceExtentForLocale()
696 font.typeface()->GetFontExtent(&extent, paint, font.fakery); in getReferenceExtentForLocale()
705 font.typeface()->GetFontExtent(&result, paint, font.fakery); in getReferenceExtentForLocale()
/frameworks/base/libs/hwui/jni/
DPaint.cpp615 MinikinFontSkia::populateSkFont(font, baseFont.typeface().get(), baseFont.fakery); in getMetricsInternal()