Searched refs:nextPos (Results 1 – 6 of 6) sorted by relevance
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | SmsMessageBase.java | 363 int nextPos = Math.min(currentPosition + byteLimit / 2, msgBody.length()); in findNextUnicodePosition() local 367 if (nextPos < msgBody.length()) { in findNextUnicodePosition() 370 if (!breakIterator.isBoundary(nextPos)) { in findNextUnicodePosition() 371 int breakPos = breakIterator.preceding(nextPos); in findNextUnicodePosition() 372 while (breakPos + 4 <= nextPos in findNextUnicodePosition() 381 nextPos = breakPos; in findNextUnicodePosition() 382 } else if (Character.isHighSurrogate(msgBody.charAt(nextPos - 1))) { in findNextUnicodePosition() 384 nextPos -= 1; in findNextUnicodePosition() 388 return nextPos; in findNextUnicodePosition() 416 int nextPos = findNextUnicodePosition(pos, maxUserDataBytesWithHeader, in calcUnicodeEncodingDetails() local [all …]
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
D | Gradient_Delegate.java | 106 int nextPos = 1; in precomputeGradientColors() local 110 while (currentPos > mPositions[nextPos]) { in precomputeGradientColors() 111 prevPos = nextPos++; in precomputeGradientColors() 115 (mPositions[nextPos] - mPositions[prevPos]); in precomputeGradientColors() 117 mGradient[i] = computeColor(mColors[prevPos], mColors[nextPos], percent); in precomputeGradientColors()
|
/frameworks/opt/telephony/src/java/android/telephony/ |
D | SmsMessage.java | 398 int nextPos = 0; // Counts code units. in fragmentText() local 402 nextPos = pos + Math.min(limit, textLen - pos); in fragmentText() 405 nextPos = GsmAlphabet.findGsmSeptetLimitIndex(newMsgBody, pos, limit, in fragmentText() 409 nextPos = SmsMessageBase.findNextUnicodePosition(pos, limit, newMsgBody); in fragmentText() 411 if ((nextPos <= pos) || (nextPos > textLen)) { in fragmentText() 412 Rlog.e(LOG_TAG, "fragmentText failed (" + pos + " >= " + nextPos + " or " + in fragmentText() 413 nextPos + " >= " + textLen + ")"); in fragmentText() 416 result.add(newMsgBody.substring(pos, nextPos)); in fragmentText() 417 pos = nextPos; in fragmentText()
|
/frameworks/rs/ |
D | rsScriptC.cpp | 88 int nextPos = cacheDirString.find(OS_PATH_SEPARATOR_STR, currPos + 1); in createCacheDir() local 90 if (nextPos > 0) { in createCacheDir() 92 currentDir += cacheDirString.substr(currPos, nextPos - currPos); in createCacheDir() 98 currPos = nextPos; in createCacheDir()
|
/frameworks/native/cmds/installd/ |
D | utils.cpp | 571 int8_t* nextPos = res + len; in _cache_malloc() local 572 if (cache->memBlocks == NULL || nextPos > cache->curMemBlockEnd) { in _cache_malloc() 582 nextPos = res + len; in _cache_malloc() 585 res, len, cache->memBlocks, nextPos)); in _cache_malloc() 586 cache->curMemBlockAvail = nextPos; in _cache_malloc()
|
/frameworks/base/core/java/android/widget/ |
D | AbsListView.java | 7481 final int nextPos = firstPos + nextViewIndex; in run() 7483 if (nextPos == mLastSeenPos) { in run() 7493 if (nextPos < mBoundPos) { in run() 7497 mLastSeenPos = nextPos; in run()
|