Home
last modified time | relevance | path

Searched refs:AttributedString (Results 1 – 12 of 12) sorted by relevance

/libcore/luni/src/test/java/libcore/java/text/
DOldAttributedStringTest.java20 import java.text.AttributedString;
30 static void assertEqualString (String msg, String expected, AttributedString attrString) { in assertEqualString()
42 AttributedString attrString = new AttributedString(testString); in test_ConstructorLAttributedCharacterIterator_1()
44 AttributedString attrString2 = new AttributedString(iter); in test_ConstructorLAttributedCharacterIterator_1()
50 AttributedString attrString = new AttributedString(testString); in test_ConstructorLAttributedCharacterIterator_2()
52 AttributedString attrString2 = new AttributedString(iter, 2, 7); in test_ConstructorLAttributedCharacterIterator_2()
69 new AttributedString(new testAttributedCharacterIterator(), 0, 0); in test_ConstructorLAttributedCharacterIteratorII()
76 new AttributedString(new testAttributedCharacterIterator(), -1, 0); in test_ConstructorLAttributedCharacterIteratorII()
84 new AttributedString(new testAttributedCharacterIterator(), 0, -1); in test_ConstructorLAttributedCharacterIteratorII()
93 AttributedString attrString = new AttributedString(testString); in test_ConstructorLAttributedCharacterIterator_3()
[all …]
DOldAttributedCharacterIteratorTest.java21 import java.text.AttributedString;
33 AttributedString as = new AttributedString("test"); in test_getRunLimitLSet()
43 as = new AttributedString("test"); in test_getRunLimitLSet()
56 AttributedString as = new AttributedString("test"); in test_getAllAttributeKeys()
98 AttributedString as = new AttributedString("test"); in test_getAttributes()
106 AttributedString as = new AttributedString(""); in test_getRunLimit()
109 as = new AttributedString(new AttributedString("test text"). in test_getRunLimit()
117 AttributedString as = new AttributedString(""); in test_getRunLimitLAttribute()
121 as = new AttributedString("text"); in test_getRunLimitLAttribute()
138 AttributedString as = new AttributedString(""); in test_getRunStart()
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
DAttributedCharacterIteratorTest.java21 import java.text.AttributedString;
31 AttributedString attrString = new AttributedString(test); in test_current()
51 AttributedString attrString = new AttributedString(test); in test_first()
67 AttributedString attrString = new AttributedString(test); in test_getBeginIndex()
77 AttributedString attrString = new AttributedString(test); in test_getEndIndex()
87 AttributedString attrString = new AttributedString(test); in test_getIndex()
104 AttributedString attrString = new AttributedString(test); in test_last()
120 AttributedString attrString = new AttributedString(test); in test_next()
137 AttributedString attrString = new AttributedString(test); in test_previous()
148 AttributedString attrString = new AttributedString(test); in test_setIndexI()
[all …]
DAttributedStringTest.java20 import java.text.AttributedString;
34 AttributedString attrString = new AttributedString(test); in test_ConstructorLjava_lang_String()
49 assertNotNull(new AttributedString(new testAttributedCharacterIterator())); in test_ConstructorLAttributedCharacterIterator()
56 assertNotNull(new AttributedString(new testAttributedCharacterIterator(), 0, 0)); in test_ConstructorLAttributedCharacterIteratorII()
120 AttributedString as = new AttributedString("test"); in test_addAttributeLjava_text_AttributedCharacterIterator$AttributeLjava_lang_ObjectII()
127 as = new AttributedString("test"); in test_addAttributeLjava_text_AttributedCharacterIterator$AttributeLjava_lang_ObjectII()
135 as = new AttributedString("test"); in test_addAttributeLjava_text_AttributedCharacterIterator$AttributeLjava_lang_ObjectII()
144 as = new AttributedString("123", new WeakHashMap()); in test_addAttributeLjava_text_AttributedCharacterIterator$AttributeLjava_lang_ObjectII()
165 AttributedString as = new AttributedString("123", new WeakHashMap()); in test_addAttributeLjava_text_AttributedCharacterIterator$AttributeLjava_lang_Object()
DBidiTest.java20 import java.text.AttributedString;
/libcore/ojluni/src/main/java/java/text/
DFormat.java280 AttributedString as = new AttributedString(s); in createAttributedCharacterIterator()
297 AttributedString as = new AttributedString(iterators); in createAttributedCharacterIterator()
315 AttributedString as = new AttributedString(string); in createAttributedCharacterIterator()
334 AttributedString as = new AttributedString(iterator); in createAttributedCharacterIterator()
DCharacterIteratorFieldDelegate.java44 private ArrayList<AttributedString> attributedStrings;
65 AttributedString as = attributedStrings. in formatted()
78 attributedStrings.add(new AttributedString( in formatted()
85 AttributedString string = new AttributedString( in formatted()
110 attributedStrings.add(new AttributedString( in getIterator()
122 return new AttributedString(iterators).getIterator(); in getIterator()
DAttributedString.java50 public class AttributedString { class
72 AttributedString(AttributedCharacterIterator[] iterators) { in AttributedString() method in AttributedString
122 public AttributedString(String text) { in AttributedString() method in AttributedString
139 public AttributedString(String text, in AttributedString() method in AttributedString
176 public AttributedString(AttributedCharacterIterator text) { in AttributedString() method in AttributedString
200 public AttributedString(AttributedCharacterIterator text, in AttributedString() method in AttributedString
228 public AttributedString(AttributedCharacterIterator text, in AttributedString() method in AttributedString
785 if (AttributedString.this != that.getString()) in equals()
878 … valuesMatch(value, AttributedString.this.getAttribute(attribute, runIndex - 1))) { in getRunStart()
896AttributedString.this.attributeValuesMatch(attributes, currentRunIndex, runIndex - 1)) { in getRunStart()
[all …]
DDecimalFormat.java1133 AttributedString result = new AttributedString(textBuilder.toString()); in formatToCharacterIterator()
/libcore/
Dopenjdk_java_files.bp768 "ojluni/src/main/java/java/text/AttributedString.java",
DEXPECTED_UPSTREAM735 …ni/src/main/java/java/text/AttributedString.java,jdk11u/jdk-11.0.13-ga,src/java.base/share/classes…
/libcore/api/
Dcurrent.txt10355 public class AttributedString {
10356 ctor public AttributedString(String);
10357 …ctor public AttributedString(String, java.util.Map<? extends java.text.AttributedCharacterIterator…
10358 ctor public AttributedString(java.text.AttributedCharacterIterator);
10359 ctor public AttributedString(java.text.AttributedCharacterIterator, int, int);
10360 …ctor public AttributedString(java.text.AttributedCharacterIterator, int, int, java.text.Attributed…