/frameworks/base/core/jni/ |
D | android_database_SQLiteQuery.cpp | 39 jint statementPtr, jint windowPtr, jint startPos, jint offsetParam) { in nativeFillWindow() argument 48 int err = sqlite3_bind_int(statement, offsetParam, startPos); in nativeFillWindow() 54 LOG_WINDOW("Bound to startPos %d", startPos); in nativeFillWindow() 56 LOG_WINDOW("Not binding to startPos %d", startPos); in nativeFillWindow() 76 const bool countAllRows = (startPos == 0); // when startPos is 0, we count all rows in nativeFillWindow() 85 if (startPos >= totalRows || windowFull) { in nativeFillWindow() 95 startPos, addedRows, status); in nativeFillWindow() 114 sizeIncludingNull, startPos + addedRows, i, status); in nativeFillWindow() 119 startPos + addedRows, i, sizeIncludingNull); in nativeFillWindow() 130 LOG_WINDOW("%d,%d is INTEGER 0x%016llx", startPos + addedRows, i, value); in nativeFillWindow() [all …]
|
/frameworks/base/core/java/android/database/ |
D | CursorToBulkCursorAdaptor.java | 138 public CursorWindow getWindow(int startPos) { in getWindow() argument 151 mCursor.moveToPosition(startPos); in getWindow() 159 mCursor.moveToPosition(startPos); in getWindow() 162 || startPos < window.getStartPosition() in getWindow() 163 || startPos >= window.getStartPosition() + window.getNumRows()) { in getWindow() 164 mCursor.fillWindow(startPos, window); in getWindow()
|
D | BulkCursorNative.java | 63 int startPos = data.readInt(); in onTransact() local 64 CursorWindow window = getWindow(startPos); in onTransact() 183 public CursorWindow getWindow(int startPos) throws RemoteException in getWindow() argument 189 data.writeInt(startPos); in getWindow()
|
D | IBulkCursor.java | 36 public CursorWindow getWindow(int startPos) throws RemoteException; in getWindow() argument
|
D | DatabaseUtils.java | 388 int startPos = cursor.getPosition(); in dumpCursor() local 394 cursor.moveToPosition(startPos); in dumpCursor() 409 int startPos = cursor.getPosition(); in dumpCursor() local 415 cursor.moveToPosition(startPos); in dumpCursor()
|
/frameworks/base/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/base/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | SmsMessageBodyTest.java | 265 int startPos = 0; in testCalcLengthAscii() local 274 int endPos = (asciiCharsLen - startPos > addCount) ? in testCalcLengthAscii() 275 (startPos + addCount) : asciiCharsLen; in testCalcLengthAscii() 276 sb.append(sAsciiChars, startPos, endPos); in testCalcLengthAscii() 277 startPos = (endPos == asciiCharsLen) ? 0 : endPos; in testCalcLengthAscii() 298 int startPos = 0; in testCalcLengthUnicode() local 308 int endPos = (unicodeCharsLen - startPos > addCount) ? in testCalcLengthUnicode() 309 (startPos + addCount) : unicodeCharsLen; in testCalcLengthUnicode() 310 sb.append(sUnicodeChars, startPos, endPos); in testCalcLengthUnicode() 311 startPos = (endPos == unicodeCharsLen) ? 0 : endPos; in testCalcLengthUnicode()
|
/frameworks/base/core/java/com/google/android/mms/pdu/ |
D | PduParser.java | 748 int startPos = pduDataStream.available(); in parseParts() local 749 if (startPos <= 0) { in parseParts() 777 int partHeaderLen = headerLength - (startPos - endPos); in parseParts() 1261 int startPos = pduDataStream.available(); in parseContentTypeParams() local 1307 lastLen = length - (startPos - tempPos); in parseContentTypeParams() 1331 lastLen = length - (startPos - tempPos); in parseContentTypeParams() 1375 lastLen = length - (startPos - tempPos); in parseContentTypeParams() 1394 lastLen = length - (startPos - tempPos); in parseContentTypeParams() 1441 int startPos = pduDataStream.available(); in parseContentType() local 1465 int parameterLen = length - (startPos - endPos); in parseContentType() [all …]
|
/frameworks/base/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/base/media/libstagefright/codecs/amrnb/common/src/ |
D | c2_9pf_tab.cpp | 89 extern const Word16 startPos[2*4*2] = {0, 2, 0, 3,
|
/frameworks/base/core/java/android/database/sqlite/ |
D | SQLiteCursor.java | 157 private void fillWindow(int startPos) { in fillWindow() argument 159 mWindow.setStartPosition(startPos); in fillWindow() 161 if (startPos == 0) { // fillWindow returns count(*) only for startPos = 0 in fillWindow()
|
D | SQLiteQuery.java | 34 int startPos, int offsetParam); in nativeFillWindow() argument
|
/frameworks/support/v4/java/android/support/v4/util/ |
D | TimeUtils.java | 51 final int startPos = pos; in printField() local 58 if ((always && zeropad >= 2) || amt > 9 || startPos != pos) { in printField()
|
/frameworks/base/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/base/core/java/android/util/ |
D | TimeUtils.java | 162 final int startPos = pos; in printField() local 169 if ((always && zeropad >= 2) || amt > 9 || startPos != pos) { in printField()
|
/frameworks/base/core/java/android/widget/ |
D | GridView.java | 296 private View makeRow(int startPos, int y, boolean flow) { in makeRow() argument 305 last = Math.min(startPos + mNumColumns, mItemCount); in makeRow() 307 last = startPos + 1; in makeRow() 308 startPos = Math.max(0, startPos - mNumColumns + 1); in makeRow() 310 if (last - startPos < mNumColumns) { in makeRow() 311 nextLeft += (mNumColumns - (last - startPos)) * (columnWidth + horizontalSpacing); in makeRow() 322 for (int pos = startPos; pos < last; pos++) { in makeRow() 327 final int where = flow ? -1 : pos - startPos; in makeRow()
|
D | ListView.java | 2682 int startPos = (mSelectedPosition != INVALID_POSITION) ? in lookForSelectablePositionOnScreen() local 2685 if (startPos >= mAdapter.getCount()) { in lookForSelectablePositionOnScreen() 2688 if (startPos < firstPosition) { in lookForSelectablePositionOnScreen() 2689 startPos = firstPosition; in lookForSelectablePositionOnScreen() 2694 for (int pos = startPos; pos <= lastVisiblePos; pos++) { in lookForSelectablePositionOnScreen() 2702 int startPos = (mSelectedPosition != INVALID_POSITION) ? in lookForSelectablePositionOnScreen() local 2705 if (startPos < 0 || startPos >= mAdapter.getCount()) { in lookForSelectablePositionOnScreen() 2708 if (startPos > last) { in lookForSelectablePositionOnScreen() 2709 startPos = last; in lookForSelectablePositionOnScreen() 2713 for (int pos = startPos; pos >= firstPosition; pos--) { in lookForSelectablePositionOnScreen()
|
/frameworks/support/v4/java/android/support/v4/view/ |
D | ViewPager.java | 631 final int startPos = Math.max(0, mCurItem - pageLimit); 635 if (DEBUG) Log.v(TAG, "populating: startPos=" + startPos + " endPos=" + endPos); 641 if ((ii.position < startPos || ii.position > endPos) && !ii.scrolling) { 646 } else if (lastPos < endPos && ii.position > startPos) { 651 if (lastPos < startPos) { 652 lastPos = startPos; 668 lastPos = lastPos > startPos ? lastPos : startPos;
|
/frameworks/base/libs/binder/ |
D | Parcel.cpp | 368 int startPos = mDataPos; in appendFrom() local 425 size_t off = objects[i] - offset + startPos; in appendFrom()
|