Searched refs:nextPos (Results 1 - 6 of 6) sorted by relevance

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DSmsMessageBase.java362 int nextPos = Math.min(currentPosition + byteLimit / 2, msgBody.length());
366 if (nextPos < msgBody.length()) {
369 if (!breakIterator.isBoundary(nextPos)) {
370 nextPos = breakIterator.preceding(nextPos);
373 return nextPos;
401 int nextPos = findNextUnicodePosition(pos, maxUserDataBytesWithHeader,
403 if (nextPos == msgBody.length()) {
407 pos = nextPos;
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DGradient_Delegate.java106 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);
/frameworks/opt/telephony/src/java/android/telephony/
H A DSmsMessage.java383 int nextPos = 0; // Counts code units.
387 nextPos = pos + Math.min(limit, textLen - pos);
390 nextPos = GsmAlphabet.findGsmSeptetLimitIndex(newMsgBody, pos, limit,
394 nextPos = SmsMessageBase.findNextUnicodePosition(pos, limit, newMsgBody);
396 if ((nextPos <= pos) || (nextPos > textLen)) {
397 Rlog.e(LOG_TAG, "fragmentText failed (" + pos + " >= " + nextPos + " or " +
398 nextPos + " >= " + textLen + ")");
401 result.add(newMsgBody.substring(pos, nextPos));
402 pos = nextPos;
[all...]
/frameworks/rs/
H A DrsScriptC.cpp96 int nextPos = cacheDirString.find(OS_PATH_SEPARATOR_STR, currPos + 1); local
98 if (nextPos > 0) {
100 currentDir += cacheDirString.substr(currPos, nextPos - currPos);
106 currPos = nextPos;
/frameworks/native/cmds/installd/
H A Dutils.cpp525 int8_t* nextPos = res + len; local
526 if (cache->memBlocks == NULL || nextPos > cache->curMemBlockEnd) {
536 nextPos = res + len;
538 CACHE_NOISY(ALOGI("cache_malloc: ret %p size %d, block=%p, nextPos=%p",
539 res, len, cache->memBlocks, nextPos));
540 cache->curMemBlockAvail = nextPos;
/frameworks/base/core/java/android/widget/
H A DAbsListView.java7283 final int nextPos = firstPos + nextViewIndex;
7285 if (nextPos == mLastSeenPos) {
7295 if (nextPos < mBoundPos) {
7299 mLastSeenPos = nextPos;

Completed in 364 milliseconds