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

12

/frameworks/av/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[];
90 const Word16 startPos[2*4*2] = {0, 2, 0, 3, variable
/frameworks/av/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/wilhelm/src/itf/
H A DISeek.c52 SLmillisecond startPos, SLmillisecond endPos)
56 if (!(startPos < endPos)) {
62 if ((startPos != 0) && (endPos != SL_TIME_UNKNOWN)) {
97 thiz->mStartPos = startPos;
119 SLmillisecond startPos = thiz->mStartPos; local
123 *pStartPos = startPos;
51 ISeek_SetLoop(SLSeekItf self, SLboolean loopEnable, SLmillisecond startPos, SLmillisecond endPos) argument
/frameworks/base/core/java/android/database/sqlite/
H A DSQLiteQuery.java46 * @param startPos The start position for filling the window.
57 int fillWindow(CursorWindow window, int startPos, int requiredPos, boolean countAllRows) { argument
63 window, startPos, requiredPos, countAllRows, getConnectionFlags(),
H A DSQLiteCursor.java142 int startPos = DatabaseUtils.cursorPickFillWindowStartPosition(requiredPos, 0);
143 mCount = mQuery.fillWindow(mWindow, startPos, requiredPos, true);
149 int startPos = DatabaseUtils.cursorPickFillWindowStartPosition(requiredPos,
151 mQuery.fillWindow(mWindow, startPos, requiredPos, false);
H A DSQLiteSession.java803 * @param startPos The start position for filling the window.
806 * so that it does. Must be greater than or equal to <code>startPos</code>.
820 CursorWindow window, int startPos, int requiredPos, boolean countAllRows,
837 window, startPos, requiredPos, countAllRows,
819 executeForCursorWindow(String sql, Object[] bindArgs, CursorWindow window, int startPos, int requiredPos, boolean countAllRows, int connectionFlags, CancellationSignal cancellationSignal) argument
H A DSQLiteConnection.java155 int startPos, int requiredPos, boolean countAllRows);
806 * @param startPos The start position for filling the window.
809 * so that it does. Must be greater than or equal to <code>startPos</code>.
821 CursorWindow window, int startPos, int requiredPos, boolean countAllRows,
847 startPos, requiredPos, countAllRows);
865 + "', startPos=" + startPos
153 nativeExecuteForCursorWindow( long connectionPtr, long statementPtr, long windowPtr, int startPos, int requiredPos, boolean countAllRows) argument
820 executeForCursorWindow(String sql, Object[] bindArgs, CursorWindow window, int startPos, int requiredPos, boolean countAllRows, CancellationSignal cancellationSignal) argument
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DSmsMessageBodyTest.java263 int startPos = 0;
272 int endPos = (asciiCharsLen - startPos > addCount) ?
273 (startPos + addCount) : asciiCharsLen;
274 sb.append(sAsciiChars, startPos, endPos);
275 startPos = (endPos == asciiCharsLen) ? 0 : endPos;
296 int startPos = 0;
306 int endPos = (unicodeCharsLen - startPos > addCount) ?
307 (startPos + addCount) : unicodeCharsLen;
308 sb.append(sUnicodeChars, startPos, endPos);
309 startPos
[all...]
/frameworks/base/core/jni/
H A Dandroid_database_SQLiteConnection.cpp573 sqlite3_stmt* statement, int numColumns, int startPos, int addedRows) {
577 LOG_WINDOW("Failed allocating fieldDir at startPos %d row %d, error=%d",
578 startPos, addedRows, status);
597 sizeIncludingNull, startPos + addedRows, i, status);
602 startPos + addedRows, i, sizeIncludingNull);
613 LOG_WINDOW("%d,%d is INTEGER 0x%016llx", startPos + addedRows, i, value);
624 LOG_WINDOW("%d,%d is FLOAT %lf", startPos + addedRows, i, value);
632 size, startPos + addedRows, i, status);
637 startPos + addedRows, i, size);
648 LOG_WINDOW("%d,%d is NULL", startPos
572 copyRow(JNIEnv* env, CursorWindow* window, sqlite3_stmt* statement, int numColumns, int startPos, int addedRows) argument
665 nativeExecuteForCursorWindow(JNIEnv* env, jclass clazz, jlong connectionPtr, jlong statementPtr, jlong windowPtr, jint startPos, jint requiredPos, jboolean countAllRows) argument
[all...]
/frameworks/base/libs/hwui/
H A DGradientCache.cpp246 float startPos = positions[0]; local
247 float distance = positions[1] - startPos;
254 startPos = positions[currentPos];
259 distance = positions[currentPos] - startPos;
262 float amount = (pos - startPos) / distance;
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DSingleRow.java134 public final CircularIntArray[] getItemPositionsInRows(int startPos, int endPos) { argument
137 mTmpItemPositionsInRows[0].addLast(startPos);
H A DStaggeredGrid.java410 public final CircularIntArray[] getItemPositionsInRows(int startPos, int endPos) { argument
414 if (startPos >= 0) {
415 for (int i = startPos; i <= endPos; i++) {
H A DGrid.java313 * in pair on that row between startPos(included) and endPositions(included).
319 public abstract CircularIntArray[] getItemPositionsInRows(int startPos, int endPos); argument
/frameworks/support/v4/java/android/support/v4/util/
H A DTimeUtils.java54 final int startPos = pos;
61 if ((always && zeropad >= 2) || amt > 9 || startPos != pos) {
/frameworks/av/media/libmedia/
H A DMediaScanner.cpp115 int startPos = 0; local
121 && (strncmp(path, &mSkipList[startPos], len) == 0)) {
124 startPos += mSkipIndex[idx] + 1; // extra char for the delimiter
/frameworks/av/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/opt/telephony/src/java/com/google/android/mms/pdu/
H A DPduParser.java847 int startPos = pduDataStream.available();
848 if (startPos <= 0) {
876 int partHeaderLen = headerLength - (startPos - endPos);
1363 int startPos = pduDataStream.available();
1409 lastLen = length - (startPos - tempPos);
1433 lastLen = length - (startPos - tempPos);
1477 lastLen = length - (startPos - tempPos);
1496 lastLen = length - (startPos - tempPos);
1543 int startPos = pduDataStream.available();
1567 int parameterLen = length - (startPos
[all...]
/frameworks/base/core/java/android/database/
H A DBulkCursorNative.java63 int startPos = data.readInt();
64 CursorWindow window = getWindow(startPos);
/frameworks/base/core/java/android/util/
H A DTimeUtils.java280 final int startPos = pos;
302 if ((always && zeropad >= 2) || amt > 9 || startPos != pos) {
/frameworks/base/core/java/android/widget/
H A DGridView.java323 private View makeRow(int startPos, int y, boolean flow) { argument
341 last = Math.min(startPos + mNumColumns, mItemCount);
343 last = startPos + 1;
344 startPos = Math.max(0, startPos - mNumColumns + 1);
346 if (last - startPos < mNumColumns) {
347 final int deltaLeft = (mNumColumns - (last - startPos)) * (columnWidth + horizontalSpacing);
360 for (int pos = startPos; pos < last; pos++) {
365 final int where = flow ? -1 : pos - startPos;
H A DListView.java2945 int startPos = (mSelectedPosition != INVALID_POSITION) ?
2948 if (startPos >= mAdapter.getCount()) {
2951 if (startPos < firstPosition) {
2952 startPos = firstPosition;
2957 for (int pos = startPos; pos <= lastVisiblePos; pos++) {
2965 int startPos = (mSelectedPosition != INVALID_POSITION) ?
2968 if (startPos < 0 || startPos >= mAdapter.getCount()) {
2971 if (startPos > last) {
2972 startPos
[all...]
/frameworks/support/v17/tests/src/android/support/v17/leanback/widget/
H A DGridWidgetTest.java1128 final int startPos = 45;
1131 final int endPos = startPos + numColumns * (skips + 1);
1145 for (int i = startPos + mNumRows, j = 0; j < skips; i += mNumRows, j++) {
1151 mGridView.setSelectedPositionSmooth(startPos);
1168 assertEquals(startPos, mGridView.getSelectedPosition());
1294 final int startPos = 44;
1297 final int endPos = startPos + numColumns * (skips + 1);
1311 for (int i = startPos + mNumRows, j = 0; j < skips; i += mNumRows, j++) {
1317 mGridView.setSelectedPositionSmooth(startPos);
1326 assertEquals(startPos, mGridVie
[all...]
/frameworks/base/core/java/android/os/
H A DParcel.java719 int startPos;
721 if (DEBUG_ARRAY_MAP) startPos = dataPosition();
725 + (dataPosition()-startPos) + " bytes: key=0x"
2713 int startPos;
2715 if (DEBUG_ARRAY_MAP) startPos = dataPosition();
2719 + (dataPosition()-startPos) + " bytes: key=0x"
H A DBaseBundle.java1407 int startPos = parcel.dataPosition();
1413 int length = endPos - startPos;
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DGridLayoutManager.java900 int startPos = 0;
906 startPos = prevKey + 1;
909 for (int i = startPos; i < position; i++) {

Completed in 592 milliseconds

12