Home
last modified time | relevance | path

Searched refs:startPos (Results 1 – 25 of 34) sorted by relevance

12

/frameworks/native/cmds/lshal/
Dutils.cpp30 size_t startPos = 0; in split() local
32 while ((matchPos = s.find(c, startPos)) != std::string::npos) { in split()
33 components.push_back(s.substr(startPos, matchPos - startPos)); in split()
34 startPos = matchPos + 1; in split()
37 if (startPos <= s.length()) { in split()
38 components.push_back(s.substr(startPos)); in split()
/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()
97 thiz->mStartPos = startPos; in ISeek_SetLoop()
119 SLmillisecond startPos = thiz->mStartPos; in ISeek_GetLoop() local
123 *pStartPos = startPos; in ISeek_GetLoop()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/euicc/apdu/
DRequestBuilder.java79 int startPos = 0; in addStoreData() local
83 String data = cmdHex.substring(startPos, startPos + cmdLen); in addStoreData()
85 startPos += cmdLen; in addStoreData()
87 String data = cmdHex.substring(startPos); in addStoreData()
/frameworks/base/libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/pip/
DPipShelfHeightTest.kt81 val startPos = initialState.pinnedWindows.first().frame in <lambda>() constant
84 subject.that(currPos.top).isGreaterThan(startPos.top) in <lambda>()
85 subject.that(currPos.bottom).isGreaterThan(startPos.bottom) in <lambda>()
86 subject.that(currPos.left).isEqualTo(startPos.left) in <lambda>()
87 subject.that(currPos.right).isEqualTo(startPos.right) in <lambda>()
/frameworks/av/media/codecs/amrnb/dec/src/
Dd2_9pf.cpp104 extern const Word16 startPos[];
207 pos[0] = i * 5 + startPos[k++]; in decode_2i40_9bits()
215 pos[1] = i * 5 + startPos[k]; in decode_2i40_9bits()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DSmsMessageBodyTest.java256 int startPos = 0; in testCalcLengthAscii() local
265 int endPos = (asciiCharsLen - startPos > addCount) ? in testCalcLengthAscii()
266 (startPos + addCount) : asciiCharsLen; in testCalcLengthAscii()
267 sb.append(sAsciiChars, startPos, endPos); in testCalcLengthAscii()
268 startPos = (endPos == asciiCharsLen) ? 0 : endPos; in testCalcLengthAscii()
289 int startPos = 0; in testCalcLengthUnicode() local
299 int endPos = (unicodeCharsLen - startPos > addCount) ? in testCalcLengthUnicode()
300 (startPos + addCount) : unicodeCharsLen; in testCalcLengthUnicode()
301 sb.append(sUnicodeChars, startPos, endPos); in testCalcLengthUnicode()
302 startPos = (endPos == unicodeCharsLen) ? 0 : endPos; in testCalcLengthUnicode()
/frameworks/av/media/codecs/amrnb/common/src/
Dc2_9pf_tab.cpp89 extern const Word16 startPos[];
90 const Word16 startPos[2*4*2] = {0, 2, 0, 3, variable
/frameworks/base/core/jni/
Dandroid_database_SQLiteConnection.cpp654 sqlite3_stmt* statement, int numColumns, int startPos, int addedRows) { in copyRow() argument
659 startPos, addedRows, status); in copyRow()
678 sizeIncludingNull, startPos + addedRows, i, status); in copyRow()
683 startPos + addedRows, i, sizeIncludingNull); in copyRow()
694 LOG_WINDOW("%d,%d is INTEGER %" PRId64, startPos + addedRows, i, value); in copyRow()
705 LOG_WINDOW("%d,%d is FLOAT %lf", startPos + addedRows, i, value); in copyRow()
713 size, startPos + addedRows, i, status); in copyRow()
718 startPos + addedRows, i, size); in copyRow()
729 LOG_WINDOW("%d,%d is NULL", startPos + addedRows, i); in copyRow()
748 jint startPos, jint requiredPos, jboolean countAllRows) { in nativeExecuteForCursorWindow() argument
[all …]
/frameworks/base/core/java/android/database/sqlite/
DSQLiteQuery.java57 int fillWindow(CursorWindow window, int startPos, int requiredPos, boolean countAllRows) { in fillWindow() argument
63 window, startPos, requiredPos, countAllRows, getConnectionFlags(), in fillWindow()
DSQLiteCursor.java151 int startPos = mFillWindowForwardOnly ? requiredPos : DatabaseUtils in fillWindow() local
153 mQuery.fillWindow(mWindow, startPos, requiredPos, false); in fillWindow()
DSQLiteSession.java822 CursorWindow window, int startPos, int requiredPos, boolean countAllRows, in executeForCursorWindow() argument
839 window, startPos, requiredPos, countAllRows, in executeForCursorWindow()
/frameworks/base/telephony/common/com/google/android/mms/pdu/
DPduParser.java850 int startPos = pduDataStream.available(); in parseParts() local
851 if (startPos <= 0) { in parseParts()
879 int partHeaderLen = headerLength - (startPos - endPos); in parseParts()
1371 int startPos = pduDataStream.available(); in parseContentTypeParams() local
1417 lastLen = length - (startPos - tempPos); in parseContentTypeParams()
1441 lastLen = length - (startPos - tempPos); in parseContentTypeParams()
1485 lastLen = length - (startPos - tempPos); in parseContentTypeParams()
1504 lastLen = length - (startPos - tempPos); in parseContentTypeParams()
1552 int startPos = pduDataStream.available(); in parseContentType() local
1553 if (length > startPos) { in parseContentType()
[all …]
/frameworks/av/media/libmedia/
DMediaScanner.cpp115 int startPos = 0; in shouldSkipDirectory() local
121 && (strncmp(path, &mSkipList[startPos], len) == 0)) { in shouldSkipDirectory()
124 startPos += mSkipIndex[idx] + 1; // extra char for the delimiter in shouldSkipDirectory()
/frameworks/base/core/java/android/view/inputmethod/
DBaseInputConnection.java645 int startPos = selStart - beforeLength; in getSurroundingText() local
649 startPos = Math.max(0, startPos); in getSurroundingText()
654 surroundingText = content.subSequence(startPos, endPos); in getSurroundingText()
656 surroundingText = TextUtils.substring(content, startPos, endPos); in getSurroundingText()
659 surroundingText, selStart - startPos, selEnd - startPos, startPos); in getSurroundingText()
/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()
86 OneHandedTransitionAnimator.ofYOffset(token, leash, startPos, endPos, in getAnimator()
/frameworks/av/media/codecs/amrnb/enc/src/
Dc2_9pf.cpp159 extern const Word16 startPos[];
634 *ipos = *(startPos + i); in search_2i40()
635 *(ipos + 1) = *(startPos + i + 1); in search_2i40()
/frameworks/base/core/java/com/android/internal/policy/
DDividerSnapAlgorithm.java291 int startPos = -mDividerSize; in calculateTargets() local
293 startPos += mInsets.left; in calculateTargets()
295 mTargets.add(new SnapTarget(startPos, startPos, SnapTarget.FLAG_DISMISS_START, in calculateTargets()
DTransitionAnimation.java875 public static float computePivot(int startPos, float finalScale) { in computePivot() argument
934 return startPos; in computePivot()
936 return -startPos / denom; in computePivot()
/frameworks/base/core/java/android/database/
DBulkCursorNative.java64 int startPos = data.readInt(); in onTransact() local
65 CursorWindow window = getWindow(startPos); in onTransact()
DDatabaseUtils.java656 int startPos = cursor.getPosition(); in dumpCursor() local
662 cursor.moveToPosition(startPos); in dumpCursor()
677 int startPos = cursor.getPosition(); in dumpCursor() local
683 cursor.moveToPosition(startPos); in dumpCursor()
/frameworks/base/core/java/android/widget/
DGridView.java342 private View makeRow(int startPos, int y, boolean flow) { in makeRow() argument
360 last = Math.min(startPos + mNumColumns, mItemCount); in makeRow()
362 last = startPos + 1; in makeRow()
363 startPos = Math.max(0, startPos - mNumColumns + 1); in makeRow()
365 if (last - startPos < mNumColumns) { in makeRow()
366 … final int deltaLeft = (mNumColumns - (last - startPos)) * (columnWidth + horizontalSpacing); in makeRow()
379 for (int pos = startPos; pos < last; pos++) { in makeRow()
384 final int where = flow ? -1 : pos - startPos; in makeRow()
DListView.java3054 int startPos = (mSelectedPosition != INVALID_POSITION) ? in lookForSelectablePositionOnScreen() local
3057 if (startPos >= mAdapter.getCount()) { in lookForSelectablePositionOnScreen()
3060 if (startPos < firstPosition) { in lookForSelectablePositionOnScreen()
3061 startPos = firstPosition; in lookForSelectablePositionOnScreen()
3066 for (int pos = startPos; pos <= lastVisiblePos; pos++) { in lookForSelectablePositionOnScreen()
3074 int startPos = (mSelectedPosition != INVALID_POSITION) ? in lookForSelectablePositionOnScreen() local
3077 if (startPos < 0 || startPos >= mAdapter.getCount()) { in lookForSelectablePositionOnScreen()
3080 if (startPos > last) { in lookForSelectablePositionOnScreen()
3081 startPos = last; in lookForSelectablePositionOnScreen()
3085 for (int pos = startPos; pos >= firstPosition; pos--) { in lookForSelectablePositionOnScreen()
/frameworks/base/core/java/android/util/
DTimeUtils.java208 final int startPos = pos; in printFieldLocked() local
230 if ((always && zeropad >= 2) || amt > 9 || startPos != pos) { in printFieldLocked()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DScreenshotView.java486 final PointF startPos = new PointF(bounds.centerX(), bounds.centerY()); in createScreenshotDropInAnimation() local
493 startPos.offset(targetPosition.left - locInScreen[0], targetPosition.top - locInScreen[1]); in createScreenshotDropInAnimation()
496 Log.d(TAG, "toCorner: startPos=" + startPos); in createScreenshotDropInAnimation()
535 float xCenter = MathUtils.lerp(startPos.x, finalPos.x, in createScreenshotDropInAnimation()
542 startPos.y, finalPos.y, mFastOutSlowIn.getInterpolation(t)); in createScreenshotDropInAnimation()
/frameworks/base/core/java/com/android/internal/widget/
DGridLayoutManager.java903 int startPos = 0; in getSpanIndex() local
909 startPos = prevKey + 1; in getSpanIndex()
912 for (int i = startPos; i < position; i++) { in getSpanIndex()

12