Home
last modified time | relevance | path

Searched refs:isFakeBold (Results 1 – 5 of 5) sorted by relevance

/frameworks/minikin/tests/unittest/
DFontCollectionItemizeTest.cpp137 EXPECT_FALSE(runs[0].fakedFont.fakery.isFakeBold()); in TEST()
145 EXPECT_FALSE(runs[0].fakedFont.fakery.isFakeBold()); in TEST()
153 EXPECT_FALSE(runs[0].fakedFont.fakery.isFakeBold()); in TEST()
161 EXPECT_FALSE(runs[0].fakedFont.fakery.isFakeBold()); in TEST()
171 EXPECT_FALSE(runs[0].fakedFont.fakery.isFakeBold()); in TEST()
179 EXPECT_FALSE(runs[0].fakedFont.fakery.isFakeBold()); in TEST()
189 EXPECT_FALSE(runs[0].fakedFont.fakery.isFakeBold()); in TEST()
243 EXPECT_FALSE(runs[0].fakedFont.fakery.isFakeBold()); in TEST()
253 EXPECT_FALSE(runs[0].fakedFont.fakery.isFakeBold()); in TEST()
261 EXPECT_FALSE(runs[0].fakedFont.fakery.isFakeBold()); in TEST()
[all …]
/frameworks/minikin/include/minikin/
DFont.h50 bool isFakeBold() { return (mBits & MASK_FAKE_BOLD) != 0; } in isFakeBold() function
85 uint16_t pack(bool isFakeBold, bool isFakeItalic, int16_t wghtAdjustment, in pack() argument
88 bits |= isFakeBold ? MASK_FAKE_BOLD : 0; in pack()
/frameworks/base/libs/hwui/hwui/
DMinikinSkia.cpp174 skFont->setEmbolden(skFont->isEmbolden() || fakery.isFakeBold()); in populateSkFont()
/frameworks/minikin/libs/minikin/
DFontFamily.cpp299 bool isFakeBold = wanted.weight() >= 600 && (wanted.weight() - actual.weight()) >= 200; in computeFakery() local
302 return FontFakery(isFakeBold, isFakeItalic); in computeFakery()
/frameworks/base/libs/hwui/jni/text/
DTextShaper.cpp150 return layout->layout.getFakery(i).isFakeBold(); in TextShaper_Result_getFakeBold()