Searched refs:nextPos (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/telephony/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/base/telephony/java/android/telephony/ |
D | SmsMessage.java | 392 int nextPos = 0; // Counts code units. in fragmentText() local 396 nextPos = pos + Math.min(limit, textLen - pos); in fragmentText() 399 nextPos = GsmAlphabet.findGsmSeptetLimitIndex(newMsgBody, pos, limit, in fragmentText() 403 nextPos = SmsMessageBase.findNextUnicodePosition(pos, limit, newMsgBody); in fragmentText() 405 if ((nextPos <= pos) || (nextPos > textLen)) { in fragmentText() 406 Rlog.e(LOG_TAG, "fragmentText failed (" + pos + " >= " + nextPos + " or " + in fragmentText() 407 nextPos + " >= " + textLen + ")"); in fragmentText() 410 result.add(newMsgBody.substring(pos, nextPos)); in fragmentText() 411 pos = nextPos; in fragmentText()
|
/frameworks/rs/ |
D | rsScriptC.cpp | 82 int nextPos = cacheDirString.find(OS_PATH_SEPARATOR_STR, currPos + 1); in createCacheDir() local 84 if (nextPos > 0) { in createCacheDir() 86 currentDir += cacheDirString.substr(currPos, nextPos - currPos); in createCacheDir() 92 currPos = nextPos; in createCacheDir()
|
/frameworks/base/core/java/android/widget/ |
D | AbsListView.java | 7542 final int nextPos = firstPos + nextViewIndex; in run() 7544 if (nextPos == mLastSeenPos) { in run() 7554 if (nextPos < mBoundPos) { in run() 7558 mLastSeenPos = nextPos; in run()
|