Home
last modified time | relevance | path

Searched refs:startPos (Results 1 – 25 of 35) 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/base/core/jni/
Dandroid_database_SQLiteConnection.cpp573 sqlite3_stmt* statement, int numColumns, int startPos, int addedRows) { in copyRow() argument
578 startPos, addedRows, status); in copyRow()
597 sizeIncludingNull, startPos + addedRows, i, status); in copyRow()
602 startPos + addedRows, i, sizeIncludingNull); in copyRow()
613 LOG_WINDOW("%d,%d is INTEGER 0x%016llx", startPos + addedRows, i, value); in copyRow()
624 LOG_WINDOW("%d,%d is FLOAT %lf", startPos + addedRows, i, value); in copyRow()
632 size, startPos + addedRows, i, status); in copyRow()
637 startPos + addedRows, i, size); in copyRow()
648 LOG_WINDOW("%d,%d is NULL", startPos + addedRows, i); in copyRow()
667 jint startPos, jint requiredPos, jboolean countAllRows) { in nativeExecuteForCursorWindow() argument
[all …]
/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/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/base/core/java/android/database/sqlite/
DSQLiteCursor.java142 int startPos = DatabaseUtils.cursorPickFillWindowStartPosition(requiredPos, 0); in fillWindow() local
143 mCount = mQuery.fillWindow(mWindow, startPos, requiredPos, true); in fillWindow()
149 int startPos = DatabaseUtils.cursorPickFillWindowStartPosition(requiredPos, in fillWindow() local
151 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.java153 int startPos, int requiredPos, boolean countAllRows); in nativeExecuteForCursorWindow() argument
819 CursorWindow window, int startPos, int requiredPos, boolean countAllRows, in executeForCursorWindow() argument
845 startPos, requiredPos, countAllRows); in executeForCursorWindow()
863 + "', startPos=" + startPos in executeForCursorWindow()
/frameworks/base/libs/hwui/
DGradientCache.cpp258 float startPos = positions[0]; in generateTexture() local
259 float distance = positions[1] - startPos; in generateTexture()
266 startPos = positions[currentPos]; in generateTexture()
271 distance = positions[currentPos] - startPos; in generateTexture()
274 float amount = (pos - startPos) / distance; in generateTexture()
/frameworks/opt/telephony/src/java/com/google/android/mms/pdu/
DPduParser.java847 int startPos = pduDataStream.available(); in parseParts() local
848 if (startPos <= 0) { in parseParts()
876 int partHeaderLen = headerLength - (startPos - endPos); in parseParts()
1363 int startPos = pduDataStream.available(); in parseContentTypeParams() local
1409 lastLen = length - (startPos - tempPos); in parseContentTypeParams()
1433 lastLen = length - (startPos - tempPos); in parseContentTypeParams()
1477 lastLen = length - (startPos - tempPos); in parseContentTypeParams()
1496 lastLen = length - (startPos - tempPos); in parseContentTypeParams()
1543 int startPos = pduDataStream.available(); in parseContentType() local
1567 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/v17/leanback/src/android/support/v17/leanback/widget/
DSingleRow.java134 public final CircularIntArray[] getItemPositionsInRows(int startPos, int endPos) { in getItemPositionsInRows() argument
137 mTmpItemPositionsInRows[0].addLast(startPos); in getItemPositionsInRows()
DStaggeredGrid.java410 public final CircularIntArray[] getItemPositionsInRows(int startPos, int endPos) { in getItemPositionsInRows() argument
414 if (startPos >= 0) { in getItemPositionsInRows()
415 for (int i = startPos; i <= endPos; i++) { in getItemPositionsInRows()
DGrid.java319 public abstract CircularIntArray[] getItemPositionsInRows(int startPos, int endPos); in getItemPositionsInRows() argument
/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/support/v17/tests/src/android/support/v17/leanback/widget/
DGridWidgetTest.java883 final int startPos = 45; in testNonFocusableHorizontal() local
886 final int endPos = startPos + numColumns * (skips + 1); in testNonFocusableHorizontal()
900 for (int i = startPos + mNumRows, j = 0; j < skips; i += mNumRows, j++) { in testNonFocusableHorizontal()
906 mGridView.setSelectedPositionSmooth(startPos); in testNonFocusableHorizontal()
923 assertEquals(startPos, mGridView.getSelectedPosition()); in testNonFocusableHorizontal()
1049 final int startPos = 44; in testNonFocusableVertical() local
1052 final int endPos = startPos + numColumns * (skips + 1); in testNonFocusableVertical()
1066 for (int i = startPos + mNumRows, j = 0; j < skips; i += mNumRows, j++) { in testNonFocusableVertical()
1072 mGridView.setSelectedPositionSmooth(startPos); in testNonFocusableVertical()
1081 assertEquals(startPos, mGridView.getSelectedPosition()); in testNonFocusableVertical()
[all …]
/frameworks/base/core/java/android/database/
DBulkCursorNative.java63 int startPos = data.readInt(); in onTransact() local
64 CursorWindow window = getWindow(startPos); in onTransact()
DDatabaseUtils.java482 int startPos = cursor.getPosition(); in dumpCursor() local
488 cursor.moveToPosition(startPos); in dumpCursor()
503 int startPos = cursor.getPosition(); in dumpCursor() local
509 cursor.moveToPosition(startPos); in dumpCursor()
/frameworks/base/core/java/android/widget/
DGridView.java323 private View makeRow(int startPos, int y, boolean flow) { in makeRow() argument
341 last = Math.min(startPos + mNumColumns, mItemCount); in makeRow()
343 last = startPos + 1; in makeRow()
344 startPos = Math.max(0, startPos - mNumColumns + 1); in makeRow()
346 if (last - startPos < mNumColumns) { in makeRow()
347 … final int deltaLeft = (mNumColumns - (last - startPos)) * (columnWidth + horizontalSpacing); in makeRow()
360 for (int pos = startPos; pos < last; pos++) { in makeRow()
365 final int where = flow ? -1 : pos - startPos; in makeRow()
DListView.java2865 int startPos = (mSelectedPosition != INVALID_POSITION) ? in lookForSelectablePositionOnScreen() local
2868 if (startPos >= mAdapter.getCount()) { in lookForSelectablePositionOnScreen()
2871 if (startPos < firstPosition) { in lookForSelectablePositionOnScreen()
2872 startPos = firstPosition; in lookForSelectablePositionOnScreen()
2877 for (int pos = startPos; pos <= lastVisiblePos; pos++) { in lookForSelectablePositionOnScreen()
2885 int startPos = (mSelectedPosition != INVALID_POSITION) ? in lookForSelectablePositionOnScreen() local
2888 if (startPos < 0 || startPos >= mAdapter.getCount()) { in lookForSelectablePositionOnScreen()
2891 if (startPos > last) { in lookForSelectablePositionOnScreen()
2892 startPos = last; in lookForSelectablePositionOnScreen()
2896 for (int pos = startPos; pos >= firstPosition; pos--) { in lookForSelectablePositionOnScreen()
/frameworks/base/core/java/android/util/
DTimeUtils.java280 final int startPos = pos; in printFieldLocked() local
302 if ((always && zeropad >= 2) || amt > 9 || startPos != pos) { in printFieldLocked()
/frameworks/base/core/java/android/os/
DParcel.java661 int startPos; in writeArrayMapInternal() local
663 if (DEBUG_ARRAY_MAP) startPos = dataPosition(); in writeArrayMapInternal()
667 + (dataPosition()-startPos) + " bytes: key=0x" in writeArrayMapInternal()
2588 int startPos; in readArrayMapInternal() local
2590 if (DEBUG_ARRAY_MAP) startPos = dataPosition(); in readArrayMapInternal()
2594 + (dataPosition()-startPos) + " bytes: key=0x" in readArrayMapInternal()
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
DGridLayoutManager.java746 int startPos = 0; in getSpanIndex() local
752 startPos = prevKey + 1; in getSpanIndex()
755 for (int i = startPos; i < position; i++) { in getSpanIndex()

12