Home
last modified time | relevance | path

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

12

/frameworks/wilhelm/src/itf/
DISeek.c52 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/av/media/libstagefright/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/av/media/libstagefright/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/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DSmsMessageBodyTest.java262 int startPos = 0; in testCalcLengthAscii() local
271 int endPos = (asciiCharsLen - startPos > addCount) ? in testCalcLengthAscii()
272 (startPos + addCount) : asciiCharsLen; in testCalcLengthAscii()
273 sb.append(sAsciiChars, startPos, endPos); in testCalcLengthAscii()
274 startPos = (endPos == asciiCharsLen) ? 0 : endPos; in testCalcLengthAscii()
295 int startPos = 0; in testCalcLengthUnicode() local
305 int endPos = (unicodeCharsLen - startPos > addCount) ? in testCalcLengthUnicode()
306 (startPos + addCount) : unicodeCharsLen; in testCalcLengthUnicode()
307 sb.append(sUnicodeChars, startPos, endPos); in testCalcLengthUnicode()
308 startPos = (endPos == unicodeCharsLen) ? 0 : endPos; in testCalcLengthUnicode()
/frameworks/base/core/jni/
Dandroid_database_SQLiteConnection.cpp575 sqlite3_stmt* statement, int numColumns, int startPos, int addedRows) { in copyRow() argument
580 startPos, addedRows, status); in copyRow()
599 sizeIncludingNull, startPos + addedRows, i, status); in copyRow()
604 startPos + addedRows, i, sizeIncludingNull); in copyRow()
615 LOG_WINDOW("%d,%d is INTEGER 0x%016llx", startPos + addedRows, i, value); in copyRow()
626 LOG_WINDOW("%d,%d is FLOAT %lf", startPos + addedRows, i, value); in copyRow()
634 size, startPos + addedRows, i, status); in copyRow()
639 startPos + addedRows, i, size); in copyRow()
650 LOG_WINDOW("%d,%d is NULL", startPos + addedRows, i); in copyRow()
669 jint startPos, jint requiredPos, jboolean countAllRows) { in nativeExecuteForCursorWindow() argument
[all …]
/frameworks/base/core/java/android/database/sqlite/
DSQLiteCursor.java143 int startPos = DatabaseUtils.cursorPickFillWindowStartPosition(requiredPos, 0); in fillWindow() local
144 mCount = mQuery.fillWindow(mWindow, startPos, requiredPos, true); in fillWindow()
150 int startPos = DatabaseUtils.cursorPickFillWindowStartPosition(requiredPos, in fillWindow() local
152 mQuery.fillWindow(mWindow, startPos, requiredPos, false); in fillWindow()
DSQLiteQuery.java57 int fillWindow(CursorWindow window, int startPos, int requiredPos, boolean countAllRows) { in fillWindow() argument
63 window, startPos, requiredPos, countAllRows, getConnectionFlags(), in fillWindow()
DSQLiteSession.java820 CursorWindow window, int startPos, int requiredPos, boolean countAllRows, in executeForCursorWindow() argument
837 window, startPos, requiredPos, countAllRows, in executeForCursorWindow()
DSQLiteConnection.java155 int startPos, int requiredPos, boolean countAllRows); in nativeExecuteForCursorWindow() argument
821 CursorWindow window, int startPos, int requiredPos, boolean countAllRows, in executeForCursorWindow() argument
847 startPos, requiredPos, countAllRows); in executeForCursorWindow()
865 + "', startPos=" + startPos in executeForCursorWindow()
/frameworks/base/libs/hwui/
DGradientCache.cpp265 float startPos = positions[0]; in generateTexture() local
266 float distance = positions[1] - startPos; in generateTexture()
273 startPos = positions[currentPos]; in generateTexture()
278 distance = positions[currentPos] - startPos; in generateTexture()
281 float amount = (pos - startPos) / distance; in generateTexture()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DStaggeredGrid.java284 public final List<Integer>[] getItemPositionsInRows(int startPos, int endPos) { in getItemPositionsInRows() argument
288 if (startPos >= 0) { in getItemPositionsInRows()
289 for (int i = startPos; i <= endPos; i++) { in getItemPositionsInRows()
/frameworks/opt/telephony/src/java/com/google/android/mms/pdu/
DPduParser.java843 int startPos = pduDataStream.available(); in parseParts() local
844 if (startPos <= 0) { in parseParts()
872 int partHeaderLen = headerLength - (startPos - endPos); in parseParts()
1359 int startPos = pduDataStream.available(); in parseContentTypeParams() local
1405 lastLen = length - (startPos - tempPos); in parseContentTypeParams()
1429 lastLen = length - (startPos - tempPos); in parseContentTypeParams()
1473 lastLen = length - (startPos - tempPos); in parseContentTypeParams()
1492 lastLen = length - (startPos - tempPos); in parseContentTypeParams()
1539 int startPos = pduDataStream.available(); in parseContentType() local
1563 int parameterLen = length - (startPos - endPos); 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/support/v4/java/android/support/v4/util/
DTimeUtils.java54 final int startPos = pos; in printField() local
61 if ((always && zeropad >= 2) || amt > 9 || startPos != pos) { in printField()
/frameworks/av/media/libstagefright/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/android/database/
DBulkCursorNative.java63 int startPos = data.readInt(); in onTransact() local
64 CursorWindow window = getWindow(startPos); in onTransact()
DDatabaseUtils.java462 int startPos = cursor.getPosition(); in dumpCursor() local
468 cursor.moveToPosition(startPos); in dumpCursor()
483 int startPos = cursor.getPosition(); in dumpCursor() local
489 cursor.moveToPosition(startPos); in dumpCursor()
/frameworks/base/core/java/android/widget/
DGridView.java318 private View makeRow(int startPos, int y, boolean flow) { in makeRow() argument
336 last = Math.min(startPos + mNumColumns, mItemCount); in makeRow()
338 last = startPos + 1; in makeRow()
339 startPos = Math.max(0, startPos - mNumColumns + 1); in makeRow()
341 if (last - startPos < mNumColumns) { in makeRow()
342 … final int deltaLeft = (mNumColumns - (last - startPos)) * (columnWidth + horizontalSpacing); in makeRow()
355 for (int pos = startPos; pos < last; pos++) { in makeRow()
360 final int where = flow ? -1 : pos - startPos; in makeRow()
DListView.java2845 int startPos = (mSelectedPosition != INVALID_POSITION) ? in lookForSelectablePositionOnScreen() local
2848 if (startPos >= mAdapter.getCount()) { in lookForSelectablePositionOnScreen()
2851 if (startPos < firstPosition) { in lookForSelectablePositionOnScreen()
2852 startPos = firstPosition; in lookForSelectablePositionOnScreen()
2857 for (int pos = startPos; pos <= lastVisiblePos; pos++) { in lookForSelectablePositionOnScreen()
2865 int startPos = (mSelectedPosition != INVALID_POSITION) ? in lookForSelectablePositionOnScreen() local
2868 if (startPos < 0 || startPos >= mAdapter.getCount()) { in lookForSelectablePositionOnScreen()
2871 if (startPos > last) { in lookForSelectablePositionOnScreen()
2872 startPos = last; in lookForSelectablePositionOnScreen()
2876 for (int pos = startPos; pos >= firstPosition; pos--) { in lookForSelectablePositionOnScreen()
/frameworks/base/core/java/android/util/
DTimeUtils.java269 final int startPos = pos; in printField() local
276 if ((always && zeropad >= 2) || amt > 9 || startPos != pos) { in printField()
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
DGridLayoutManager.java655 int startPos = 0; in getSpanIndex() local
661 startPos = prevKey + 1; in getSpanIndex()
664 for (int i = startPos; i < position; i++) { in getSpanIndex()
DStaggeredGridLayoutManager.java1095 final int startPos = getPosition(start);
1097 if (startPos < endPos) {
1098 record.setFromIndex(startPos);
1102 record.setToIndex(startPos);
/frameworks/base/core/java/android/os/
DParcel.java634 int startPos; in writeArrayMapInternal() local
636 if (DEBUG_ARRAY_MAP) startPos = dataPosition(); in writeArrayMapInternal()
640 + (dataPosition()-startPos) + " bytes: key=0x" in writeArrayMapInternal()
2475 int startPos; in readArrayMapInternal() local
2477 if (DEBUG_ARRAY_MAP) startPos = dataPosition(); in readArrayMapInternal()
2481 + (dataPosition()-startPos) + " bytes: key=0x" in readArrayMapInternal()
DBaseBundle.java1312 int startPos = parcel.dataPosition(); in writeToParcelInner() local
1318 int length = endPos - startPos; in writeToParcelInner()
/frameworks/base/services/core/java/com/android/server/wm/
DAppTransition.java385 private static float computePivot(int startPos, float finalScale) { in computePivot() argument
388 return startPos; in computePivot()
390 return -startPos / denom; in computePivot()

12