Home
last modified time | relevance | path

Searched refs:AttributedString (Results 1 – 15 of 15) 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/test/java/text/AttributedString/
DTestAttributedStringCtor.java31 package test.java.text.AttributedString;
35 import java.text.AttributedString;
45 AttributedString origString = new AttributedString("Hello world.", attributes); in main()
52 AttributedString newString = new AttributedString(iter); in main()
DgetRunStartLimitTest.java32 package test.java.text.AttributedString;
36 import java.text.AttributedString;
44 AttributedString as = new AttributedString(text); in main()
DAttributedStringTest.java29 package test.java.text.AttributedString;
34 import java.text.AttributedString;
64 AttributedString string; in main()
68 string = new AttributedString(text); in main()
/libcore/ojluni/src/main/java/java/text/
DFormat.java281 AttributedString as = new AttributedString(s); in createAttributedCharacterIterator()
298 AttributedString as = new AttributedString(iterators); in createAttributedCharacterIterator()
316 AttributedString as = new AttributedString(string); in createAttributedCharacterIterator()
335 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
783 if (AttributedString.this != that.getString()) in equals()
876 … valuesMatch(value, AttributedString.this.getAttribute(attribute, runIndex - 1))) { in getRunStart()
894AttributedString.this.attributeValuesMatch(attributes, currentRunIndex, runIndex - 1)) { in getRunStart()
[all …]
DDecimalFormat.java1177 AttributedString result = new AttributedString(textBuilder.toString()); in formatToCharacterIterator()
/libcore/
DEXPECTED_UPSTREAM777 …uni/src/main/java/java/text/AttributedString.java,jdk17u/jdk-17.0.6-ga,src/java.base/share/classes…
2124 ojluni/src/test/java/text/AttributedString/AttributedStringTest.java,jdk17u/jdk-17.0.6-ga,test/jdk/…
2125 …jluni/src/test/java/text/AttributedString/TestAttributedStringCtor.java,jdk17u/jdk-17.0.6-ga,test/…
2126 ojluni/src/test/java/text/AttributedString/getRunStartLimitTest.java,jdk17u/jdk-17.0.6-ga,test/jdk/…
Dopenjdk_java_files.bp788 "ojluni/src/main/java/java/text/AttributedString.java",
/libcore/api/
Dcurrent.txt10878 public class AttributedString {
10879 ctor public AttributedString(String);
10880 …ctor public AttributedString(String, java.util.Map<? extends java.text.AttributedCharacterIterator…
10881 ctor public AttributedString(java.text.AttributedCharacterIterator);
10882 ctor public AttributedString(java.text.AttributedCharacterIterator, int, int);
10883 …ctor public AttributedString(java.text.AttributedCharacterIterator, int, int, java.text.Attributed…