Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/tests/unit/
DTypefaceTests.cpp85 std::unique_ptr<Typeface> bold(Typeface::createWithDifferentBaseWeight(nullptr, 700)); in TEST() local
86 EXPECT_EQ(700, bold->fStyle.weight()); in TEST()
87 EXPECT_EQ(minikin::FontStyle::Slant::UPRIGHT, bold->fStyle.slant()); in TEST()
88 EXPECT_EQ(Typeface::kNormal, bold->fAPIStyle); in TEST()
104 std::unique_ptr<Typeface> bold(Typeface::createRelative(nullptr, Typeface::kBold)); in TEST() local
105 EXPECT_EQ(700, bold->fStyle.weight()); in TEST()
106 EXPECT_EQ(minikin::FontStyle::Slant::UPRIGHT, bold->fStyle.slant()); in TEST()
107 EXPECT_EQ(Typeface::kBold, bold->fAPIStyle); in TEST()
134 std::unique_ptr<Typeface> bold(Typeface::createRelative(base.get(), Typeface::kBold)); in TEST() local
135 EXPECT_EQ(1000, bold->fStyle.weight()); in TEST()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
DTextAttribute.java30 public boolean bold; field in TextAttribute
37 FontSize size, boolean bold, boolean italic, boolean underlined, in TextAttribute() argument
43 this.bold = bold; in TextAttribute()
DValueParser.java247 boolean bold = (format & 0x10) != 0; in retrieveTextAttribute()
255 align, size, bold, italic, underlined, in retrieveTextAttribute()
/frameworks/base/tools/stringslint/
Dstringslint.py41 def format(fg=None, bg=None, bright=False, bold=False, dim=False, reset=False): argument
50 if bold: codes.append("1")
60 value = "%sLine %d: '%s':%s %s" % (format(fg=color, bold=True),
/frameworks/native/services/surfaceflinger/
DColorizer.h49 void bold(std::string& out) { in bold() function
DSurfaceFlinger.cpp4852 colorizer.bold(result); in dumpAllLocked()
4866 colorizer.bold(result); in dumpAllLocked()
4872 colorizer.bold(result); in dumpAllLocked()
4890 colorizer.bold(result); in dumpAllLocked()
4915 colorizer.bold(result); in dumpAllLocked()
4927 colorizer.bold(result); in dumpAllLocked()
4983 colorizer.bold(result); in dumpAllLocked()
/frameworks/base/cmds/bootanimation/
DBootAnimation.h151 void drawText(const char* str, const Font& font, bool bold, int* x, int* y);
DFORMAT.md68 bold weight.
71 * Each row is divided in half: regular weight glyphs on the top half, bold glyphs on the bottom
DBootAnimation.cpp594 void BootAnimation::drawText(const char* str, const Font& font, bool bold, int* x, int* y) { in drawText() argument
628 cropRect[1] += bold ? 2 * font.char_height : font.char_height; in drawText()
/frameworks/base/tools/apilint/
Dapilint.py37 def format(fg=None, bg=None, bright=False, bold=False, dim=False, reset=False): argument
47 if bold: codes.append("1")
718 … dump = "%s%s:%s %s" % (format(fg=RED, bg=BLACK, bold=True), self.head, format(reset=True), msg)
721 … dump = "%s%s:%s %s" % (format(fg=YELLOW, bg=BLACK, bold=True), self.head, format(reset=True), msg)
2173 print "%s Deprecated at birth %s\n" % ((format(fg=WHITE, bg=BLUE, bold=True),
2325 … print "%s API changes noticed %s\n" % ((format(fg=WHITE, bg=BLUE, bold=True), format(reset=True)))
2331 print "%s API style issues: %s %s" % ((format(fg=WHITE, bg=BLUE, bold=True),
2334 print "%s filter: %s %s" % ((format(fg=WHITE, bg=BLUE, bold=True),