Searched refs:startPos (Results 1 - 16 of 16) sorted by relevance

/frameworks/base/media/libstagefright/codecs/amrnb/common/src/
H A Dc2_9pf_tab.cpp52 This file contains the declaration for startPos[] used by the functions
89 extern const Word16 startPos[2*4*2] = {0, 2, 0, 3, variable
/frameworks/base/media/libstagefright/codecs/amrnb/dec/src/
H A Dd2_9pf.cpp104 extern const Word16 startPos[];
206 /* pos0 =i*5+startPos[j*8+subNr*2] */
207 pos[0] = i * 5 + startPos[k++];
214 /* pos1 =i*5+startPos[j*8+subNr*2 + 1] */
215 pos[1] = i * 5 + startPos[k];
/frameworks/base/core/jni/
H A Dandroid_database_SQLiteQuery.cpp109 jint startPos, jint offsetParam, jint maxRead, jint lastPos)
131 err = sqlite3_bind_int(statement, offsetParam, startPos);
138 LOG_WINDOW("Bound to startPos %d", startPos);
140 LOG_WINDOW("Not binding to startPos %d", startPos);
161 if (startPos > 0) {
162 int num = skip_rows(statement, startPos);
166 } else if (num < startPos) {
167 LOGE("startPos
108 native_fill_window(JNIEnv* env, jobject object, jobject javaWindow, jint startPos, jint offsetParam, jint maxRead, jint lastPos) argument
[all...]
/frameworks/base/core/java/android/database/
H A DCursorToBulkCursorAdaptor.java113 public CursorWindow getWindow(int startPos) { argument
114 mCursor.moveToPosition(startPos);
117 if (startPos < mWindow.getStartPosition() ||
118 startPos >= (mWindow.getStartPosition() + mWindow.getNumRows())) {
119 mCursor.fillWindow(startPos, mWindow);
H A DIBulkCursor.java38 public CursorWindow getWindow(int startPos) throws RemoteException; argument
H A DBulkCursorNative.java65 int startPos = data.readInt();
66 CursorWindow window = getWindow(startPos);
206 public CursorWindow getWindow(int startPos) throws RemoteException argument
213 data.writeInt(startPos);
/frameworks/base/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DSmsMessageBodyTest.java265 int startPos = 0;
274 int endPos = (asciiCharsLen - startPos > addCount) ?
275 (startPos + addCount) : asciiCharsLen;
276 sb.append(sAsciiChars, startPos, endPos);
277 startPos = (endPos == asciiCharsLen) ? 0 : endPos;
298 int startPos = 0;
308 int endPos = (unicodeCharsLen - startPos > addCount) ?
309 (startPos + addCount) : unicodeCharsLen;
310 sb.append(sUnicodeChars, startPos, endPos);
311 startPos
[all...]
/frameworks/base/media/libstagefright/codecs/amrnb/enc/src/
H A Dc2_9pf.cpp159 extern const Word16 startPos[];
450 startPos = table containing the start positions used by fixed codebook
497 ipos[0] = startPos[subNr*2+8*track1];
498 ipos[1] = startPos[subNr*2+1+8*track1];
634 *ipos = *(startPos + i);
635 *(ipos + 1) = *(startPos + i + 1);
753 startPos = table containing the start positions used by fixed codebook
/frameworks/base/core/java/com/google/android/mms/pdu/
H A DPduParser.java742 int startPos = pduDataStream.available();
743 if (startPos <= 0) {
771 int partHeaderLen = headerLength - (startPos - endPos);
1255 int startPos = pduDataStream.available();
1301 lastLen = length - (startPos - tempPos);
1325 lastLen = length - (startPos - tempPos);
1369 lastLen = length - (startPos - tempPos);
1388 lastLen = length - (startPos - tempPos);
1435 int startPos = pduDataStream.available();
1459 int parameterLen = length - (startPos
[all...]
/frameworks/base/core/java/android/database/sqlite/
H A DSQLiteCursor.java273 private void fillWindow (int startPos) { argument
286 mWindow.setStartPosition(startPos);
290 mCount = startPos + mInitialRead;
H A DSQLiteQuery.java189 int startPos, int offsetParam, int maxRead, int lastPos);
188 native_fill_window(CursorWindow window, int startPos, int offsetParam, int maxRead, int lastPos) argument
/frameworks/base/core/java/android/util/
H A DTimeUtils.java161 final int startPos = pos;
168 if ((always && zeropad >= 2) || amt > 9 || startPos != pos) {
/frameworks/base/core/java/android/widget/
H A DGridView.java236 private View makeRow(int startPos, int y, boolean flow) { argument
245 last = Math.min(startPos + mNumColumns, mItemCount);
247 last = startPos + 1;
248 startPos = Math.max(0, startPos - mNumColumns + 1);
250 if (last - startPos < mNumColumns) {
251 nextLeft += (mNumColumns - (last - startPos)) * (columnWidth + horizontalSpacing);
262 for (int pos = startPos; pos < last; pos++) {
267 final int where = flow ? -1 : pos - startPos;
H A DListView.java2625 int startPos = (mSelectedPosition != INVALID_POSITION) ?
2628 if (startPos >= mAdapter.getCount()) {
2631 if (startPos < firstPosition) {
2632 startPos = firstPosition;
2637 for (int pos = startPos; pos <= lastVisiblePos; pos++) {
2645 int startPos = (mSelectedPosition != INVALID_POSITION) ?
2648 if (startPos < 0) {
2651 if (startPos > last) {
2652 startPos = last;
2656 for (int pos = startPos; po
[all...]
/frameworks/base/services/java/com/android/server/
H A DWifiWatchdogService.java1323 private static void writeString(byte[] buf, int startPos, String string) { argument
1324 int pos = startPos;
/frameworks/base/libs/binder/
H A DParcel.cpp363 int startPos = mDataPos; local
416 size_t off = objects[i] - offset + startPos;

Completed in 755 milliseconds