/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
SmsMessageBase.java | 363 int nextPos = Math.min(currentPosition + byteLimit / 2, msgBody.length()); 367 if (nextPos < msgBody.length()) { 370 if (!breakIterator.isBoundary(nextPos)) { 371 int breakPos = breakIterator.preceding(nextPos); 372 while (breakPos + 4 <= nextPos 381 nextPos = breakPos; 382 } else if (Character.isHighSurrogate(msgBody.charAt(nextPos - 1))) { 384 nextPos -= 1; 388 return nextPos; 416 int nextPos = findNextUnicodePosition(pos, maxUserDataBytesWithHeader [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
Gradient_Delegate.java | 106 int nextPos = 1; 110 while (currentPos > mPositions[nextPos]) { 111 prevPos = nextPos++; 115 (mPositions[nextPos] - mPositions[prevPos]); 117 mGradient[i] = computeColor(mColors[prevPos], mColors[nextPos], percent);
|
/external/v8/test/intl/break-iterator/ |
en-break.js | 39 var nextPos = iterator.next(); 40 if (nextPos === -1) break; 42 slices.push(textToSegment.slice(pos, nextPos)); 45 pos = nextPos;
|
zh-break.js | 40 var nextPos = iterator.next(); 41 if (nextPos === -1) break; 43 slices.push(textToSegment.slice(pos, nextPos)); 46 pos = nextPos;
|
/frameworks/opt/telephony/src/java/android/telephony/ |
SmsMessage.java | 398 int nextPos = 0; // Counts code units. 402 nextPos = pos + Math.min(limit, textLen - pos); 405 nextPos = GsmAlphabet.findGsmSeptetLimitIndex(newMsgBody, pos, limit, 409 nextPos = SmsMessageBase.findNextUnicodePosition(pos, limit, newMsgBody); 411 if ((nextPos <= pos) || (nextPos > textLen)) { 412 Rlog.e(LOG_TAG, "fragmentText failed (" + pos + " >= " + nextPos + " or " + 413 nextPos + " >= " + textLen + ")"); 416 result.add(newMsgBody.substring(pos, nextPos)); 417 pos = nextPos; [all...] |
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v2/ |
patricia_trie_policy.cpp | 38 int nextPos = dicNode->getChildrenPtNodeArrayPos(); 39 if (!isValidPos(nextPos)) { 41 nextPos, mBuffer.size()); 47 mBuffer.data(), &nextPos); 49 if (!isValidPos(nextPos)) { 51 nextPos, mBuffer.size(), i, childCount); 56 nextPos = createAndGetLeavingChildNode(dicNode, nextPos, childDicNodes);
|
/developers/build/prebuilts/androidtv/sample-inputs/app/src/main/java/com/example/android/sampletvinput/syncadapter/ |
SyncAdapter.java | 125 long nextPos = insertionStartTimeSec; 126 for (int i = 0; nextPos < insertionEndSec; ++i) { 127 long programStartSec = nextPos; 154 nextPos = insertionStartTimeSec + i * durationSumSec;
|
/external/javassist/src/main/javassist/bytecode/ |
Descriptor.java | 841 int nextPos = index; 842 char c = desc.charAt(nextPos); 845 c = desc.charAt(++nextPos); 851 c = desc.charAt(++nextPos); 856 c = desc.charAt(++nextPos); 859 nextPos = desc.indexOf(';', nextPos) + 1; 860 if (nextPos <= 0) 864 ++nextPos; 867 index = nextPos; [all...] |
CodeIterator.java | 857 int nextPos; 860 for (; i < endPos; i = nextPos) { 867 nextPos = nextOpcode(code, i); [all...] |
/packages/apps/Calendar/src/com/android/calendar/agenda/ |
AgendaByDayAdapter.java | 659 int nextPos = listPos + 1; 660 if (nextPos < mRowInfo.size()) { 661 nextPos = getCursorPosition(nextPos); 662 if (nextPos >= 0) { 663 return -nextPos;
|
/frameworks/rs/ |
rsScriptC.cpp | 88 int nextPos = cacheDirString.find(OS_PATH_SEPARATOR_STR, currPos + 1); 90 if (nextPos > 0) { 92 currentDir += cacheDirString.substr(currPos, nextPos - currPos); 98 currPos = nextPos;
|
/external/deqp/modules/gles3/functional/ |
es3fImplementationLimitTests.cpp | 334 const size_t nextPos = extensionStr.find(' ', pos); 335 const size_t len = nextPos == string::npos ? extensionStr.length()-pos : nextPos-pos; 340 if (nextPos == string::npos) 343 pos = nextPos+1;
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/rbbi/ |
RBBITestMonkey.java | 703 int nextPos; // Index of the next character following pos. 719 nextPos = startPos; 732 pos = nextPos; 733 nextPos = moveIndex32(fText, pos, 1); 749 // result is "nextPos" for the following loop iteration. 754 if (nextPos == fText.length()) { 757 int nextChar = UTF16.charAt(fText, nextPos); 761 nextPos = moveIndex32(fText, nextPos, 1); [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/ |
RBBITestMonkey.java | 699 int nextPos; // Index of the next character following pos. 715 nextPos = startPos; 728 pos = nextPos; 729 nextPos = moveIndex32(fText, pos, 1); 745 // result is "nextPos" for the following loop iteration. 750 if (nextPos == fText.length()) { 753 int nextChar = UTF16.charAt(fText, nextPos); 757 nextPos = moveIndex32(fText, nextPos, 1); [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/allapps/ |
AlphabeticalAppsList.java | 624 int nextPos = pos + section.numApps; 625 for (int j = nextPos; j < (nextPos + nextSection.numApps); j++) {
|
/packages/apps/Launcher3/src/com/android/launcher3/folder/ |
FolderPagedView.java | 664 int nextPos = i + direction; 665 View v = page.getChildAt(nextPos % mGridCountX, nextPos / mGridCountX);
|
/frameworks/native/cmds/installd/ |
utils.cpp | 571 int8_t* nextPos = res + len; 572 if (cache->memBlocks == NULL || nextPos > cache->curMemBlockEnd) { 582 nextPos = res + len; 584 CACHE_NOISY(ALOGI("cache_malloc: ret %p size %zu, block=%p, nextPos=%p", 585 res, len, cache->memBlocks, nextPos)); 586 cache->curMemBlockAvail = nextPos; [all...] |
/external/icu/icu4c/source/test/intltest/ |
rbbitst.cpp | [all...] |
/external/v8/benchmarks/ |
navier-stokes.js | 263 var nextPos = j * rowSize + 1; 269 u[++currentPos] -= wScale * (p[++nextPos] - p[++prevPos]);
|
/frameworks/base/core/java/android/widget/ |
AbsListView.java | [all...] |
/external/guice/extensions/persist/lib/ |
javassist.jar | |
/external/guice/extensions/struts2/lib/ |
javassist.jar | |
/external/robolectric/v1/lib/main/ |
javassist-3.14.0-GA.jar | |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.apache.ant_1.7.1.v20090120-1145/lib/ |
ant-nodeps.jar | |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
org.apache.lucene_1.9.1.v20100518-1140.jar | |