HomeSort by relevance Sort by last modified time
    Searched refs:preceding (Results 1 - 25 of 76) sorted by null

1 2 3 4

  /frameworks/base/core/java/android/text/method/
WordIterator.java 71 public int preceding(int offset) { method in class:WordIterator
74 shiftedOffset = mIterator.preceding(shiftedOffset);
118 return mIterator.preceding(shiftedOffset) + mOffsetShift;
122 return mIterator.preceding(shiftedOffset) + mOffsetShift;
  /external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/
BreakIteratorTest.java 138 iterator.preceding(2);
143 assertEquals(0, iterator.preceding(2));
144 assertEquals(2, iterator.preceding(3));
145 assertEquals(16, iterator.preceding(17));
146 assertEquals(17, iterator.preceding(18));
147 assertEquals(18, iterator.preceding(19));
149 iterator.preceding(-1);
153 assertEquals(TEXT.length() - 1, iterator.preceding(TEXT.length()));
154 assertEquals(BreakIterator.DONE, iterator.preceding(0));
  /frameworks/base/core/java/android/view/
AccessibilityIterators.java 43 public int[] preceding(int current); method in interface:AccessibilityIterators.TextSegmentIterator
123 public int[] preceding(int offset) { method in class:AccessibilityIterators.CharacterTextSegmentIterator
136 end = mImpl.preceding(end);
141 final int start = mImpl.preceding(end);
213 public int[] preceding(int offset) { method in class:AccessibilityIterators.WordTextSegmentIterator
226 end = mImpl.preceding(end);
231 final int start = mImpl.preceding(end);
295 public int[] preceding(int offset) { method in class:AccessibilityIterators.ParagraphTextSegmentIterator
  /libcore/luni/src/main/java/java/text/
BreakIterator.java 365 * Returns the position of last boundary preceding the given offset, and
371 * @return the position of the last boundary preceding the given offset.
375 public int preceding(int offset) { method in class:BreakIterator
376 return wrapped.preceding(offset);
RuleBasedBreakIterator.java 24 * We need this because BreakIterator.isBoundary and BreakIterator.preceding are non-abstract,
91 @Override public int preceding(int offset) { method in class:RuleBasedBreakIterator
93 return wrapped.preceding(offset);
  /libcore/luni/src/test/java/libcore/java/text/
BreakIteratorTest.java 158 it.preceding(-1);
164 assertEquals(BreakIterator.DONE, it.preceding(0));
165 assertEquals(0, it.preceding(1));
166 assertEquals(4, it.preceding(5));
169 it.preceding(6);
  /external/chromium_org/net/data/proxy_resolver_v8_unittest/
terminate.js 21 // make it past the preceding hang.
  /frameworks/base/core/java/android/widget/
AccessibilityIterators.java 79 public int[] preceding(int offset) { method in class:AccessibilityIterators.LineTextSegmentIterator
165 public int[] preceding(int offset) { method in class:AccessibilityIterators.PageTextSegmentIterator
  /cts/tests/tests/text/src/android/text/method/cts/
WordIteratorTest.java 55 assertEquals(BreakIterator.DONE, wi.preceding(0));
  /external/chromium_org/third_party/icu/source/i18n/unicode/
search.h 353 * @return The character index of the first match preceding
359 int32_t preceding(int32_t position, UErrorCode &status);
  /external/icu4c/i18n/unicode/
search.h 359 * @return The character index of the first match preceding
365 int32_t preceding(int32_t position, UErrorCode &status);
  /external/chromium_org/third_party/libxslt/libxslt/
numbers.c 594 /* Skip to next preceding or ancestor */
636 xmlNodePtr preceding; local
664 /* count(preceding-sibling::*) */
666 for (preceding = ancestor;
667 preceding != NULL;
668 preceding =
669 xmlXPathNextPrecedingSibling(parser, preceding)) {
671 if ((preceding->type == ancestor->type) &&
672 xmlStrEqual(preceding->name, ancestor->name)){
673 if ((preceding->ns == ancestor->ns) |
    [all...]
  /external/libxslt/libxslt/
numbers.c 594 /* Skip to next preceding or ancestor */
636 xmlNodePtr preceding; local
664 /* count(preceding-sibling::*) */
666 for (preceding = ancestor;
667 preceding != NULL;
668 preceding =
669 xmlXPathNextPrecedingSibling(parser, preceding)) {
671 if ((preceding->type == ancestor->type) &&
672 xmlStrEqual(preceding->name, ancestor->name)){
673 if ((preceding->ns == ancestor->ns) |
    [all...]
  /external/chromium_org/third_party/icu/source/common/unicode/
brkiter.h 223 * Return the boundary preceding the current boundary.
256 * Return the first boundary preceding the specified offset.
263 virtual int32_t preceding(int32_t offset) = 0;
rbbi.h 431 * Moves the iterator backwards, to the last boundary preceding this one.
432 * @return The position of the last boundary position preceding this one.
453 virtual int32_t preceding(int32_t offset);
  /external/chromium_org/third_party/icu/source/i18n/
brktrans.cpp 91 bi->preceding(offsets.start);
  /external/icu4c/common/unicode/
brkiter.h 230 * Set the iterator position to the boundary preceding the current boundary.
263 * Set the iterator position to the first boundary preceding the specified offset.
270 virtual int32_t preceding(int32_t offset) = 0;
rbbi.h 459 * Moves the iterator backwards, to the last boundary preceding this one.
460 * @return The position of the last boundary position preceding this one.
481 virtual int32_t preceding(int32_t offset);
  /external/icu4c/i18n/
brktrans.cpp 91 bi->preceding(offsets.start);
  /external/chromium_org/third_party/WebKit/Source/core/platform/text/
TextBreakIterator.h 191 int preceding(int offset) const;
  /external/jdiff/src/jdiff/
DiffMyers.java 747 to be the "change". The only exception is if the preceding blank line
758 int preceding = -1; local
772 will count as the preceding batch of changes. */
803 && !((preceding >= 0 && start == preceding)
819 preceding = i;
  /libcore/luni/src/main/java/libcore/icu/
NativeBreakIterator.java 140 public int preceding(int offset) { method in class:NativeBreakIterator
  /frameworks/base/core/java/android/text/
Selection.java 366 public int preceding(int position); method in interface:Selection.PositionIterator
373 final int offset = iter.preceding(getSelectionEnd(text));
  /external/oprofile/events/i386/nehalem/
unit_masks 9 0x01 std Counts the number of loads blocked by a preceding store with unknown data
10 0x04 address_offset Counts the number of loads blocked by a preceding store address
18 0x01 not_sta This event counts the number of load operations delayed caused by preceding stores whose addresses are known but whose data is unknown, and preceding stores that conflict with the load but which incompletely overlap the load
19 0x02 sta This event counts load operations delayed caused by preceding stores whose addresses are unknown (STA block)
  /external/chromium_org/third_party/icu/source/test/intltest/
rbbiapts.cpp 303 TEST_ASSERT(rb->preceding(2) == 0);
305 //if(rb->preceding(2) != 3) {
514 // Preceding
516 i = bi->preceding(4);
518 errln("Incorrect value from bi->preceding() at line %d. Expected 3, got %d", __LINE__, i);
521 i = bi->preceding(10);
523 errln("Incorrect value from bi->preceding() at line %d. Expected 9, got %d", __LINE__, i);
526 i = bi->preceding(1);
528 errln("Incorrect value from bi->preceding() at line %d. Expected 0, got %d", __LINE__, i);
531 i = bi->preceding(0)
    [all...]

Completed in 609 milliseconds

1 2 3 4