/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/suggestions/ |
MoreSuggestions.java | 103 private boolean fitInWidth(final int startIndex, final int endIndex, final int width) { 104 for (int index = startIndex; index < endIndex; index++) { 111 private int calcurateMaxRowWidth(final int startIndex, final int endIndex) { 117 while (index < endIndex && mRowNumbers[index] == row) {
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/Events/ |
EventLocationEventTestCase.java | 100 long endIndex = replyPacket.getNextValueAsLong(); 102 " and ends at " + endIndex); 109 for (long idx = startIndex; idx <= endIndex; ++idx) {
|
/external/icu/icu4c/source/test/intltest/ |
tstnrapi.cpp | 90 copy.endIndex()!=iter.endIndex() 115 if(copy.endIndex()!=s.length()-1) {
|
citrtest.cpp | 211 if (test1d->endIndex() > testText.length()) 212 errln("Construction failed: endIndex is greater than the text length"); 213 if (test1d->getIndex() < test1d->startIndex() || test1d->endIndex() < test1d->getIndex()) 308 if (test8b->endIndex() != u_strlen(testText)) 309 errln("Construction failed: endIndex is different from the text length"); 310 if (test8c->getIndex() < test8c->startIndex() || test8c->endIndex() < test8c->getIndex()) 395 if (iter.startIndex() != 0 || iter.endIndex() != text.length()) 396 errln("startIndex() or endIndex() failed"); 491 if (iter.startIndex() != 5 || iter.endIndex() != 15) 593 if (iter.startIndex() != 0 || iter.endIndex() != text.length() [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
KeyboardShortcutKeysLayout.java | 161 private void layoutChildrenOnRow(int startIndex, int endIndex, int fullRowWidth, int xPos, 167 for (int j = startIndex; j < endIndex; ++j) { 183 int nextChildWidth = j < endIndex - 1
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
StringRange.java | 265 private static void add(int endIndex, int startOffset, int[] starts, int[] ends, StringBuilder builder, Collection<String> output) { 266 int start = starts[endIndex+startOffset]; 267 int end = ends[endIndex]; 271 boolean last = endIndex == ends.length - 1; 278 add(endIndex+1, startOffset, starts, ends, builder, output);
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
StringRange.java | 261 private static void add(int endIndex, int startOffset, int[] starts, int[] ends, StringBuilder builder, Collection<String> output) { 262 int start = starts[endIndex+startOffset]; 263 int end = ends[endIndex]; 267 boolean last = endIndex == ends.length - 1; 274 add(endIndex+1, startOffset, starts, ends, builder, output);
|
/external/protobuf/java/src/main/java/com/google/protobuf/ |
LiteralByteString.java | 83 public ByteString substring(int beginIndex, int endIndex) { 88 if (endIndex > size()) { 89 throw new IndexOutOfBoundsException("End index: " + endIndex + " > " + 92 int substringLength = endIndex - beginIndex; 96 + endIndex);
|
RopeByteString.java | 305 * @param endIndex the last character is the one before this index 309 public ByteString substring(int beginIndex, int endIndex) { 314 if (endIndex > totalLength) { 316 "End index: " + endIndex + " > " + totalLength); 318 int substringLength = endIndex - beginIndex; 322 + endIndex); 334 if (endIndex <= leftLength) { 336 result = left.substring(beginIndex, endIndex); 340 .substring(beginIndex - leftLength, endIndex - leftLength); 344 ByteString rightSub = right.substring(0, endIndex - leftLength) [all...] |
/external/skia/src/pathops/ |
SkPathOpsQuad.cpp | 145 bool SkDQuad::isLinear(int startIndex, int endIndex) const { 147 lineParameters.quadEndPoints(*this, startIndex, endIndex); 245 void SkDQuad::align(int endIndex, SkDPoint* dstPt) const { 246 if (fPts[endIndex].fX == fPts[1].fX) { 247 dstPt->fX = fPts[endIndex].fX; 249 if (fPts[endIndex].fY == fPts[1].fY) { 250 dstPt->fY = fPts[endIndex].fY;
|
SkPathOpsCubic.h | 49 void align(int endIndex, int ctrlIndex, SkDPoint* dstPt) const; 79 bool isLinear(int startIndex, int endIndex) const;
|
/external/okhttp/okio/okio/src/main/java/okio/ |
Buffer.java | 796 @Override public Buffer writeUtf8(String string, int beginIndex, int endIndex) { 799 if (endIndex < beginIndex) { 800 throw new IllegalArgumentException("endIndex < beginIndex: " + endIndex + " < " + beginIndex); 802 if (endIndex > string.length()) { 804 "endIndex > string.length: " + endIndex + " > " + string.length()); 808 for (int i = beginIndex; i < endIndex;) { 815 int runLimit = Math.min(endIndex, Segment.SIZE - segmentOffset); 848 int low = i + 1 < endIndex ? string.charAt(i + 1) : 0 [all...] |
/external/proguard/src/proguard/retrace/ |
ReTrace.java | 258 int endIndex = matcher.end(expressionTypeIndex + 1); 314 lineIndex = endIndex; 525 int endIndex = obfuscatedArguments.indexOf(',', startIndex); 526 if (endIndex < 0) 531 originalArguments.append(originalType(obfuscatedArguments.substring(startIndex, endIndex).trim())).append(','); 533 startIndex = endIndex + 1;
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
SpannableStringUtils.java | 124 final int startIndex, final int endIndex) { 130 // trick, and works in all cases even if startIndex <= 0 or endIndex >= text.length(). 131 final URLSpan[] spans = spanned.getSpans(startIndex - 1, endIndex + 1, URLSpan.class);
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
Util.java | 123 public static int findMaxIndex(double[] data, int startIndex, int endIndex) { 125 for (int i = startIndex + 1; i <= endIndex; i++) {
|
/external/apache-http/src/org/apache/http/impl/auth/ |
AuthSchemeBase.java | 110 int endIndex = pos; 111 String s = buffer.substring(beginIndex, endIndex);
|
/external/apache-http/src/org/apache/http/impl/client/ |
AbstractAuthenticationHandler.java | 103 int endIndex = pos; 104 String s = buffer.substring(beginIndex, endIndex);
|
/frameworks/base/core/java/android/animation/ |
PathKeyframes.java | 99 private PointF interpolateInRange(float fraction, int startIndex, int endIndex) { 101 int endBase = (endIndex * NUM_COMPONENTS);
|
AnimatorInflater.java | [all...] |
/packages/inputmethods/LatinIME/common/src/com/android/inputmethod/latin/common/ |
StringUtils.java | 243 * @param endIndex the end index inside the string in java chars, exclusive. 244 * @return a new array of code points. At most endIndex - startIndex, but possibly less. 248 final int startIndex, final int endIndex) { 254 new int[Character.codePointCount(charSequence, startIndex, endIndex)]; 255 copyCodePointsAndReturnCodePointCount(codePoints, charSequence, startIndex, endIndex, 274 * @param endIndex the end index inside the string in java chars, exclusive. 279 @Nonnull final CharSequence charSequence, final int startIndex, final int endIndex, 282 for (int index = startIndex; index < endIndex;
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/gdiplus/ |
gdipluspath.h | 547 INT CopyData(PointF *points, BYTE *types, INT startIndex, INT endIndex) 552 points, types, startIndex, endIndex)); 590 INT NextMarker(INT *startIndex, INT *endIndex) 595 startIndex, endIndex)); 606 INT NextPathType(BYTE *pathType, INT *startIndex, INT *endIndex) 611 pathType, startIndex, endIndex)); 614 INT NextSubpath(INT *startIndex, INT *endIndex, BOOL *isClosed) 619 startIndex, endIndex, isClosed));
|
/cts/tests/tests/text/src/android/text/cts/ |
StaticLayoutLineBreakingTest.java | 213 int endIndex = text.indexOf('>'); 214 if (endIndex < 0) throw new IllegalArgumentException("Unbalanced span markers"); 216 text = text.substring(0, startIndex) + text.substring(startIndex + 1, endIndex) + 217 text.substring(endIndex + 1); 220 spanEnds[spanCount] = endIndex - 2;
|
/external/icu/icu4c/source/i18n/ |
unum.cpp | 209 pos->endIndex = fp.getEndIndex(); 242 pos->endIndex = fp.getEndIndex(); 285 pos->endIndex = fp.getEndIndex(); 325 pos->endIndex = fp.getEndIndex(); 870 pos->endIndex = fp.getEndIndex();
|
/external/antlr/antlr-3.4/runtime/C/src/ |
antlr3string.c | 82 static pANTLR3_STRING subString8 (pANTLR3_STRING string, ANTLR3_UINT32 startIndex, ANTLR3_UINT32 endIndex); 83 static pANTLR3_STRING subStringUTF16 (pANTLR3_STRING string, ANTLR3_UINT32 startIndex, ANTLR3_UINT32 endIndex); [all...] |
/frameworks/base/core/jni/ |
android_util_Process.cpp | 842 char* buffer, jint startIndex, jint endIndex, jintArray format, 889 if (i >= endIndex) { 899 while (i < endIndex && buffer[i] != ')') { 905 while (buffer[i] != '"' && i < endIndex) { 911 while (i < endIndex && buffer[i] != term) { 918 if (i < endIndex) { 921 while (i < endIndex && buffer[i] == term) { 966 jbyteArray buffer, jint startIndex, jint endIndex, jintArray format, 972 (char*) bufferArray, startIndex, endIndex, format, outStrings, [all...] |