Home
last modified time | relevance | path

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

/frameworks/base/telephony/tests/telephonytests/src/com/android/internal/telephony/
DSmsMessageBodyTest.java274 int endPos = (asciiCharsLen - startPos > addCount) ? in testCalcLengthAscii() local
276 sb.append(sAsciiChars, startPos, endPos); in testCalcLengthAscii()
277 startPos = (endPos == asciiCharsLen) ? 0 : endPos; in testCalcLengthAscii()
308 int endPos = (unicodeCharsLen - startPos > addCount) ? in testCalcLengthUnicode() local
310 sb.append(sUnicodeChars, startPos, endPos); in testCalcLengthUnicode()
311 startPos = (endPos == unicodeCharsLen) ? 0 : endPos; in testCalcLengthUnicode()
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/
DFsUtils.java199 int endPos = path.lastIndexOf('/'); in getLastSegmentInPath() local
200 path = path.substring(0, endPos); in getLastSegmentInPath()
201 endPos = path.lastIndexOf('/'); in getLastSegmentInPath()
202 return path.substring(endPos + 1); in getLastSegmentInPath()
/frameworks/base/tools/localize/
DXMLHandler.h159 virtual int OnDone(const SourcePos& endPos);
179 virtual int OnDone(const SourcePos& endPos);
/frameworks/support/v4/java/android/support/v4/view/
DViewPager.java633 final int endPos = Math.min(N-1, mCurItem + pageLimit);
635 if (DEBUG) Log.v(TAG, "populating: startPos=" + startPos + " endPos=" + endPos);
641 if ((ii.position < startPos || ii.position > endPos) && !ii.scrolling) {
646 } else if (lastPos < endPos && ii.position > startPos) {
654 while (lastPos <= endPos && lastPos < ii.position) {
666 if (lastPos < endPos) {
669 while (lastPos <= endPos) {
/frameworks/base/core/java/com/google/android/mms/pdu/
DPduParser.java776 int endPos = pduDataStream.available(); in parseParts() local
777 int partHeaderLen = headerLength - (startPos - endPos); in parseParts()
1464 int endPos = pduDataStream.available(); in parseContentType() local
1465 int parameterLen = length - (startPos - endPos); in parseContentType()
/frameworks/base/libs/utils/
DResourceTypes.cpp4171 const uint8_t* endPos = ((const uint8_t*)pkg) + dtohs(pkg->header.size); in parsePackage() local
4172 while (((const uint8_t*)chunk) <= (endPos-sizeof(ResChunk_header)) && in parsePackage()
4173 ((const uint8_t*)chunk) <= (endPos-dtohl(chunk->size))) { in parsePackage()
4182 endPos, "ResTable_typeSpec"); in parsePackage()
4229 endPos, "ResTable_type"); in parsePackage()
4299 endPos, "ResTable_package:unknown"); in parsePackage()