/libcore/luni/src/test/java/libcore/java/text/ |
D | OldAttributedCharacterIteratorTest.java | 20 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 …]
|
D | OldAttributedStringTest.java | 19 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() 143 … AttributedCharacterIterator.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 …]
|
D | OldAttributedCharacterIteratorAttributeTest.java | 25 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()
|
D | AttributedCharacterIteratorAttributeTest.java | 21 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 {
|
D | OldFormatTest.java | 20 import java.text.AttributedCharacterIterator; 68 AttributedCharacterIterator aci = mf.formatToCharacterIterator("Test 123 Test"); in test_formatToCharacterIteratorLjava_lang_Object()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
D | AttributedStringTest.java | 19 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 …]
|
D | AttributedCharacterIteratorTest.java | 20 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 …]
|
D | AttributedCharacterIteratorAttributeTest.java | 20 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 {
|
D | Support_Format.java | 20 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()
|
D | DecimalFormatTest.java | 24 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/luni/src/main/java/java/text/ |
D | AttributedString.java | 20 import java.text.AttributedCharacterIterator.Attribute; 39 Map<AttributedCharacterIterator.Attribute, List<Range>> attributeMap; 55 static class AttributedIterator implements AttributedCharacterIterator { 71 AttributedCharacterIterator.Attribute[] attributes, int begin, in AttributedIterator() 218 AttributedCharacterIterator.Attribute attribute) { in getAttribute() 271 public int getRunLimit(AttributedCharacterIterator.Attribute attribute) { in getRunLimit() 288 AttributedCharacterIterator.Attribute attribute = it.next(); in getRunLimit() 319 public int getRunStart(AttributedCharacterIterator.Attribute attribute) { in getRunStart() 336 AttributedCharacterIterator.Attribute attribute = it.next(); in getRunStart() 388 public AttributedString(AttributedCharacterIterator iterator) { in AttributedString() [all …]
|
D | Format.java | 135 public AttributedCharacterIterator formatToCharacterIterator(Object object) { in formatToCharacterIterator() 233 public static class Field extends AttributedCharacterIterator.Attribute {
|
D | AttributedCharacterIterator.java | 35 public interface AttributedCharacterIterator extends CharacterIterator { interface
|
D | MessageFormat.java | 507 public AttributedCharacterIterator formatToCharacterIterator(Object object) { in formatToCharacterIterator() 627 AttributedCharacterIterator.Attribute attribute; 632 AttributedCharacterIterator.Attribute attribute, Object value) { in FieldContainer() 655 AttributedCharacterIterator iterator = format.formatToCharacterIterator(arg); in handleFormat() 661 AttributedCharacterIterator.Attribute attribute = in handleFormat() 662 (AttributedCharacterIterator.Attribute) it.next(); in handleFormat()
|
D | Bidi.java | 112 public Bidi(AttributedCharacterIterator paragraph) { in Bidi()
|
D | DecimalFormat.java | 661 public AttributedCharacterIterator formatToCharacterIterator(Object object) { in formatToCharacterIterator()
|
D | SimpleDateFormat.java | 456 public AttributedCharacterIterator formatToCharacterIterator(Object object) { in formatToCharacterIterator() 469 private AttributedCharacterIterator formatToCharacterIteratorImpl(Date date) { in formatToCharacterIteratorImpl()
|
/libcore/support/src/test/java/tests/support/ |
D | Support_Format.java | 20 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/luni/src/main/java/java/awt/font/ |
D | TextAttribute.java | 23 import java.text.AttributedCharacterIterator.Attribute;
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | SerializationStressTest3.java | 1431 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()
|
D | SerializationStressTest4.java | 1376 objToSave = java.text.AttributedCharacterIterator.Attribute.LANGUAGE; in test_writeObject_AttributedCharacterIterator_Attribute()
|
/libcore/luni/src/main/java/libcore/icu/ |
D | NativeDecimalFormat.java | 22 import java.text.AttributedCharacterIterator; 345 public AttributedCharacterIterator formatToCharacterIterator(Object object) { in formatToCharacterIterator()
|