Home
last modified time | relevance | path

Searched refs:AttributedCharacterIterator (Results 1 – 25 of 25) sorted by relevance

/libcore/luni/src/test/java/libcore/java/text/
DOldAttributedCharacterIteratorTest.java20 import java.text.AttributedCharacterIterator;
29 AttributedCharacterIterator it;
34 as.addAttribute(AttributedCharacterIterator.Attribute.LANGUAGE, "a", 2, in test_getRunLimitLSet()
36 AttributedCharacterIterator it = as.getIterator(); in test_getRunLimitLSet()
37 HashSet<AttributedCharacterIterator.Attribute> attr = in test_getRunLimitLSet()
38 new HashSet<AttributedCharacterIterator.Attribute>(); in test_getRunLimitLSet()
39 attr.add(AttributedCharacterIterator.Attribute.LANGUAGE); in test_getRunLimitLSet()
44 as.addAttribute(AttributedCharacterIterator.Attribute.LANGUAGE, null, in test_getRunLimitLSet()
50 attr.add(AttributedCharacterIterator.Attribute.READING); in test_getRunLimitLSet()
57 AttributedCharacterIterator it = as.getIterator(); in test_getAllAttributeKeys()
[all …]
DOldAttributedStringTest.java19 import java.text.AttributedCharacterIterator;
31 AttributedCharacterIterator it = attrString.getIterator(); in assertEqualString()
43 AttributedCharacterIterator iter = attrString.getIterator(); in test_ConstructorLAttributedCharacterIterator_1()
51 AttributedCharacterIterator iter = attrString.getIterator(); in test_ConstructorLAttributedCharacterIterator_2()
94 AttributedCharacterIterator iter = attrString.getIterator(); in test_ConstructorLAttributedCharacterIterator_3()
97 … attrString2 = new AttributedString(iter, 2, 7, new AttributedCharacterIterator.Attribute[] {}); in test_ConstructorLAttributedCharacterIterator_3()
143AttributedCharacterIterator.Attribute[] attributes = new AttributedCharacterIterator.Attribute[1]; in test_ConstructorLAttributedCharacterIteratorII$Ljava_text_AttributedCharacterIterator$Attribute()
170 new WeakHashMap<AttributedCharacterIterator.Attribute, String>()); in test_ConstructorLjava_lang_StringLjava_util_Map()
171 AttributedCharacterIterator it = attrString.getIterator(); in test_ConstructorLjava_lang_StringLjava_util_Map()
185 …Map<AttributedCharacterIterator.Attribute, String> whm = new WeakHashMap<AttributedCharacterIterat… in test_ConstructorLjava_lang_StringLjava_util_Map()
[all …]
DOldAttributedCharacterIteratorAttributeTest.java25 import java.text.AttributedCharacterIterator;
32 AttributedCharacterIterator.Attribute {
52 AttributedCharacterIterator.Attribute {
92 AttributedCharacterIterator.Attribute mac4 = mac1; in test_equalsLjava_lang_Object()
133 AttributedCharacterIterator.Attribute mac4 = mac1; in test_hashCode()
163 AttributedCharacterIterator.Attribute attr1, attr2; in test_readResolve()
165 attr1 = AttributedCharacterIterator.Attribute.LANGUAGE; in test_readResolve()
173 attr2 = (AttributedCharacterIterator.Attribute) in.readObject(); in test_readResolve()
DAttributedCharacterIteratorAttributeTest.java21 import java.text.AttributedCharacterIterator;
34 assertSameReserialized(AttributedCharacterIterator.Attribute.LANGUAGE); in testSerialization()
41 AttributedCharacterIterator.Attribute a = new CustomAttribute(); in testSerializingSubclass()
53 private static class CustomAttribute extends AttributedCharacterIterator.Attribute {
DOldFormatTest.java20 import java.text.AttributedCharacterIterator;
68 AttributedCharacterIterator aci = mf.formatToCharacterIterator("Test 123 Test"); in test_formatToCharacterIteratorLjava_lang_Object()
DOldBidiTest.java20 import java.text.AttributedCharacterIterator;
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
DAttributedStringTest.java19 import java.text.AttributedCharacterIterator;
35 AttributedCharacterIterator it = attrString.getIterator(); in test_ConstructorLjava_lang_String()
59 private class testAttributedCharacterIterator implements AttributedCharacterIterator {
63 public Object getAttribute(AttributedCharacterIterator.Attribute p) { in getAttribute()
72 public int getRunLimit(AttributedCharacterIterator.Attribute p) { in getRunLimit()
81 public int getRunStart(AttributedCharacterIterator.Attribute p) { in getRunStart()
121 as.addAttribute(AttributedCharacterIterator.Attribute.LANGUAGE, "a", 2, in test_addAttributeLjava_text_AttributedCharacterIterator$AttributeLjava_lang_ObjectII()
123 AttributedCharacterIterator it = as.getIterator(); in test_addAttributeLjava_text_AttributedCharacterIterator$AttributeLjava_lang_ObjectII()
125 .getRunLimit(AttributedCharacterIterator.Attribute.LANGUAGE)); in test_addAttributeLjava_text_AttributedCharacterIterator$AttributeLjava_lang_ObjectII()
128 as.addAttribute(AttributedCharacterIterator.Attribute.LANGUAGE, null, in test_addAttributeLjava_text_AttributedCharacterIterator$AttributeLjava_lang_ObjectII()
[all …]
DAttributedCharacterIteratorTest.java20 import java.text.AttributedCharacterIterator;
32 AttributedCharacterIterator it = attrString.getIterator(); in test_current()
52 AttributedCharacterIterator it = attrString.getIterator(); in test_first()
68 AttributedCharacterIterator it = attrString.getIterator(null, 2, 6); in test_getBeginIndex()
78 AttributedCharacterIterator it = attrString.getIterator(null, 2, 6); in test_getEndIndex()
88 AttributedCharacterIterator it = attrString.getIterator(); in test_getIndex()
105 AttributedCharacterIterator it = attrString.getIterator(); in test_last()
121 AttributedCharacterIterator it = attrString.getIterator(); in test_next()
138 AttributedCharacterIterator it = attrString.getIterator(); in test_previous()
149 AttributedCharacterIterator it = attrString.getIterator(); in test_setIndexI()
[all …]
DAttributedCharacterIteratorAttributeTest.java20 import java.text.AttributedCharacterIterator;
21 import java.text.AttributedCharacterIterator.Attribute;
78 AttributedCharacterIterator.Attribute dattribute, dattribute2; in test_readResolve()
82 dattribute = AttributedCharacterIterator.Attribute.LANGUAGE; in test_readResolve()
97 dattribute2 = (AttributedCharacterIterator.Attribute) in.readObject(); in test_readResolve()
138 class MyAttribute extends AttributedCharacterIterator.Attribute {
DSupport_Format.java20 import java.text.AttributedCharacterIterator;
23 import java.text.AttributedCharacterIterator.Attribute;
81 protected static Vector<FieldContainer> findFields(AttributedCharacterIterator iterator) { in findFields()
89 AttributedCharacterIterator.Attribute attribute = it.next(); in findFields()
DDecimalFormatTest.java24 import java.text.AttributedCharacterIterator;
55 AttributedCharacterIterator iterator = new DecimalFormat().formatToCharacterIterator( in testAttributedCharacterIterator()
2013 AttributedCharacterIterator iterator; in test_formatToCharacterIterator()
2087 AttributedCharacterIterator iterator; in test_formatToCharacterIterator_veryLarge()
/libcore/ojluni/src/main/java/java/text/
DFormat.java205 public AttributedCharacterIterator formatToCharacterIterator(Object obj) { in formatToCharacterIterator()
277 AttributedCharacterIterator createAttributedCharacterIterator(String s) { in createAttributedCharacterIterator()
293 AttributedCharacterIterator createAttributedCharacterIterator( in createAttributedCharacterIterator()
294 AttributedCharacterIterator[] iterators) { in createAttributedCharacterIterator()
310 AttributedCharacterIterator createAttributedCharacterIterator( in createAttributedCharacterIterator()
311 String string, AttributedCharacterIterator.Attribute key, in createAttributedCharacterIterator()
329 AttributedCharacterIterator createAttributedCharacterIterator( in createAttributedCharacterIterator()
330 AttributedCharacterIterator iterator, in createAttributedCharacterIterator()
331 AttributedCharacterIterator.Attribute key, Object value) { in createAttributedCharacterIterator()
347 public static class Field extends AttributedCharacterIterator.Attribute {
DCharacterIteratorFieldDelegate.java106 public AttributedCharacterIterator getIterator(String string) { in getIterator()
115 AttributedCharacterIterator iterators[] = new in getIterator()
116 AttributedCharacterIterator[iCount]; in getIterator()
DAttributedString.java29 import java.text.AttributedCharacterIterator.Attribute;
75 AttributedString(AttributedCharacterIterator[] iterators) { in AttributedString()
98 AttributedCharacterIterator iterator = iterators[counter]; in AttributedString()
179 public AttributedString(AttributedCharacterIterator text) { in AttributedString()
203 public AttributedString(AttributedCharacterIterator text, in AttributedString()
231 public AttributedString(AttributedCharacterIterator text, in AttributedString()
559 public AttributedCharacterIterator getIterator() { in getIterator()
574 public AttributedCharacterIterator getIterator(Attribute[] attributes) { in getIterator()
594 …public AttributedCharacterIterator getIterator(Attribute[] attributes, int beginIndex, int endInde… in getIterator()
742 final private class AttributedStringIterator implements AttributedCharacterIterator {
DAttributedCharacterIterator.java79 public interface AttributedCharacterIterator extends CharacterIterator { interface
DMessageFormat.java907 public AttributedCharacterIterator formatToCharacterIterator(Object arguments) { in formatToCharacterIterator()
909 ArrayList<AttributedCharacterIterator> iterators = new ArrayList<>(); in formatToCharacterIterator()
921 new AttributedCharacterIterator[iterators.size()])); in formatToCharacterIterator()
1240 … FieldPosition fp, List<AttributedCharacterIterator> characterIterators) { in subformat()
1302 AttributedCharacterIterator subIterator = in subformat()
DDecimalFormat.java522 private static Field toJavaFieldAttribute(AttributedCharacterIterator.Attribute icuAttribute) { in toJavaFieldAttribute()
704 public AttributedCharacterIterator formatToCharacterIterator(Object obj) { in formatToCharacterIterator()
712 AttributedCharacterIterator original = icuDecimalFormat.formatToCharacterIterator(obj); in formatToCharacterIterator()
728 for (AttributedCharacterIterator.Attribute attribute in formatToCharacterIterator()
DBidi.java140 public Bidi(AttributedCharacterIterator paragraph) { in Bidi()
DSimpleDateFormat.java1029 public AttributedCharacterIterator formatToCharacterIterator(Object obj) { in formatToCharacterIterator()
/libcore/support/src/test/java/tests/support/
DSupport_Format.java20 import java.text.AttributedCharacterIterator;
23 import java.text.AttributedCharacterIterator.Attribute;
84 protected static Vector<FieldContainer> findFields(AttributedCharacterIterator iterator) { in findFields()
92 AttributedCharacterIterator.Attribute attribute = it.next(); in findFields()
108 AttributedCharacterIterator.Attribute attribute;
114 AttributedCharacterIterator.Attribute attribute) { in FieldContainer()
/libcore/benchmarks/src/benchmarks/regression/
DBidiBenchmark.java20 import java.text.AttributedCharacterIterator;
26 private static final AttributedCharacterIterator charIter =
/libcore/ojluni/src/main/java/java/awt/font/
DTextAttribute.java44 import java.text.AttributedCharacterIterator.Attribute;
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DSerializationStressTest3.java1431 objToSave = java.text.AttributedCharacterIterator.Attribute.INPUT_METHOD_SEGMENT; in test_18_121_writeObject()
1438 … java.text.AttributedCharacterIterator.Attribute.INPUT_METHOD_SEGMENT == objLoaded); in test_18_121_writeObject()
1461 objToSave = java.text.AttributedCharacterIterator.Attribute.LANGUAGE; in test_18_122_writeObject()
1468 java.text.AttributedCharacterIterator.Attribute.LANGUAGE == objLoaded); in test_18_122_writeObject()
1491 objToSave = java.text.AttributedCharacterIterator.Attribute.READING; in test_18_123_writeObject()
1498 java.text.AttributedCharacterIterator.Attribute.READING == objLoaded); in test_18_123_writeObject()
DSerializationStressTest4.java1352 objToSave = java.text.AttributedCharacterIterator.Attribute.LANGUAGE; in test_writeObject_AttributedCharacterIterator_Attribute()
/libcore/
Dopenjdk_java_files.mk740 ojluni/src/main/java/java/text/AttributedCharacterIterator.java \