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.java186 int nextPos = firstDiffPos + 1; in getHdmiAddressRelativePosition() local
189 if (nextPos == 4) { in getHdmiAddressRelativePosition()
193 if (((0xF000 >> (nextPos * 4)) & dest) == 0) { in getHdmiAddressRelativePosition()
202 if (nextPos == 4) { in getHdmiAddressRelativePosition()
206 if (((0xF000 >> (nextPos * 4)) & src) == 0) { in getHdmiAddressRelativePosition()
212 if (nextPos == 4) { in getHdmiAddressRelativePosition()
216 if (((0xF000 >> (nextPos * 4)) & src) == 0 && ((0xF000 >> (nextPos * 4)) & dest) == 0) { in getHdmiAddressRelativePosition()
/frameworks/base/telephony/java/com/android/internal/telephony/
DSmsMessageBase.java427 int nextPos = Math.min(currentPosition + byteLimit / 2, msgBody.length()); in findNextUnicodePosition() local
431 if (nextPos < msgBody.length()) { in findNextUnicodePosition()
434 if (!breakIterator.isBoundary(nextPos)) { in findNextUnicodePosition()
435 int breakPos = breakIterator.preceding(nextPos); in findNextUnicodePosition()
436 while (breakPos + 4 <= nextPos in findNextUnicodePosition()
445 nextPos = breakPos; in findNextUnicodePosition()
446 } else if (Character.isHighSurrogate(msgBody.charAt(nextPos - 1))) { in findNextUnicodePosition()
448 nextPos -= 1; in findNextUnicodePosition()
452 return nextPos; in findNextUnicodePosition()
485 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.java491 int nextPos = 0; // Counts code units. in fragmentText() local
495 nextPos = pos + Math.min(limit, textLen - pos); in fragmentText()
498 nextPos = GsmAlphabet.findGsmSeptetLimitIndex(newMsgBody, pos, limit, in fragmentText()
502 nextPos = SmsMessageBase.findNextUnicodePosition(pos, limit, newMsgBody); in fragmentText()
504 if ((nextPos <= pos) || (nextPos > textLen)) { in fragmentText()
505 Rlog.e(LOG_TAG, "fragmentText failed (" + pos + " >= " + nextPos + " or " + in fragmentText()
506 nextPos + " >= " + textLen + ")"); in fragmentText()
509 result.add(newMsgBody.substring(pos, nextPos)); in fragmentText()
510 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.java7777 final int nextPos = firstPos + nextViewIndex; in run()
7779 if (nextPos == mLastSeenPos) { in run()
7789 if (nextPos < mBoundPos) { in run()
7793 mLastSeenPos = nextPos; in run()