Searched refs:nextPos (Results 1 – 6 of 6) sorted by relevance
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | SmsMessageBase.java | 362 int nextPos = Math.min(currentPosition + byteLimit / 2, msgBody.length()); in findNextUnicodePosition() local 366 if (nextPos < msgBody.length()) { in findNextUnicodePosition() 369 if (!breakIterator.isBoundary(nextPos)) { in findNextUnicodePosition() 370 nextPos = breakIterator.preceding(nextPos); in findNextUnicodePosition() 373 return nextPos; in findNextUnicodePosition() 401 int nextPos = findNextUnicodePosition(pos, maxUserDataBytesWithHeader, in calcUnicodeEncodingDetails() local 403 if (nextPos == msgBody.length()) { in calcUnicodeEncodingDetails() 407 pos = nextPos; in calcUnicodeEncodingDetails()
|
/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 | 383 int nextPos = 0; // Counts code units. in fragmentText() local 387 nextPos = pos + Math.min(limit, textLen - pos); in fragmentText() 390 nextPos = GsmAlphabet.findGsmSeptetLimitIndex(newMsgBody, pos, limit, in fragmentText() 394 nextPos = SmsMessageBase.findNextUnicodePosition(pos, limit, newMsgBody); in fragmentText() 396 if ((nextPos <= pos) || (nextPos > textLen)) { in fragmentText() 397 Rlog.e(LOG_TAG, "fragmentText failed (" + pos + " >= " + nextPos + " or " + in fragmentText() 398 nextPos + " >= " + textLen + ")"); in fragmentText() 401 result.add(newMsgBody.substring(pos, nextPos)); in fragmentText() 402 pos = nextPos; in fragmentText()
|
/frameworks/rs/ |
D | rsScriptC.cpp | 96 int nextPos = cacheDirString.find(OS_PATH_SEPARATOR_STR, currPos + 1); in createCacheDir() local 98 if (nextPos > 0) { in createCacheDir() 100 currentDir += cacheDirString.substr(currPos, nextPos - currPos); in createCacheDir() 106 currPos = nextPos; in createCacheDir()
|
/frameworks/native/cmds/installd/ |
D | utils.cpp | 525 int8_t* nextPos = res + len; in _cache_malloc() local 526 if (cache->memBlocks == NULL || nextPos > cache->curMemBlockEnd) { in _cache_malloc() 536 nextPos = res + len; in _cache_malloc() 539 res, len, cache->memBlocks, nextPos)); in _cache_malloc() 540 cache->curMemBlockAvail = nextPos; in _cache_malloc()
|
/frameworks/base/core/java/android/widget/ |
D | AbsListView.java | 7311 final int nextPos = firstPos + nextViewIndex; in run() 7313 if (nextPos == mLastSeenPos) { in run() 7323 if (nextPos < mBoundPos) { in run() 7327 mLastSeenPos = nextPos; in run()
|