/external/guava/guava/src/com/google/common/primitives/ |
Floats.java | 469 @Override public List<Float> subList(int fromIndex, int toIndex) { 471 checkPositionIndexes(fromIndex, toIndex, size); 472 if (fromIndex == toIndex) { 475 return new FloatArrayAsList(array, start + fromIndex, start + toIndex);
|
Ints.java | 533 @Override public List<Integer> subList(int fromIndex, int toIndex) { 535 checkPositionIndexes(fromIndex, toIndex, size); 536 if (fromIndex == toIndex) { 539 return new IntArrayAsList(array, start + fromIndex, start + toIndex);
|
Longs.java | 518 @Override public List<Long> subList(int fromIndex, int toIndex) { 520 checkPositionIndexes(fromIndex, toIndex, size); 521 if (fromIndex == toIndex) { 524 return new LongArrayAsList(array, start + fromIndex, start + toIndex);
|
Shorts.java | 531 @Override public List<Short> subList(int fromIndex, int toIndex) { 533 checkPositionIndexes(fromIndex, toIndex, size); 534 if (fromIndex == toIndex) { 537 return new ShortArrayAsList(array, start + fromIndex, start + toIndex);
|
/external/guava/guava-gwt/src-super/com/google/common/primitives/super/com/google/common/primitives/ |
Chars.java | 475 @Override public List<Character> subList(int fromIndex, int toIndex) { 477 checkPositionIndexes(fromIndex, toIndex, size); 478 if (fromIndex == toIndex) { 481 return new CharArrayAsList(array, start + fromIndex, start + toIndex);
|
Ints.java | 477 @Override public List<Integer> subList(int fromIndex, int toIndex) { 479 checkPositionIndexes(fromIndex, toIndex, size); 480 if (fromIndex == toIndex) { 483 return new IntArrayAsList(array, start + fromIndex, start + toIndex);
|
Longs.java | 451 @Override public List<Long> subList(int fromIndex, int toIndex) { 453 checkPositionIndexes(fromIndex, toIndex, size); 454 if (fromIndex == toIndex) { 457 return new LongArrayAsList(array, start + fromIndex, start + toIndex);
|
Shorts.java | 479 @Override public List<Short> subList(int fromIndex, int toIndex) { 481 checkPositionIndexes(fromIndex, toIndex, size); 482 if (fromIndex == toIndex) { 485 return new ShortArrayAsList(array, start + fromIndex, start + toIndex);
|
/libcore/luni/src/main/java/java/util/ |
DualPivotQuicksort.java | 78 * the index {@code toIndex}, exclusive. If {@code fromIndex == toIndex}, 83 * @param toIndex the index of the last element, exclusive, to be sorted 84 * @throws IllegalArgumentException if {@code fromIndex > toIndex} 86 * if {@code fromIndex < 0} or {@code toIndex > a.length} 88 public static void sort(int[] a, int fromIndex, int toIndex) { 89 Arrays.checkStartAndEnd(a.length, fromIndex, toIndex); 90 doSort(a, fromIndex, toIndex - 1); 356 * the index {@code toIndex}, exclusive. If {@code fromIndex == toIndex}, [all...] |
/external/guava/guava/src/com/google/common/collect/ |
Lists.java | 573 int fromIndex, int toIndex) { 574 return charactersOf(string.substring(fromIndex, toIndex)); 683 @Override public List<Character> subList(int fromIndex, int toIndex) { 684 return charactersOf(sequence.subSequence(fromIndex, toIndex)); 773 @Override protected void removeRange(int fromIndex, int toIndex) { 774 subList(fromIndex, toIndex).clear(); 801 @Override public List<T> subList(int fromIndex, int toIndex) { 802 checkPositionIndexes(fromIndex, toIndex, size()); 804 reversePosition(toIndex), reversePosition(fromIndex))); 967 final List<E> list, int fromIndex, int toIndex) { [all...] |
ImmutableList.java | 336 * fromIndex}, inclusive, and {@code toIndex}, exclusive. (If {@code 337 * fromIndex} and {@code toIndex} are equal, the empty immutable list is 341 public abstract ImmutableList<E> subList(int fromIndex, int toIndex); 443 @Override public ImmutableList<E> subList(int fromIndex, int toIndex) { 444 Preconditions.checkPositionIndexes(fromIndex, toIndex, size); 446 reversePosition(toIndex), reversePosition(fromIndex)).reverse();
|
Constraints.java | 253 @Override public List<E> subList(int fromIndex, int toIndex) { 255 delegate.subList(fromIndex, toIndex), constraint);
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ |
AdvancedSearchController.js | 636 var toIndex = Math.min(searchResult.searchMatches.length, WebInspector.FileBasedSearchResultsPane.fileMatchesShownAtOnce); 637 if (toIndex < searchResult.searchMatches.length) { 638 this._appendSearchMatches(fileTreeElement, searchResult, 0, toIndex - 1); 639 this._appendShowMoreMatchesElement(fileTreeElement, searchResult, toIndex - 1); 641 this._appendSearchMatches(fileTreeElement, searchResult, 0, toIndex); 650 * @param {number} toIndex 652 _appendSearchMatches: function(fileTreeElement, searchResult, fromIndex, toIndex) 662 for (var i = fromIndex; i < toIndex; ++i) {
|
/frameworks/support/v4/java/android/support/v4/view/accessibility/ |
AccessibilityRecordCompat.java | 57 public void setToIndex(Object record, int toIndex); 263 public void setToIndex(Object record, int toIndex) { 471 public void setToIndex(Object record, int toIndex) { 472 AccessibilityRecordCompatIcs.setToIndex(record, toIndex); 797 * @param toIndex The index of selection end or last item index. 799 public void setToIndex(int toIndex) { 800 IMPL.setToIndex(mRecord, toIndex);
|
/external/chromium_org/chrome/browser/ui/cocoa/tabs/ |
tab_strip_model_observer_bridge.h | 81 toIndex:(NSInteger)to;
|
/external/guava/guava-tests/test/com/google/common/collect/ |
ForwardingListTest.java | 130 @Override public List<T> subList(int fromIndex, int toIndex) { 131 return standardSubList(fromIndex, toIndex);
|
/external/jmonkeyengine/engine/src/core/com/jme3/util/ |
SafeArrayList.java | 316 public List<E> subList(int fromIndex, int toIndex) { 319 List<E> raw = Arrays.asList(getArray()).subList(fromIndex, toIndex);
|
/frameworks/base/core/java/android/widget/ |
StackView.java | 226 void transformViewForTransition(int fromIndex, int toIndex, final View view, boolean animate) { 235 if (fromIndex == -1 && toIndex == getNumActiveViews() -1) { 236 transformViewAtIndex(toIndex, view, false); 239 } else if (fromIndex == 0 && toIndex == 1) { 261 } else if (fromIndex == 1 && toIndex == 0) { 281 } else if (toIndex == 0) { 285 } else if ((fromIndex == 0 || fromIndex == 1) && toIndex > 1) { 295 } else if (toIndex == -1) { 308 if (toIndex != -1) { 309 transformViewAtIndex(toIndex, view, animate) [all...] |
/external/chromium_org/third_party/protobuf/java/src/main/java/com/google/protobuf/ |
RopeByteString.java | 422 int toIndex = offset + length; 423 if (toIndex <= leftLength) { 553 int toIndex = offset + length; 554 if (toIndex <= leftLength) { [all...] |
/external/doclava/src/com/google/doclava/ |
Comment.java | 153 private int findStartIndexOfInlineTag(String text, int fromIndex, int toIndex) { 154 for (int i = fromIndex; i < (toIndex-3); i++) { 163 private int findEndIndexOfInlineTag(String text, int fromIndex, int toIndex) { 164 for (int i = fromIndex; i < toIndex; i++) {
|
/frameworks/base/core/java/android/view/accessibility/ |
AccessibilityRecord.java | 395 * @param toIndex The index of selection end or last item index. 397 public void setToIndex(int toIndex) { 399 mToIndex = toIndex; 830 builder.append("; ToIndex: " + mToIndex);
|
/external/chromium_org/v8/test/mjsunit/ |
mirror-string.js | 66 assertEquals(fromJSON.toIndex, kMaxProtocolStringLength);
|
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
ImmutableList.java | 248 public ImmutableList<E> subList(int fromIndex, int toIndex) { 249 return unsafeDelegateList(delegate.subList(fromIndex, toIndex));
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/ |
SortedMapInterfaceTest.java | 182 List<E> list, int fromIndex, int toIndex) { 184 for (int i = fromIndex; i < toIndex; i++) {
|
/external/v8/test/mjsunit/ |
mirror-string.js | 66 assertEquals(fromJSON.toIndex, kMaxProtocolStringLength);
|