Home
last modified time | relevance | path

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

/frameworks/av/media/codec2/vndk/util/
DC2ParamUtils.cpp183 size_t endPos = strcspn(value + pos, " ,=") + pos; in parseEnumValuesFromString() local
184 if (endPos > pos) { in parseEnumValuesFromString()
185 foundNames.emplace_back(value + pos, endPos - pos); in parseEnumValuesFromString()
187 if (value[endPos] && value[endPos] != ',') { in parseEnumValuesFromString()
188 endPos += strcspn(value + endPos, ","); in parseEnumValuesFromString()
190 pos = strspn(value + endPos, " ,") + endPos; in parseEnumValuesFromString()
/frameworks/wilhelm/src/itf/
DISeek.cpp52 SLmillisecond startPos, SLmillisecond endPos) in ISeek_SetLoop() argument
56 if (!(startPos < endPos)) { in ISeek_SetLoop()
62 if ((startPos != 0) && (endPos != SL_TIME_UNKNOWN)) { in ISeek_SetLoop()
98 thiz->mEndPos = endPos; in ISeek_SetLoop()
120 SLmillisecond endPos = thiz->mEndPos; in ISeek_GetLoop() local
124 *pEndPos = endPos; in ISeek_GetLoop()
/frameworks/base/services/core/jni/
Dcom_android_server_net_NetworkStatsFactory.cpp111 char* endPos; in legacyReadNetworkStatsDetail() local
113 idx = (int)strtol(pos, &endPos, 10); in legacyReadNetworkStatsDetail()
115 if (pos == endPos) { in legacyReadNetworkStatsDetail()
126 pos = endPos; in legacyReadNetworkStatsDetail()
164 endPos = pos; in legacyReadNetworkStatsDetail()
165 while (*endPos != ' ') endPos++; in legacyReadNetworkStatsDetail()
168 if (endPos - pos == 3) { in legacyReadNetworkStatsDetail()
182 pos = endPos; in legacyReadNetworkStatsDetail()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DSmsMessageBodyTest.java265 int endPos = (asciiCharsLen - startPos > addCount) ? in testCalcLengthAscii() local
267 sb.append(sAsciiChars, startPos, endPos); in testCalcLengthAscii()
268 startPos = (endPos == asciiCharsLen) ? 0 : endPos; in testCalcLengthAscii()
299 int endPos = (unicodeCharsLen - startPos > addCount) ? in testCalcLengthUnicode() local
301 sb.append(sUnicodeChars, startPos, endPos); in testCalcLengthUnicode()
302 startPos = (endPos == unicodeCharsLen) ? 0 : endPos; in testCalcLengthUnicode()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/onehanded/
DOneHandedAnimationController.java75 float startPos, float endPos, Rect displayBounds) { in getAnimator() argument
79 OneHandedTransitionAnimator.ofYOffset(token, leash, startPos, endPos, in getAnimator()
82 animator.updateEndValue(endPos); in getAnimator()
86 OneHandedTransitionAnimator.ofYOffset(token, leash, startPos, endPos, in getAnimator()
/frameworks/base/services/core/java/com/android/server/wm/
DRemoteAnimationController.java400 RemoteAnimationRecord(WindowContainer windowContainer, Point endPos, Rect localBounds,
405 mAdapter = new RemoteAnimationAdapterWrapper(this, endPos, localBounds, endBounds,
415 mAdapter = new RemoteAnimationAdapterWrapper(this, endPos, localBounds, endBounds,
416 new Rect(endPos.x, endPos.y, endBounds.right, endBounds.bottom));
/frameworks/base/core/java/android/view/inputmethod/
DBaseInputConnection.java646 int endPos = selEnd + afterLength; in getSurroundingText() local
650 endPos = Math.min(contentLength, endPos); in getSurroundingText()
654 surroundingText = content.subSequence(startPos, endPos); in getSurroundingText()
656 surroundingText = TextUtils.substring(content, startPos, endPos); in getSurroundingText()
/frameworks/base/core/java/android/text/
DStaticLayout.java852 int endPos = paraStart + breaks[breakIndex]; in generate()
854 boolean moreChars = (endPos < bufEnd); in generate()
863 v = out(source, here, endPos, in generate()
871 if (endPos < spanEnd) { in generate()
881 here = endPos; in generate()
/frameworks/base/telephony/common/com/google/android/mms/pdu/
DPduParser.java878 int endPos = pduDataStream.available(); in parseParts() local
879 int partHeaderLen = headerLength - (startPos - endPos); in parseParts()
1580 int endPos = pduDataStream.available(); in parseContentType() local
1581 int parameterLen = length - (startPos - endPos); in parseContentType()
/frameworks/base/core/java/android/os/
DBaseBundle.java1621 int endPos = parcel.dataPosition(); in writeToParcelInner() local
1625 int length = endPos - startPos; in writeToParcelInner()
1627 parcel.setDataPosition(endPos); in writeToParcelInner()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp6792 const uint8_t* endPos = ((const uint8_t*)pkg) + dtohs(pkg->header.size); in parsePackage() local
6793 while (((const uint8_t*)chunk) <= (endPos-sizeof(ResChunk_header)) && in parsePackage()
6794 ((const uint8_t*)chunk) <= (endPos-dtohl(chunk->size))) { in parsePackage()
6805 endPos, "ResTable_typeSpec"); in parsePackage()
6879 endPos, "ResTable_type"); in parsePackage()
6958 endPos, "ResTable_lib_header"); in parsePackage()
6982 endPos, "ResTable_package:unknown"); in parsePackage()
/frameworks/base/core/java/com/android/internal/widget/
DViewPager.java936 final int endPos = Math.min(N-1, mCurItem + pageLimit);
1013 if (extraWidthRight >= rightWidthNeeded && pos > endPos) {
/frameworks/wilhelm/include/SLES/
DOpenSLES.h1117 SLmillisecond endPos
/frameworks/wilhelm/include/OMXAL/
DOpenMAXAL.h891 XAmillisecond endPos