Home
last modified time | relevance | path

Searched refs:endPos (Results 1 – 4 of 4) sorted by relevance

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DResizableIntArray.java127 final int endPos = startPos + length; in fill() local
128 ensureCapacity(endPos); in fill()
129 Arrays.fill(mArray, startPos, endPos, value); in fill()
130 if (mLength < endPos) { in fill()
131 mLength = endPos; in fill()
/packages/apps/Calendar/src/com/android/calendar/
DUtils.java1911 int endPos = text.length() - NANP_MIN_DIGITS + 1; in findNanpPhoneNumbers() local
1912 if (endPos < 0) { in findNanpPhoneNumbers()
1920 while (startPos < endPos) { in findNanpPhoneNumbers()
1922 while (Character.isWhitespace(text.charAt(startPos)) && startPos < endPos) { in findNanpPhoneNumbers()
1925 if (startPos == endPos) { in findNanpPhoneNumbers()
1937 while (!Character.isWhitespace(text.charAt(startPos)) && startPos < endPos) { in findNanpPhoneNumbers()
1979 int endPos = text.length(); in findNanpMatchEnd() local
1985 while (curPos <= endPos) { in findNanpMatchEnd()
1987 if (curPos < endPos) { in findNanpMatchEnd()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/suggestions/
DMoreSuggestions.java103 private boolean fitInWidth(final int startPos, final int endPos, final int width) { in fitInWidth() argument
104 for (int pos = startPos; pos < endPos; pos++) { in fitInWidth()
111 private int calcurateMaxRowWidth(final int startPos, final int endPos) { in calcurateMaxRowWidth() argument
117 while (pos < endPos && mRowNumbers[pos] == row) { in calcurateMaxRowWidth()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
DResizableIntArrayTests.java259 final int endPos = startPos + length; in testFill() local
280 if (i >= startPos && i < endPos) { in testFill()