Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/hardware/hdmi/
DHdmiUtils.java188 int nextPos = firstDiffPos + 1; in getHdmiAddressRelativePosition() local
191 if (nextPos == 4) { in getHdmiAddressRelativePosition()
195 if (((0xF000 >> (nextPos * 4)) & dest) == 0) { in getHdmiAddressRelativePosition()
204 if (nextPos == 4) { in getHdmiAddressRelativePosition()
208 if (((0xF000 >> (nextPos * 4)) & src) == 0) { in getHdmiAddressRelativePosition()
214 if (nextPos == 4) { in getHdmiAddressRelativePosition()
218 if (((0xF000 >> (nextPos * 4)) & src) == 0 && ((0xF000 >> (nextPos * 4)) & dest) == 0) { in getHdmiAddressRelativePosition()
/frameworks/base/telephony/java/com/android/internal/telephony/
DSmsMessageBase.java428 int nextPos = Math.min(currentPosition + byteLimit / 2, msgBody.length()); in findNextUnicodePosition() local
432 if (nextPos < msgBody.length()) { in findNextUnicodePosition()
435 if (!breakIterator.isBoundary(nextPos)) { in findNextUnicodePosition()
436 int breakPos = breakIterator.preceding(nextPos); in findNextUnicodePosition()
437 while (breakPos + 4 <= nextPos in findNextUnicodePosition()
446 nextPos = breakPos; in findNextUnicodePosition()
447 } else if (Character.isHighSurrogate(msgBody.charAt(nextPos - 1))) { in findNextUnicodePosition()
449 nextPos -= 1; in findNextUnicodePosition()
453 return nextPos; in findNextUnicodePosition()
486 int nextPos = findNextUnicodePosition(pos, maxUserDataBytesWithHeader, in calcUnicodeEncodingDetails() local
[all …]
/frameworks/layoutlib/bridge/src/android/graphics/
DGradient_Delegate.java112 int nextPos = 1; in precomputeGradientColors() local
122 while (nextPos < mPositions.length && currentPos >= mPositions[nextPos]) { in precomputeGradientColors()
123 prevPos = nextPos++; in precomputeGradientColors()
126 if (nextPos == mPositions.length || currentPos == prevPos) { in precomputeGradientColors()
130 (mPositions[nextPos] - mPositions[prevPos]); in precomputeGradientColors()
132 mGradient[i] = computeColor(mColors[prevPos], mColors[nextPos], percent); in precomputeGradientColors()
/frameworks/base/telephony/java/android/telephony/
DSmsMessage.java487 int nextPos = 0; // Counts code units. in fragmentText() local
491 nextPos = pos + Math.min(limit, textLen - pos); in fragmentText()
494 nextPos = GsmAlphabet.findGsmSeptetLimitIndex(newMsgBody, pos, limit, in fragmentText()
498 nextPos = SmsMessageBase.findNextUnicodePosition(pos, limit, newMsgBody); in fragmentText()
500 if ((nextPos <= pos) || (nextPos > textLen)) { in fragmentText()
501 Rlog.e(LOG_TAG, "fragmentText failed (" + pos + " >= " + nextPos + " or " + in fragmentText()
502 nextPos + " >= " + textLen + ")"); in fragmentText()
505 result.add(newMsgBody.substring(pos, nextPos)); in fragmentText()
506 pos = nextPos; in fragmentText()
/frameworks/rs/
DrsScriptC.cpp82 int nextPos = cacheDirString.find(OS_PATH_SEPARATOR, 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/
DAbsListView.java7705 final int nextPos = firstPos + nextViewIndex; in run()
7707 if (nextPos == mLastSeenPos) { in run()
7717 if (nextPos < mBoundPos) { in run()
7721 mLastSeenPos = nextPos; in run()