Home
last modified time | relevance | path

Searched refs:getBeginIndex (Results 1 – 16 of 16) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
DFieldPositionTest.java116 2, fpos.getBeginIndex()); in test_getBeginIndex()
187 .getBeginIndex()); in test_setBeginIndexI()
191 Integer.MAX_VALUE, fpos.getBeginIndex()); in test_setBeginIndexI()
195 -1, fpos.getBeginIndex()); in test_setBeginIndexI()
DStringCharacterIteratorTest.java202 assertEquals(0, fixture.getBeginIndex()); in test_getBeginIndex()
204 assertEquals(0, fixture.getBeginIndex()); in test_getBeginIndex()
207 assertEquals(1, fixture.getBeginIndex()); in test_getBeginIndex()
211 assertEquals("Wrong begin index 2", 2, it1.getBeginIndex()); in test_getBeginIndex()
408 assertEquals("Wrong begin index", 0, it.getBeginIndex()); in test_ConstructorLjava_lang_String()
421 assertEquals("Wrong begin index", 0, it.getBeginIndex()); in test_ConstructorLjava_lang_StringI()
435 assertEquals("Wrong begin index", 2, it.getBeginIndex()); in test_ConstructorLjava_lang_StringIII()
517 assertEquals("Wrong begin index", 0, it1.getBeginIndex()); in test_setTextLjava_lang_String()
DSupport_Format.java52 if (begin != pos.getBeginIndex() || end != pos.getEndIndex()) { in t_FormatWithField()
54 pos.getFieldAttribute() + " " + pos.getBeginIndex() + ".." + pos.getEndIndex()); in t_FormatWithField()
DAttributedStringTest.java96 public int getBeginIndex() { in getBeginIndex() method in AttributedStringTest.testAttributedCharacterIterator
DAttributedCharacterIteratorTest.java69 assertEquals("Wrong begin index", 2, it.getBeginIndex()); in test_getBeginIndex()
DDecimalFormatTest.java2031 assertEquals(0, iterator.getBeginIndex()); in test_formatToCharacterIterator()
2068 assertEquals(0, iterator.getBeginIndex()); in test_formatToCharacterIterator()
2082 assertEquals(0, iterator.getBeginIndex()); in test_formatToCharacterIterator()
2106 assertEquals(0, iterator.getBeginIndex()); in test_formatToCharacterIterator_veryLarge()
DSimpleDateFormatTest.java404 "field: " + field, 1, position.getBeginIndex()); in assertFormat()
/libcore/ojluni/src/main/java/java/text/
DCharacterIterator.java172 public int getBeginIndex(); in getBeginIndex() method
DIcuIteratorWrapper.java321 if (offset < text.getBeginIndex() || offset > text.getEndIndex()) { in checkOffset()
DStringCharacterIterator.java209 public int getBeginIndex() in getBeginIndex() method in StringCharacterIterator
DFieldPosition.java173 public int getBeginIndex() { in getBeginIndex() method in FieldPosition
DAttributedString.java99 int start = iterator.getBeginIndex(); in AttributedString()
183 this(text, text.getBeginIndex(), text.getEndIndex(), null); in AttributedString()
240 int textBeginIndex = text.getBeginIndex(); in AttributedString()
691 int index = iterator.getBeginIndex(); in appendContents()
859 public int getBeginIndex() { in getBeginIndex() method in AttributedString.AttributedStringIterator
/libcore/luni/src/test/java/libcore/java/text/
DOldFormatTest.java70 assertEquals(0, aci.getBeginIndex()); in test_formatToCharacterIteratorLjava_lang_Object()
DOldAttributedStringTest.java251 public int getBeginIndex() { in getBeginIndex() method in OldAttributedStringTest.testAttributedCharacterIterator
DOldDateFormatTest.java121 .getBeginIndex() == sb.lastIndexOf("/") + 1); in test_formatLjava_lang_ObjectLjava_lang_StringBufferLjava_text_FieldPosition()
/libcore/support/src/test/java/tests/support/
DSupport_Format.java54 + field, begin, pos.getBeginIndex()); in t_FormatWithField()