Home
last modified time | relevance | path

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

/aosp14/frameworks/base/core/java/android/hardware/hdmi/
H A 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()
/aosp14/frameworks/base/telephony/java/com/android/internal/telephony/
H A DSmsMessageBase.java438 int nextPos = Math.min(currentPosition + byteLimit / 2, msgBody.length()); in findNextUnicodePosition() local
442 if (nextPos < msgBody.length()) { in findNextUnicodePosition()
445 if (!breakIterator.isBoundary(nextPos)) { in findNextUnicodePosition()
446 int breakPos = breakIterator.preceding(nextPos); in findNextUnicodePosition()
447 while (breakPos + 4 <= nextPos in findNextUnicodePosition()
456 nextPos = breakPos; in findNextUnicodePosition()
457 } else if (Character.isHighSurrogate(msgBody.charAt(nextPos - 1))) { in findNextUnicodePosition()
459 nextPos -= 1; in findNextUnicodePosition()
463 return nextPos; in findNextUnicodePosition()
498 if (nextPos == msgBody.length()) { in calcUnicodeEncodingDetails()
[all …]
/aosp14/frameworks/base/telephony/java/android/telephony/
H A 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()
/aosp14/frameworks/base/core/java/android/widget/
H A DAbsListView.java8043 final int nextPos = firstPos + nextViewIndex; in run()
8045 if (nextPos == mLastSeenPos) { in run()
8055 if (nextPos < mBoundPos) { in run()
8059 mLastSeenPos = nextPos; in run()