Searched defs:Font (Results 1 - 2 of 2) sorted by relevance

/frameworks/base/awt/java/awt/
H A DFont.java53 * The Font class represents fonts for rendering text. This class allow to map
61 * The Font object is identified by two types of names. The logical font name is
65 * example, Arial). In all the Font is identified by three attributes: the
70 public class Font implements Serializable { class in inherits:Serializable
149 static final Font DEFAULT_FONT = new Font("Dialog", Font.PLAIN, 12); //$NON-NLS-1$
152 * The name of the Font.
157 * The style of the Font.
162 * The size of the Font
240 public Font(Map<? extends Attribute, ?> attributes) { method in class:Font
320 public Font(String name, int style, int size) { method in class:Font
[all...]
/frameworks/base/core/java/android/text/
H A DHtml.java626 text.setSpan(new Font(color, face), len, len, Spannable.SPAN_MARK_MARK);
631 Object obj = getLast(text, Font.class);
637 Font f = (Font) obj;
795 private static class Font { class in class:HtmlToSpannedConverter
799 public Font(String color, String face) { method in class:HtmlToSpannedConverter.Font

Completed in 174 milliseconds