Searched refs:wghtAdjustment (Results 1 – 2 of 2) sorted by relevance
/frameworks/minikin/include/minikin/ |
D | Font.h | 46 FontFakery(bool fakeBold, bool fakeItalic, int16_t wghtAdjustment, int8_t italAdjustment) in FontFakery() argument 47 : mBits(pack(fakeBold, fakeItalic, wghtAdjustment, italAdjustment)) {} in FontFakery() 55 int16_t wghtAdjustment() const { in wghtAdjustment() function 85 uint16_t pack(bool isFakeBold, bool isFakeItalic, int16_t wghtAdjustment, in pack() argument 90 if (wghtAdjustment != -1) { in pack() 92 bits |= (static_cast<uint16_t>(wghtAdjustment) << WGHT_ADJUSTMENT_SHIFT) & in pack() 245 return font->getAdjustedFont(fakery.wghtAdjustment(), fakery.italAdjustment()); in hbFont() 249 return font->getAdjustedTypeface(fakery.wghtAdjustment(), fakery.italAdjustment()); in typeface()
|
/frameworks/base/libs/hwui/jni/text/ |
D | TextShaper.cpp | 162 return layout->layout.getFakery(i).wghtAdjustment(); in TextShaper_Result_getWeightOverride()
|