Home
last modified time | relevance | path

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

/frameworks/base/core/jni/
Dandroid_database_SQLiteQuery.cpp109 jint startPos, jint offsetParam, jint maxRead, jint lastPos) in native_fill_window() argument
131 err = sqlite3_bind_int(statement, offsetParam, startPos); in native_fill_window()
138 LOG_WINDOW("Bound to startPos %d", startPos); in native_fill_window()
140 LOG_WINDOW("Not binding to startPos %d", startPos); in native_fill_window()
161 if (startPos > 0) { in native_fill_window()
162 int num = skip_rows(statement, startPos); in native_fill_window()
166 } else if (num < startPos) { in native_fill_window()
167 LOGE("startPos %d > actual rows %d", startPos, num); in native_fill_window()
172 while(startPos != 0 || numRows < maxRead) { in native_fill_window()
175 LOG_WINDOW("\nStepped statement %p to row %d", statement, startPos + numRows); in native_fill_window()
[all …]
/frameworks/base/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/java/android/database/
DCursorToBulkCursorAdaptor.java113 public CursorWindow getWindow(int startPos) { in getWindow() argument
114 mCursor.moveToPosition(startPos); in getWindow()
117 if (startPos < mWindow.getStartPosition() || in getWindow()
118 startPos >= (mWindow.getStartPosition() + mWindow.getNumRows())) { in getWindow()
119 mCursor.fillWindow(startPos, mWindow); in getWindow()
DBulkCursorNative.java65 int startPos = data.readInt(); in onTransact() local
66 CursorWindow window = getWindow(startPos); in onTransact()
206 public CursorWindow getWindow(int startPos) throws RemoteException in getWindow() argument
213 data.writeInt(startPos); in getWindow()
DIBulkCursor.java38 public CursorWindow getWindow(int startPos) throws RemoteException; in getWindow() argument
DDatabaseUtils.java337 int startPos = cursor.getPosition(); in dumpCursor() local
343 cursor.moveToPosition(startPos); in dumpCursor()
358 int startPos = cursor.getPosition(); in dumpCursor() local
364 cursor.moveToPosition(startPos); in dumpCursor()
/frameworks/base/telephony/tests/telephonytests/src/com/android/internal/telephony/
DSmsMessageBodyTest.java265 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/
DPduParser.java742 int startPos = pduDataStream.available(); in parseParts() local
743 if (startPos <= 0) { in parseParts()
771 int partHeaderLen = headerLength - (startPos - endPos); in parseParts()
1255 int startPos = pduDataStream.available(); in parseContentTypeParams() local
1301 lastLen = length - (startPos - tempPos); in parseContentTypeParams()
1325 lastLen = length - (startPos - tempPos); in parseContentTypeParams()
1369 lastLen = length - (startPos - tempPos); in parseContentTypeParams()
1388 lastLen = length - (startPos - tempPos); in parseContentTypeParams()
1435 int startPos = pduDataStream.available(); in parseContentType() local
1459 int parameterLen = length - (startPos - endPos); in parseContentType()
[all …]
/frameworks/base/media/libstagefright/codecs/amrnb/common/src/
Dc2_9pf_tab.cpp89 extern const Word16 startPos[2*4*2] = {0, 2, 0, 3,
/frameworks/base/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/sqlite/
DSQLiteCursor.java273 private void fillWindow (int startPos) { in fillWindow() argument
286 mWindow.setStartPosition(startPos); in fillWindow()
290 mCount = startPos + mInitialRead; in fillWindow()
DSQLiteQuery.java189 int startPos, int offsetParam, int maxRead, int lastPos); in native_fill_window() argument
/frameworks/base/core/java/android/widget/
DGridView.java236 private View makeRow(int startPos, int y, boolean flow) { in makeRow() argument
245 last = Math.min(startPos + mNumColumns, mItemCount); in makeRow()
247 last = startPos + 1; in makeRow()
248 startPos = Math.max(0, startPos - mNumColumns + 1); in makeRow()
250 if (last - startPos < mNumColumns) { in makeRow()
251 nextLeft += (mNumColumns - (last - startPos)) * (columnWidth + horizontalSpacing); in makeRow()
262 for (int pos = startPos; pos < last; pos++) { in makeRow()
267 final int where = flow ? -1 : pos - startPos; in makeRow()
DListView.java2625 int startPos = (mSelectedPosition != INVALID_POSITION) ? in lookForSelectablePositionOnScreen() local
2628 if (startPos >= mAdapter.getCount()) { in lookForSelectablePositionOnScreen()
2631 if (startPos < firstPosition) { in lookForSelectablePositionOnScreen()
2632 startPos = firstPosition; in lookForSelectablePositionOnScreen()
2637 for (int pos = startPos; pos <= lastVisiblePos; pos++) { in lookForSelectablePositionOnScreen()
2645 int startPos = (mSelectedPosition != INVALID_POSITION) ? in lookForSelectablePositionOnScreen() local
2648 if (startPos < 0) { in lookForSelectablePositionOnScreen()
2651 if (startPos > last) { in lookForSelectablePositionOnScreen()
2652 startPos = last; in lookForSelectablePositionOnScreen()
2656 for (int pos = startPos; pos >= firstPosition; pos--) { in lookForSelectablePositionOnScreen()
/frameworks/base/core/java/android/util/
DTimeUtils.java161 final int startPos = pos; in printField() local
168 if ((always && zeropad >= 2) || amt > 9 || startPos != pos) { in printField()
/frameworks/base/services/java/com/android/server/
DWifiWatchdogService.java1323 private static void writeString(byte[] buf, int startPos, String string) { in writeString() argument
1324 int pos = startPos; in writeString()
/frameworks/base/libs/binder/
DParcel.cpp363 int startPos = mDataPos; in appendFrom() local
416 size_t off = objects[i] - offset + startPos; in appendFrom()