Home
last modified time | relevance | path

Searched refs:addAttribute (Results 1 – 23 of 23) sorted by relevance

/libcore/luni/src/test/java/libcore/java/text/
DOldAttributedCharacterIteratorTest.java34 as.addAttribute(AttributedCharacterIterator.Attribute.LANGUAGE, "a", 2, in test_getRunLimitLSet()
44 as.addAttribute(AttributedCharacterIterator.Attribute.LANGUAGE, null, in test_getRunLimitLSet()
64 as.addAttribute(AttributedCharacterIterator.Attribute.LANGUAGE, in test_getAllAttributeKeys()
122 as.addAttribute(AttributedCharacterIterator.Attribute.LANGUAGE, in test_getRunLimitLAttribute()
125 as.addAttribute(AttributedCharacterIterator.Attribute.READING, in test_getRunLimitLAttribute()
148 as.addAttribute(AttributedCharacterIterator.Attribute.LANGUAGE, in test_getRunStart()
150 as.addAttribute(AttributedCharacterIterator.Attribute.READING, in test_getRunStart()
160 as.addAttribute(AttributedCharacterIterator.Attribute.LANGUAGE, in test_getRunStartLAttribute()
162 as.addAttribute(AttributedCharacterIterator.Attribute.READING, in test_getRunStartLAttribute()
173 as.addAttribute(AttributedCharacterIterator.Attribute.LANGUAGE, "a", 2, in test_getRunStartLjava_util_Set()
[all …]
DOldAttributedStringTest.java281 as.addAttribute(AttributedCharacterIterator.Attribute.LANGUAGE, "a", 2, in test_addAttributeLjava_text_AttributedCharacterIterator$AttributeLjava_lang_ObjectII()
288 as.addAttribute(AttributedCharacterIterator.Attribute.LANGUAGE, null, in test_addAttributeLjava_text_AttributedCharacterIterator$AttributeLjava_lang_ObjectII()
296 as.addAttribute(AttributedCharacterIterator.Attribute.LANGUAGE, in test_addAttributeLjava_text_AttributedCharacterIterator$AttributeLjava_lang_ObjectII()
306 as.addAttribute(null, new TreeSet(), 0, 1); in test_addAttributeLjava_text_AttributedCharacterIterator$AttributeLjava_lang_ObjectII()
313 as.addAttribute(null, new TreeSet(), -1, 1); in test_addAttributeLjava_text_AttributedCharacterIterator$AttributeLjava_lang_ObjectII()
328 as.addAttribute(AttributedCharacterIterator.Attribute.LANGUAGE, "english"); in test_addAttributeLjava_text_AttributedCharacterIterator$AttributeLjava_lang_Object()
329 as.addAttribute(AttributedCharacterIterator.Attribute.INPUT_METHOD_SEGMENT, in test_addAttributeLjava_text_AttributedCharacterIterator$AttributeLjava_lang_Object()
331 as.addAttribute(AttributedCharacterIterator.Attribute.READING, "reading"); in test_addAttributeLjava_text_AttributedCharacterIterator$AttributeLjava_lang_Object()
334 as.addAttribute(null, new TreeSet()); in test_addAttributeLjava_text_AttributedCharacterIterator$AttributeLjava_lang_Object()
340 as.addAttribute(null, null); in test_addAttributeLjava_text_AttributedCharacterIterator$AttributeLjava_lang_Object()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
DAttributedStringTest.java121 as.addAttribute(AttributedCharacterIterator.Attribute.LANGUAGE, "a", 2, in test_addAttributeLjava_text_AttributedCharacterIterator$AttributeLjava_lang_ObjectII()
128 as.addAttribute(AttributedCharacterIterator.Attribute.LANGUAGE, null, in test_addAttributeLjava_text_AttributedCharacterIterator$AttributeLjava_lang_ObjectII()
136 as.addAttribute(AttributedCharacterIterator.Attribute.LANGUAGE, in test_addAttributeLjava_text_AttributedCharacterIterator$AttributeLjava_lang_ObjectII()
146 as.addAttribute(null, new TreeSet(), 0, 1); in test_addAttributeLjava_text_AttributedCharacterIterator$AttributeLjava_lang_ObjectII()
153 as.addAttribute(null, new TreeSet(), -1, 1); in test_addAttributeLjava_text_AttributedCharacterIterator$AttributeLjava_lang_ObjectII()
167 as.addAttribute(null, new TreeSet()); in test_addAttributeLjava_text_AttributedCharacterIterator$AttributeLjava_lang_Object()
173 as.addAttribute(null, null); in test_addAttributeLjava_text_AttributedCharacterIterator$AttributeLjava_lang_Object()
DAttributedCharacterIteratorTest.java159 as.addAttribute(AttributedCharacterIterator.Attribute.LANGUAGE, "a", 2, in test_getRunLimitLjava_text_AttributedCharacterIterator$Attribute()
166 as.addAttribute(AttributedCharacterIterator.Attribute.LANGUAGE, null, in test_getRunLimitLjava_text_AttributedCharacterIterator$Attribute()
/libcore/ojluni/src/test/java/text/AttributedString/
DgetRunStartLimitTest.java47 as.addAttribute(TextAttribute.WEIGHT, in main()
51 as.addAttribute(TextAttribute.WEIGHT, in main()
55 as.addAttribute(TextAttribute.WEIGHT, in main()
61 as.addAttribute(TextAttribute.WIDTH, in main()
65 as.addAttribute(TextAttribute.WIDTH, in main()
DAttributedStringTest.java78 string.addAttribute(Attribute.LANGUAGE, Locale.ENGLISH, 3, 9); in main()
89 string.addAttribute(Attribute.READING, hi, 0, 5); in main()
112 string.addAttribute(Attribute.LANGUAGE, Locale.US, 0, 5); in main()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/helpers/
DAttributeListImplTest.java33 multi.addAttribute("foo", "string", "abc"); in setUp()
34 multi.addAttribute("bar", "string", "xyz"); in setUp()
35 multi.addAttribute("answer", "int", "42"); in setUp()
65 attrs.addAttribute("doe", "boolean", "false"); in testSetAttributeList()
91 multi.addAttribute("doe", "boolean", "false"); in testAddAttribute()
98 multi.addAttribute("doe", "boolean", "false"); in testAddAttribute()
105 multi.addAttribute(null, null, null); in testAddAttribute()
DAttributesImplTest.java32 multi.addAttribute("http://some.uri", "foo", "ns1:foo", in setUp()
34 multi.addAttribute("http://some.uri", "bar", "ns1:bar", in setUp()
36 multi.addAttribute("http://some.other.uri", "answer", "ns2:answer", in setUp()
39 multi.addAttribute("", "gabbaHey", "", "string", "1-2-3-4"); in setUp()
40 multi.addAttribute("", "", "gabba:hey", "string", "1-2-3-4"); in setUp()
238 attrs.addAttribute("http://yet.another.uri", "doe", "john:doe", in testSetAttributes()
267 multi.addAttribute("http://yet.another.uri", "doe", "john:doe", in testAddAttribute()
277 multi.addAttribute("http://yet.another.uri", "doe", "john:doe", in testAddAttribute()
287 multi.addAttribute(null, null, null, null, null); in testAddAttribute()
DParserAdapterTest.java262 atts.addAttribute("john:doe", "int", "42"); in testStartElement()
280 atts.addAttribute("john:doe", "int", "42"); in testEndElement()
DXMLReaderAdapterTest.java235 atts.addAttribute("http://some.other.uri", "gabba", "gabba:hey", in testStartElement()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/ext/
DAttributes2ImplTest.java39 multi.addAttribute("http://some.uri", "foo", "ns1:foo", in setUp()
41 multi.addAttribute("http://some.uri", "bar", "ns1:bar", in setUp()
43 multi.addAttribute("http://some.other.uri", "answer", "ns2:answer", in setUp()
45 multi.addAttribute("http://yet.another.uri", "gabba", "ns3:gabba", in setUp()
60 cdata.addAttribute("http://yet.another.uri", "hey", "ns3:hey", in setUp()
67 attrs.addAttribute("", "", "john", "string", "doe"); in testSetAttributes()
119 attrs.addAttribute("http://yet.another.uri", "doe", "john:doe", in testAddAttribute()
134 attrs.addAttribute("http://yet.another.uri", "doe", "jane:doe", in testAddAttribute()
/libcore/luni/src/main/java/org/xml/sax/helpers/
DAttributeListImpl.java121 addAttribute(atts.getName(i), atts.getType(i), atts.getValue(i)); in setAttributeList()
139 public void addAttribute(String name, String type, String value) { in addAttribute() method in AttributeListImpl
DParserAdapter.java562 atts.addAttribute (nsSupport.XMLNS, prefix, in startElement()
565 atts.addAttribute ("", "", in startElement()
575 atts.addAttribute(attName[0], attName[1], attName[2], in startElement()
582 atts.addAttribute("", attQName, attQName, type, value); in startElement()
DAttributesImpl.java381 public void addAttribute (String uri, String localName, String qName, in addAttribute() method in AttributesImpl
/libcore/ojluni/src/main/java/java/text/
DCharacterIteratorFieldDelegate.java70 as.addAttribute(attr, value, aStart, Math.min( in formatted()
88 string.addAttribute(attr, value); in formatted()
DFormat.java318 as.addAttribute(key, value); in createAttributedCharacterIterator()
337 as.addAttribute(key, value); in createAttributedCharacterIterator()
DAttributedString.java279addAttribute(attributeKey, value, start - beginIndex, limit - beginIndex); in AttributedString()
296addAttribute(attributeKey, value, start - beginIndex, limit - beginIndex); in AttributedString()
314 public void addAttribute(Attribute attribute, Object value) { in addAttribute() method in AttributedString
339 public void addAttribute(Attribute attribute, Object value, in addAttribute() method in AttributedString
DDecimalFormat.java1187 result.addAttribute(javaAttr, javaAttr, start, end); in formatToCharacterIterator()
/libcore/luni/src/main/java/org/xml/sax/ext/
DAttributes2Impl.java245 public void addAttribute (String uri, String localName, String qName, in addAttribute() method in Attributes2Impl
248 super.addAttribute (uri, localName, qName, type, value); in addAttribute()
/libcore/ojluni/annotations/hiddenapi/sun/security/x509/
DOIDMap.java44 public static void addAttribute( in addAttribute() method in OIDMap
/libcore/ojluni/src/main/java/sun/security/x509/
DOIDMap.java217 public static void addAttribute(String name, String oid, Class<?> clazz) in addAttribute() method in OIDMap
/libcore/ojluni/src/main/java/java/security/
DProvider.java1043 s.addAttribute(attributeName, attributeValue); in parseLegacyPut()
1483 void addAttribute(String type, String value) { in addAttribute() method in Provider.Service
/libcore/api/
Dcurrent.txt10884 method public void addAttribute(java.text.AttributedCharacterIterator.Attribute, Object);
10885 …method public void addAttribute(java.text.AttributedCharacterIterator.Attribute, Object, int, int);
21668 method @Deprecated public void addAttribute(String, String, String);
21683 method public void addAttribute(String, String, String, String, String);