Searched refs:startPos (Results 1 - 25 of 28) 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.java143 int startPos = DatabaseUtils.cursorPickFillWindowStartPosition(requiredPos, 0);
144 mCount = mQuery.fillWindow(mWindow, startPos, requiredPos, true);
150 int startPos = DatabaseUtils.cursorPickFillWindowStartPosition(requiredPos,
152 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.java262 int startPos = 0;
271 int endPos = (asciiCharsLen - startPos > addCount) ?
272 (startPos + addCount) : asciiCharsLen;
273 sb.append(sAsciiChars, startPos, endPos);
274 startPos = (endPos == asciiCharsLen) ? 0 : endPos;
295 int startPos = 0;
305 int endPos = (unicodeCharsLen - startPos > addCount) ?
306 (startPos + addCount) : unicodeCharsLen;
307 sb.append(sUnicodeChars, startPos, endPos);
308 startPos
[all...]
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DStaggeredGrid.java281 * on that row between startPos(included) and endPositions(included).
284 public final List<Integer>[] getItemPositionsInRows(int startPos, int endPos) { argument
288 if (startPos >= 0) {
289 for (int i = startPos; i <= endPos; i++) {
/frameworks/base/core/jni/
H A Dandroid_database_SQLiteConnection.cpp575 sqlite3_stmt* statement, int numColumns, int startPos, int addedRows) {
579 LOG_WINDOW("Failed allocating fieldDir at startPos %d row %d, error=%d",
580 startPos, addedRows, status);
599 sizeIncludingNull, startPos + addedRows, i, status);
604 startPos + addedRows, i, sizeIncludingNull);
615 LOG_WINDOW("%d,%d is INTEGER 0x%016llx", startPos + addedRows, i, value);
626 LOG_WINDOW("%d,%d is FLOAT %lf", startPos + addedRows, i, value);
634 size, startPos + addedRows, i, status);
639 startPos + addedRows, i, size);
650 LOG_WINDOW("%d,%d is NULL", startPos
574 copyRow(JNIEnv* env, CursorWindow* window, sqlite3_stmt* statement, int numColumns, int startPos, int addedRows) argument
667 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.cpp265 float startPos = positions[0]; local
266 float distance = positions[1] - startPos;
273 startPos = positions[currentPos];
278 distance = positions[currentPos] - startPos;
281 float amount = (pos - startPos) / distance;
/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.java843 int startPos = pduDataStream.available();
844 if (startPos <= 0) {
872 int partHeaderLen = headerLength - (startPos - endPos);
1359 int startPos = pduDataStream.available();
1405 lastLen = length - (startPos - tempPos);
1429 lastLen = length - (startPos - tempPos);
1473 lastLen = length - (startPos - tempPos);
1492 lastLen = length - (startPos - tempPos);
1539 int startPos = pduDataStream.available();
1563 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.java269 final int startPos = pos;
276 if ((always && zeropad >= 2) || amt > 9 || startPos != pos) {
/frameworks/base/core/java/android/widget/
H A DGridView.java318 private View makeRow(int startPos, int y, boolean flow) { argument
336 last = Math.min(startPos + mNumColumns, mItemCount);
338 last = startPos + 1;
339 startPos = Math.max(0, startPos - mNumColumns + 1);
341 if (last - startPos < mNumColumns) {
342 final int deltaLeft = (mNumColumns - (last - startPos)) * (columnWidth + horizontalSpacing);
355 for (int pos = startPos; pos < last; pos++) {
360 final int where = flow ? -1 : pos - startPos;
H A DListView.java2845 int startPos = (mSelectedPosition != INVALID_POSITION) ?
2848 if (startPos >= mAdapter.getCount()) {
2851 if (startPos < firstPosition) {
2852 startPos = firstPosition;
2857 for (int pos = startPos; pos <= lastVisiblePos; pos++) {
2865 int startPos = (mSelectedPosition != INVALID_POSITION) ?
2868 if (startPos < 0 || startPos >= mAdapter.getCount()) {
2871 if (startPos > last) {
2872 startPos
[all...]
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DGridLayoutManager.java655 int startPos = 0;
661 startPos = prevKey + 1;
664 for (int i = startPos; i < position; i++) {
H A DStaggeredGridLayoutManager.java1095 final int startPos = getPosition(start);
1097 if (startPos < endPos) {
1098 record.setFromIndex(startPos);
1102 record.setToIndex(startPos);
/frameworks/base/core/java/android/os/
H A DParcel.java634 int startPos;
636 if (DEBUG_ARRAY_MAP) startPos = dataPosition();
640 + (dataPosition()-startPos) + " bytes: key=0x"
2475 int startPos;
2477 if (DEBUG_ARRAY_MAP) startPos = dataPosition();
2481 + (dataPosition()-startPos) + " bytes: key=0x"
H A DBaseBundle.java1312 int startPos = parcel.dataPosition();
1318 int length = endPos - startPos;
/frameworks/base/services/core/java/com/android/server/wm/
H A DAppTransition.java380 * @param startPos Offset from left/top edge of outer rectangle to
385 private static float computePivot(int startPos, float finalScale) { argument
388 return startPos;
390 return -startPos / denom;
/frameworks/native/libs/binder/
H A DParcel.cpp376 int startPos = mDataPos; local
433 size_t off = objects[i] - offset + startPos;

Completed in 597 milliseconds

12