/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
H A D | TextAttribute.java | 30 public boolean bold; field in class:TextAttribute 37 FontSize size, boolean bold, boolean italic, boolean underlined, 43 this.bold = bold; 36 TextAttribute(int start, int length, TextAlignment align, FontSize size, boolean bold, boolean italic, boolean underlined, boolean strikeThrough, TextColor color) argument
|
H A D | ValueParser.java | 245 boolean bold = (format & 0x10) != 0; 253 align, size, bold, italic, underlined,
|
/frameworks/support/core/ktx/src/androidTest/java/androidx/core/text/ |
H A D | SpannableStringTest.kt | 34 val bold = StyleSpan(BOLD) 35 s += bold 36 assertEquals(0, s.getSpanStart(bold)) 37 assertEquals(s.length, s.getSpanEnd(bold)) 42 val bold = StyleSpan(BOLD) 43 s += bold 45 s -= bold 65 val bold = spans.filterIsInstance<StyleSpan>().single() 66 assertEquals(0, s.getSpanStart(bold)) 67 assertEquals(5, s.getSpanEnd(bold)) [all...] |
H A D | SpannedStringTest.kt | 34 val bold = StyleSpan(BOLD) 38 s.setSpan(bold, 0, 5, SPAN_INCLUSIVE_EXCLUSIVE) 41 assertSame(bold, s.getSpans<StyleSpan>().single()) 45 assertSame(bold, s.getSpans<Any>(0, 6).single())
|
H A D | SpannableStringBuilderTest.kt | 47 val bold = StyleSpan(BOLD) 50 inSpans(bold) { 60 assertSame(bold, boldSpan) 61 assertEquals(7, result.getSpanStart(bold)) 62 assertEquals(12, result.getSpanEnd(bold)) 68 bold { 77 val bold = spans.filterIsInstance<StyleSpan>().single() 78 assertEquals(BOLD, bold.style) 79 assertEquals(7, result.getSpanStart(bold)) 80 assertEquals(12, result.getSpanEnd(bold)) [all...] |
H A D | HtmlTest.kt | 56 bold {
|
/frameworks/base/libs/hwui/tests/unit/ |
H A D | TypefaceTests.cpp | 84 std::unique_ptr<Typeface> bold(Typeface::createWithDifferentBaseWeight(nullptr, 700)); 85 EXPECT_EQ(700, bold->fStyle.weight()); 86 EXPECT_EQ(minikin::FontStyle::Slant::UPRIGHT, bold->fStyle.slant()); 87 EXPECT_EQ(Typeface::kNormal, bold->fAPIStyle); 103 std::unique_ptr<Typeface> bold(Typeface::createRelative(nullptr, Typeface::kBold)); 104 EXPECT_EQ(700, bold->fStyle.weight()); 105 EXPECT_EQ(minikin::FontStyle::Slant::UPRIGHT, bold->fStyle.slant()); 106 EXPECT_EQ(Typeface::kBold, bold->fAPIStyle); 124 // In Java, Typeface.create(Typeface.create("sans-serif-bold"), 131 // In Java, Typeface.create(Typeface.create("sans-serif-bold"), [all...] |
/frameworks/native/services/surfaceflinger/ |
H A D | Colorizer.h | 49 void bold(String8& out) { function in class:android::Colorizer
|
H A D | SurfaceFlinger.cpp | 4188 colorizer.bold(result); 4199 colorizer.bold(result); 4207 colorizer.bold(result); 4226 colorizer.bold(result); 4241 colorizer.bold(result); 4254 colorizer.bold(result); 4318 colorizer.bold(result);
|
/frameworks/base/tools/stringslint/ |
H A D | stringslint.py | 30 def format(fg=None, bg=None, bright=False, bold=False, dim=False, reset=False): 39 if bold: codes.append("1") 49 value = "%sLine %d: '%s':%s %s" % (format(fg=YELLOW, bold=True),
|
/frameworks/support/core/ktx/src/main/java/androidx/core/text/ |
H A D | SpannableStringBuilder.kt | 79 * Wrap appended text in [builderAction] in a bold [StyleSpan]. 83 inline fun SpannableStringBuilder.bold(builderAction: SpannableStringBuilder.() -> Unit) =
|
/frameworks/base/cmds/bootanimation/ |
H A D | BootAnimation.h | 149 void drawText(const char* str, const Font& font, bool bold, int* x, int* y);
|
H A D | BootAnimation.cpp | 529 // top row is regular text; the bottom row is bold. 551 font->char_height = font->texture.h / FONT_NUM_ROWS / 2; // There are bold and regular rows 557 void BootAnimation::drawText(const char* str, const Font& font, bool bold, int* x, int* y) { argument 590 // Move down to bottom of regular (one char_heigh) or bold (two char_heigh) line 591 cropRect[1] += bold ? 2 * font.char_height : font.char_height;
|
/frameworks/base/tools/apilint/ |
H A D | apilint.py | 37 def format(fg=None, bg=None, bright=False, bold=False, dim=False, reset=False): 47 if bold: codes.append("1") 231 dump = "%s%s:%s %s" % (format(fg=RED, bg=BLACK, bold=True), self.head, format(reset=True), msg) 234 dump = "%s%s:%s %s" % (format(fg=YELLOW, bg=BLACK, bold=True), self.head, format(reset=True), msg) 1502 print "%s Deprecated at birth %s\n" % ((format(fg=WHITE, bg=BLUE, bold=True), 1563 print "%s API compatibility issues %s\n" % ((format(fg=WHITE, bg=BLUE, bold=True), format(reset=True))) 1570 print "%s API changes noticed %s\n" % ((format(fg=WHITE, bg=BLUE, bold=True), format(reset=True))) 1576 print "%s API style issues %s\n" % ((format(fg=WHITE, bg=BLUE, bold=True), format(reset=True)))
|