Home
last modified time | relevance | path

Searched refs:startPos (Results 1 – 25 of 34) 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/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DSmsMessageBodyTest.java263 int startPos = 0; in testCalcLengthAscii() local
272 int endPos = (asciiCharsLen - startPos > addCount) ? in testCalcLengthAscii()
273 (startPos + addCount) : asciiCharsLen; in testCalcLengthAscii()
274 sb.append(sAsciiChars, startPos, endPos); in testCalcLengthAscii()
275 startPos = (endPos == asciiCharsLen) ? 0 : endPos; in testCalcLengthAscii()
296 int startPos = 0; in testCalcLengthUnicode() local
306 int endPos = (unicodeCharsLen - startPos > addCount) ? in testCalcLengthUnicode()
307 (startPos + addCount) : unicodeCharsLen; in testCalcLengthUnicode()
308 sb.append(sUnicodeChars, startPos, endPos); in testCalcLengthUnicode()
309 startPos = (endPos == unicodeCharsLen) ? 0 : endPos; in testCalcLengthUnicode()
/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/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.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.cpp246 float startPos = positions[0]; in generateTexture() local
247 float distance = positions[1] - startPos; in generateTexture()
254 startPos = positions[currentPos]; in generateTexture()
259 distance = positions[currentPos] - startPos; in generateTexture()
262 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.java318 public abstract CircularIntArray[] getItemPositionsInRows(int startPos, int endPos); in getItemPositionsInRows() argument
/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/compat/java/android/support/v4/util/
DTimeUtils.java59 final int startPos = pos; in printField() local
66 if ((always && zeropad >= 2) || amt > 9 || startPos != pos) { in printField()
/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/support/v17/leanback/tests/java/android/support/v17/leanback/widget/
DGridWidgetTest.java1127 final int startPos = 45; in testNonFocusableHorizontal() local
1130 final int endPos = startPos + numColumns * (skips + 1); in testNonFocusableHorizontal()
1144 for (int i = startPos + mNumRows, j = 0; j < skips; i += mNumRows, j++) { in testNonFocusableHorizontal()
1150 mGridView.setSelectedPositionSmooth(startPos); in testNonFocusableHorizontal()
1167 assertEquals(startPos, mGridView.getSelectedPosition()); in testNonFocusableHorizontal()
1293 final int startPos = 44; in testNonFocusableVertical() local
1296 final int endPos = startPos + numColumns * (skips + 1); in testNonFocusableVertical()
1310 for (int i = startPos + mNumRows, j = 0; j < skips; i += mNumRows, j++) { in testNonFocusableVertical()
1316 mGridView.setSelectedPositionSmooth(startPos); in testNonFocusableVertical()
1325 assertEquals(startPos, mGridView.getSelectedPosition()); in testNonFocusableVertical()
[all …]
/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.java2954 int startPos = (mSelectedPosition != INVALID_POSITION) ? in lookForSelectablePositionOnScreen() local
2957 if (startPos >= mAdapter.getCount()) { in lookForSelectablePositionOnScreen()
2960 if (startPos < firstPosition) { in lookForSelectablePositionOnScreen()
2961 startPos = firstPosition; in lookForSelectablePositionOnScreen()
2966 for (int pos = startPos; pos <= lastVisiblePos; pos++) { in lookForSelectablePositionOnScreen()
2974 int startPos = (mSelectedPosition != INVALID_POSITION) ? in lookForSelectablePositionOnScreen() local
2977 if (startPos < 0 || startPos >= mAdapter.getCount()) { in lookForSelectablePositionOnScreen()
2980 if (startPos > last) { in lookForSelectablePositionOnScreen()
2981 startPos = last; in lookForSelectablePositionOnScreen()
2985 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.java720 int startPos; in writeArrayMapInternal() local
722 if (DEBUG_ARRAY_MAP) startPos = dataPosition(); in writeArrayMapInternal()
726 + (dataPosition()-startPos) + " bytes: key=0x" in writeArrayMapInternal()
2728 int startPos; in readArrayMapInternal() local
2730 if (DEBUG_ARRAY_MAP) startPos = dataPosition(); in readArrayMapInternal()
2734 + (dataPosition()-startPos) + " bytes: key=0x" in readArrayMapInternal()
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
DGridLayoutManager.java919 int startPos = 0; in getSpanIndex() local
925 startPos = prevKey + 1; in getSpanIndex()
928 for (int i = startPos; i < position; i++) { in getSpanIndex()

12