Home
last modified time | relevance | path

Searched refs:TextAttribute (Results 1 – 8 of 8) sorted by relevance

/libcore/ojluni/src/main/java/java/awt/font/
DTextAttribute.java96 public final class TextAttribute extends Attribute { class
99 private static final Map<String, TextAttribute>
100 instanceMap = new HashMap<String, TextAttribute>(29);
107 protected TextAttribute(String name) { in TextAttribute() method in TextAttribute
109 if (this.getClass() == TextAttribute.class) { in TextAttribute()
118 if (this.getClass() != TextAttribute.class) { in readResolve()
123 TextAttribute instance = instanceMap.get(getName()); in readResolve()
164 public static final TextAttribute FAMILY =
165 new TextAttribute("family");
187 public static final TextAttribute WEIGHT =
[all …]
/libcore/ojluni/src/test/java/text/AttributedString/
DgetRunStartLimitTest.java34 import java.awt.font.TextAttribute;
47 as.addAttribute(TextAttribute.WEIGHT, in main()
48 TextAttribute.WEIGHT_LIGHT, in main()
51 as.addAttribute(TextAttribute.WEIGHT, in main()
52 TextAttribute.WEIGHT_BOLD, in main()
55 as.addAttribute(TextAttribute.WEIGHT, in main()
56 TextAttribute.WEIGHT_EXTRABOLD, in main()
61 as.addAttribute(TextAttribute.WIDTH, in main()
62 new Annotation(TextAttribute.WIDTH_EXTENDED), in main()
65 as.addAttribute(TextAttribute.WIDTH, in main()
[all …]
DTestAttributedStringCtor.java33 import java.awt.font.TextAttribute;
44 attributes.put(TextAttribute.WEIGHT, TextAttribute.WEIGHT_BOLD); in main()
/libcore/luni/src/test/java/libcore/java/awt/font/
DTextAttributeTest.java19 import java.awt.font.TextAttribute;
26 TextAttribute.KERNING.toString()); in testAttributeNames()
28 TextAttribute.LIGATURES.toString()); in testAttributeNames()
30 TextAttribute.TRACKING.toString()); in testAttributeNames()
34 assertEquals(Integer.valueOf(1), TextAttribute.KERNING_ON); in testAttributeValues()
35 assertEquals(Integer.valueOf(1), TextAttribute.LIGATURES_ON); in testAttributeValues()
36 assertEquals(Float.valueOf(0.04f), TextAttribute.TRACKING_LOOSE); in testAttributeValues()
37 assertEquals(Float.valueOf(-0.04f), TextAttribute.TRACKING_TIGHT); in testAttributeValues()
/libcore/ojluni/src/test/java/text/AttributedCharacterIterator/Attribute/
DReadResolve.java33 import java.awt.font.TextAttribute;
40 testSerializationCycle(TextAttribute.INPUT_METHOD_HIGHLIGHT); in main()
/libcore/api/
Dcurrent.txt1222 public final class TextAttribute extends java.text.AttributedCharacterIterator.Attribute {
1223 ctor protected TextAttribute(String);
1224 field public static final java.awt.font.TextAttribute BACKGROUND;
1225 field public static final java.awt.font.TextAttribute BIDI_EMBEDDING;
1226 field public static final java.awt.font.TextAttribute CHAR_REPLACEMENT;
1227 field public static final java.awt.font.TextAttribute FAMILY;
1228 field public static final java.awt.font.TextAttribute FONT;
1229 field public static final java.awt.font.TextAttribute FOREGROUND;
1230 field public static final java.awt.font.TextAttribute INPUT_METHOD_HIGHLIGHT;
1231 field public static final java.awt.font.TextAttribute INPUT_METHOD_UNDERLINE;
[all …]
/libcore/
Dopenjdk_java_files.bp8 "ojluni/src/main/java/java/awt/font/TextAttribute.java",
DEXPECTED_UPSTREAM25 …luni/src/main/java/java/awt/font/TextAttribute.java,jdk8u/jdk8u121-b13,jdk/src/share/classes/java/…