/frameworks/native/cmds/lshal/ |
D | utils.cpp | 30 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/ |
D | ISeek.cpp | 52 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/ |
D | d2_9pf.cpp | 104 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/ |
D | SmsMessageBodyTest.java | 263 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/base/core/jni/ |
D | android_database_SQLiteConnection.cpp | 584 sqlite3_stmt* statement, int numColumns, int startPos, int addedRows) { in copyRow() argument 589 startPos, addedRows, status); in copyRow() 608 sizeIncludingNull, startPos + addedRows, i, status); in copyRow() 613 startPos + addedRows, i, sizeIncludingNull); in copyRow() 624 LOG_WINDOW("%d,%d is INTEGER 0x%016llx", startPos + addedRows, i, value); in copyRow() 635 LOG_WINDOW("%d,%d is FLOAT %lf", startPos + addedRows, i, value); in copyRow() 643 size, startPos + addedRows, i, status); in copyRow() 648 startPos + addedRows, i, size); in copyRow() 659 LOG_WINDOW("%d,%d is NULL", startPos + addedRows, i); in copyRow() 678 jint startPos, jint requiredPos, jboolean countAllRows) { in nativeExecuteForCursorWindow() argument [all …]
|
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/ |
D | c2_9pf_tab.cpp | 89 extern const Word16 startPos[]; 90 const Word16 startPos[2*4*2] = {0, 2, 0, 3, variable
|
/frameworks/base/core/java/android/database/sqlite/ |
D | SQLiteCursor.java | 142 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()
|
D | SQLiteQuery.java | 57 int fillWindow(CursorWindow window, int startPos, int requiredPos, boolean countAllRows) { in fillWindow() argument 63 window, startPos, requiredPos, countAllRows, getConnectionFlags(), in fillWindow()
|
D | SQLiteSession.java | 820 CursorWindow window, int startPos, int requiredPos, boolean countAllRows, in executeForCursorWindow() argument 837 window, startPos, requiredPos, countAllRows, in executeForCursorWindow()
|
D | SQLiteConnection.java | 156 int startPos, int requiredPos, boolean countAllRows); in nativeExecuteForCursorWindow() argument 822 CursorWindow window, int startPos, int requiredPos, boolean countAllRows, in executeForCursorWindow() argument 848 startPos, requiredPos, countAllRows); in executeForCursorWindow() 866 + "', startPos=" + startPos in executeForCursorWindow()
|
/frameworks/base/libs/hwui/ |
D | GradientCache.cpp | 239 float startPos = positions[0]; in generateTexture() local 240 float distance = positions[1] - startPos; in generateTexture() 247 startPos = positions[currentPos]; in generateTexture() 252 distance = positions[currentPos] - startPos; in generateTexture() 255 float amount = (pos - startPos) / distance; in generateTexture()
|
/frameworks/opt/telephony/src/java/com/google/android/mms/pdu/ |
D | PduParser.java | 847 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/ |
D | MediaScanner.cpp | 115 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/av/media/libstagefright/codecs/amrnb/enc/src/ |
D | c2_9pf.cpp | 159 extern const Word16 startPos[]; 634 *ipos = *(startPos + i); in search_2i40() 635 *(ipos + 1) = *(startPos + i + 1); in search_2i40()
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
D | SingleRow.java | 166 public final CircularIntArray[] getItemPositionsInRows(int startPos, int endPos) { in getItemPositionsInRows() argument 169 mTmpItemPositionsInRows[0].addLast(startPos); in getItemPositionsInRows()
|
D | StaggeredGrid.java | 406 public final CircularIntArray[] getItemPositionsInRows(int startPos, int endPos) { in getItemPositionsInRows() argument 410 if (startPos >= 0) { in getItemPositionsInRows() 411 for (int i = startPos; i <= endPos; i++) { in getItemPositionsInRows()
|
D | Grid.java | 343 public abstract CircularIntArray[] getItemPositionsInRows(int startPos, int endPos); in getItemPositionsInRows() argument
|
/frameworks/support/compat/java/android/support/v4/util/ |
D | TimeUtils.java | 59 final int startPos = pos; in printField() local 66 if ((always && zeropad >= 2) || amt > 9 || startPos != pos) { in printField()
|
/frameworks/base/core/java/android/database/ |
D | BulkCursorNative.java | 63 int startPos = data.readInt(); in onTransact() local 64 CursorWindow window = getWindow(startPos); in onTransact()
|
D | DatabaseUtils.java | 482 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/util/ |
D | TimeUtils.java | 218 final int startPos = pos; in printFieldLocked() local 240 if ((always && zeropad >= 2) || amt > 9 || startPos != pos) { in printFieldLocked()
|
/frameworks/base/core/java/android/widget/ |
D | GridView.java | 323 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()
|
D | ListView.java | 3036 int startPos = (mSelectedPosition != INVALID_POSITION) ? in lookForSelectablePositionOnScreen() local 3039 if (startPos >= mAdapter.getCount()) { in lookForSelectablePositionOnScreen() 3042 if (startPos < firstPosition) { in lookForSelectablePositionOnScreen() 3043 startPos = firstPosition; in lookForSelectablePositionOnScreen() 3048 for (int pos = startPos; pos <= lastVisiblePos; pos++) { in lookForSelectablePositionOnScreen() 3056 int startPos = (mSelectedPosition != INVALID_POSITION) ? in lookForSelectablePositionOnScreen() local 3059 if (startPos < 0 || startPos >= mAdapter.getCount()) { in lookForSelectablePositionOnScreen() 3062 if (startPos > last) { in lookForSelectablePositionOnScreen() 3063 startPos = last; in lookForSelectablePositionOnScreen() 3067 for (int pos = startPos; pos >= firstPosition; pos--) { in lookForSelectablePositionOnScreen()
|
/frameworks/base/core/java/android/os/ |
D | Parcel.java | 842 int startPos; in writeArrayMapInternal() local 844 if (DEBUG_ARRAY_MAP) startPos = dataPosition(); in writeArrayMapInternal() 848 + (dataPosition()-startPos) + " bytes: key=0x" in writeArrayMapInternal() 3119 int startPos; in readArrayMapInternal() local 3121 if (DEBUG_ARRAY_MAP) startPos = dataPosition(); in readArrayMapInternal() 3125 + (dataPosition()-startPos) + " bytes: key=0x" in readArrayMapInternal()
|
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/widget/ |
D | GridWidgetTest.java | 2188 final int startPos = 45; in testNonFocusableHorizontal() local 2191 final int endPos = startPos + numColumns * (skips + 1); in testNonFocusableHorizontal() 2204 for (int i = startPos + mNumRows, j = 0; j < skips; i += mNumRows, j++) { in testNonFocusableHorizontal() 2210 mGridView.setSelectedPositionSmooth(startPos); in testNonFocusableHorizontal() 2227 assertEquals(startPos, mGridView.getSelectedPosition()); in testNonFocusableHorizontal() 2435 final int startPos = 44; in testNonFocusableVertical() local 2438 final int endPos = startPos + numColumns * (skips + 1); in testNonFocusableVertical() 2451 for (int i = startPos + mNumRows, j = 0; j < skips; i += mNumRows, j++) { in testNonFocusableVertical() 2457 mGridView.setSelectedPositionSmooth(startPos); in testNonFocusableVertical() 2466 assertEquals(startPos, mGridView.getSelectedPosition()); in testNonFocusableVertical() [all …]
|