HomeSort by relevance Sort by last modified time
    Searched refs:ITALIC (Results 1 - 25 of 73) sorted by null

1 2 3

  /external/chromium_org/ui/gfx/
text_constants.h 57 ITALIC,
font_list_unittest.cc 24 if (style & gfx::Font::ITALIC)
25 font_string += "|italic";
45 int font_style = Font::BOLD | Font::ITALIC;
48 EXPECT_EQ("Arial,Droid Sans serif,Bold Italic 11px",
65 font_list = FontList(font.DeriveFont(-2, Font::ITALIC));
66 EXPECT_EQ("Arial,Italic 6px", font_list.GetFontDescriptionString());
101 " Italic 13px");
104 EXPECT_EQ("serif|13|bold|italic", FontToString(fonts[0]));
105 EXPECT_EQ("Sans serif|13|bold|italic", FontToString(fonts[1]));
125 font_list = FontList(font.DeriveFont(-2, Font::ITALIC));
    [all...]
font.h 27 ITALIC = 2,
59 // bitmask of the values: BOLD, ITALIC and UNDERLINE.
platform_font_pango.cc 127 style |= gfx::Font::ITALIC;
174 if (gfx::Font::ITALIC & style)
240 case gfx::Font::ITALIC:
331 paint->setTextSkewX((gfx::Font::ITALIC & style_) && !typeface_->isItalic() ?
render_text_linux.cc 344 // Only split text runs as needed for bold and italic font styles changes.
346 BreakList<bool>::const_iterator italic = styles()[ITALIC].breaks().begin(); local
348 italic != styles()[ITALIC].breaks().end()) {
350 (italic->second ? Font::ITALIC : 0);
352 const size_t italic_end = styles()[ITALIC].GetRange(italic).end();
361 TextIndexToLayoutIndex(std::max(bold->first, italic->first))
    [all...]
font_list.cc 32 // Font supports BOLD and ITALIC; underline is supported via RenderText.
41 else if (!styles_size[i].compare("Italic"))
42 *font_style |= gfx::Font::ITALIC;
53 if (font_style & gfx::Font::ITALIC)
54 result += "Italic ";
platform_font_win.cc 59 font_info->lfItalic = (font_style & gfx::Font::ITALIC) != 0;
243 style |= Font::ITALIC;
canvas_skia.cc 151 render_text->SetStyle(ITALIC, (font.GetStyle() & Font::ITALIC) != 0);
render_text_mac.cc 227 (style.style(ITALIC) ? kCTFontItalicTrait : 0);
319 run->font_style |= Font::ITALIC;
  /packages/apps/Contacts/tests/src/com/android/contacts/format/
TestTextWithHighlightingFactory.java 39 setSpan(new StyleSpan(Typeface.ITALIC), 0, baseText.sizeCopied, 0);
40 setSpan(new StyleSpan(Typeface.ITALIC), baseText.sizeCopied + 1,
  /frameworks/base/graphics/java/android/graphics/
Typeface.java 56 public static final int ITALIC = 2;
71 /** Returns true if getStyle() has the ITALIC bit set. */
73 return (mStyle & ITALIC) != 0;
83 * @param style The style (normal, bold, italic) of the typeface.
84 * e.g. NORMAL, BOLD, ITALIC, BOLD_ITALIC
98 * @param style The style (normal, bold, italic) of the typeface.
99 * e.g. NORMAL, BOLD, ITALIC, BOLD_ITALIC
192 create((String) null, Typeface.ITALIC),
  /cts/tests/tests/graphics/src/android/graphics/cts/
TypefaceTest.java 69 typeface = createTypeface(Typeface.ITALIC);
71 assertEquals(Typeface.ITALIC, typeface.getStyle());
96 typeface = Typeface.create(INVALID, Typeface.ITALIC);
110 typeface = Typeface.defaultFromStyle(Typeface.ITALIC);
  /frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
FontLoader.java 60 private static final String FONT_SUFFIX_ITALIC = "-Italic.ttf";
68 Font.ITALIC,
69 Font.BOLD | Font.ITALIC
72 Typeface.ITALIC, Typeface.BOLD, Typeface.NORMAL
262 if (mFontInfo.font[Typeface.ITALIC] == null) {
263 computeDerivedFont(Typeface.ITALIC, DERIVE_ITALIC);
289 mFontInfo.font[Typeface.ITALIC] = font;
  /frameworks/base/core/java/android/text/style/
StyleSpan.java 29 * Note that styles are cumulative -- if both bold and italic are set in
30 * separate spans, or if the base style is bold and a span calls for italic,
31 * you get bold italic. You can't turn off a style from the base style.
41 * include bold, italic, and normal. Values are constants defined
106 if ((fake & Typeface.ITALIC) != 0) {
TypefaceSpan.java 90 if ((fake & Typeface.ITALIC) != 0) {
  /packages/apps/UnifiedEmail/src/com/android/mail/ui/
CustomTypefaceSpan.java 74 if ((fake & Typeface.ITALIC) != 0) {
  /frameworks/base/graphics/java/android/renderscript/
Font.java 38 * and point size. You can create multiple font objects to represent styles such as bold or italic text,
91 ITALIC,
111 sansFamily.mItalicFileName = "Roboto-Italic.ttf";
119 serifFamily.mItalicFileName = "DroidSerif-Italic.ttf";
144 case ITALIC:
  /external/javassist/sample/rmi/
CountApplet.java 39 font = new Font("SansSerif", Font.ITALIC, 40);
  /frameworks/base/core/tests/coretests/src/android/text/
HtmlTest.java 60 assertEquals(Typeface.ITALIC, ((StyleSpan) spans[0]).getStyle());
66 assertEquals(Typeface.ITALIC, ((StyleSpan) spans[2]).getStyle());
192 s = new SpannableString("Hello italic world");
193 s.setSpan(new StyleSpan(Typeface.ITALIC), 6, s.length() - 6,
195 assertEquals(Html.toHtml(s), "<p>Hello <i>italic</i> world</p>\n");
  /cts/tests/tests/rsg/src/android/renderscriptgraphics/cts/
FontTest.java 82 assertEquals(Font.Style.ITALIC, Font.Style.valueOf("ITALIC"));
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
MeasureText.java 65 Typeface.ITALIC));
  /frameworks/base/graphics/tests/graphicstests/src/android/graphics/
TypefaceTest.java 64 assertTrue("style", mFaces[4].getStyle() == Typeface.ITALIC);
  /external/chromium_org/ui/views/examples/
textfield_example.cc 130 name_->ApplyStyle(gfx::ITALIC, true, small_range);
  /frameworks/base/core/java/android/text/
Html.java 272 if ((s & Typeface.ITALIC) != 0) {
362 if ((s & Typeface.ITALIC) != 0) {
491 start(mSpannableStringBuilder, new Italic());
493 start(mSpannableStringBuilder, new Italic());
495 start(mSpannableStringBuilder, new Italic());
497 start(mSpannableStringBuilder, new Italic());
541 end(mSpannableStringBuilder, Italic.class, new StyleSpan(Typeface.ITALIC));
543 end(mSpannableStringBuilder, Italic.class, new StyleSpan(Typeface.ITALIC));
    [all...]
  /external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/ui/
DrawUtils.java 377 * @return the italic version of given {@link Font}.
380 FontData[] boldData = getModifiedFontData(baseFont, SWT.BOLD | SWT.ITALIC);
385 * @return the italic version of given {@link Font}.
388 FontData[] boldData = getModifiedFontData(baseFont, SWT.ITALIC);

Completed in 1216 milliseconds

1 2 3