Searched refs:pos (Results 76 - 100 of 323) sorted by relevance

1234567891011>>

/frameworks/av/media/libstagefright/
H A DMP3Extractor.cpp93 off64_t pos = *inout_pos; local
106 if (pos >= (off64_t)(*inout_pos + kMaxBytesChecked)) {
108 ALOGV("giving up at offset %lld", (long long)pos);
124 totalBytesRead = source->readAt(pos + remainingBytes,
141 ++pos;
152 ++pos;
158 ALOGV("found possible 1st frame at %lld (header = 0x%08x)", (long long)pos, header);
163 off64_t test_pos = pos + frame_size;
195 *inout_pos = pos;
204 ++pos;
256 off64_t pos = 0; local
563 off64_t pos = mCurrentPos; local
672 off64_t pos = 0; local
[all...]
/frameworks/av/services/audiopolicy/service/
H A DAudioPolicyEffects.cpp382 size_t pos = ((*curSize - 1 ) / size + 1) * size; local
384 if (pos + size > *totSize) {
385 while (pos + size > *totSize) {
394 *curSize = pos + size;
395 return pos;
405 size_t pos; local
408 pos = growParamSize(param, sizeof(short), curSize, totSize);
409 if (pos == 0) {
412 *(short *)(*param + pos) = (short)atoi(node->value);
413 ALOGV("readParamValue() reading short %d", *(short *)(*param + pos));
[all...]
/frameworks/base/core/java/android/view/
H A DMotionEvent.java1408 // Private value for history pos that obtains the current sample.
2431 * @param pos Which historical value to return; must be less than
2440 public final long getHistoricalEventTime(int pos) { argument
2441 return nativeGetEventTimeNanos(mNativePtr, pos) / NS_PER_MS;
2454 * @param pos Which historical value to return; must be less than
2466 public final long getHistoricalEventTimeNano(int pos) { argument
2467 return nativeGetEventTimeNanos(mNativePtr, pos);
2474 * @param pos Which historical value to return; must be less than
2481 public final float getHistoricalX(int pos) { argument
2482 return nativeGetAxisValue(mNativePtr, AXIS_X, 0, pos);
2496 getHistoricalY(int pos) argument
2511 getHistoricalPressure(int pos) argument
2526 getHistoricalSize(int pos) argument
2541 getHistoricalTouchMajor(int pos) argument
2556 getHistoricalTouchMinor(int pos) argument
2571 getHistoricalToolMajor(int pos) argument
2586 getHistoricalToolMinor(int pos) argument
2601 getHistoricalOrientation(int pos) argument
2618 getHistoricalAxisValue(int axis, int pos) argument
2636 getHistoricalX(int pointerIndex, int pos) argument
2654 getHistoricalY(int pointerIndex, int pos) argument
2672 getHistoricalPressure(int pointerIndex, int pos) argument
2690 getHistoricalSize(int pointerIndex, int pos) argument
2708 getHistoricalTouchMajor(int pointerIndex, int pos) argument
2726 getHistoricalTouchMinor(int pointerIndex, int pos) argument
2744 getHistoricalToolMajor(int pointerIndex, int pos) argument
2762 getHistoricalToolMinor(int pointerIndex, int pos) argument
2780 getHistoricalOrientation(int pointerIndex, int pos) argument
2799 getHistoricalAxisValue(int axis, int pointerIndex, int pos) argument
2819 getHistoricalPointerCoords(int pointerIndex, int pos, PointerCoords outPointerCoords) argument
[all...]
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
H A Dq_pulse.c29 #define NB_POS 16 /* pos in track, mask for sign bit */
32 Word16 pos, /* (i) position of the pulse */
42 index = L_deposit_l((Word16) (pos & mask));
43 if ((pos & NB_POS) != 0)
188 Word16 pos[], /* (i) position of the pulse 1..4 */
203 if ((pos[k] & nb_pos) == 0)
205 posA[i++] = pos[k];
208 posB[j++] = pos[k];
254 Word16 pos[], /* (i) position of the pulse 1..5 */
268 if ((pos[
31 quant_1p_N1( Word16 pos, Word16 N) argument
187 quant_4p_4N( Word16 pos[], Word16 N) argument
253 quant_5p_5N( Word16 pos[], Word16 N) argument
327 quant_6p_6N_2( Word16 pos[], Word16 N) argument
[all...]
H A Dc2t64fx.c56 Word32 i, j, k, i0, i1, ix, iy, pos, pos2; local
168 pos = MSIZE - 1;
174 p1 = &rrixiy[pos];
199 pos -= NB_POS;
224 * 32 pos x 32 pos = 1024 tests (all combinaisons is tested) *
239 pos = -1;
250 pos = i1;
254 if (pos >= 0)
257 iy = pos;
[all...]
/frameworks/base/tools/aapt/
H A DAaptAssets.h370 status_t addSymbol(const String8& name, int32_t value, const SourcePos& pos) { argument
371 if (!check_valid_symbol_name(name, pos, "symbol")) {
374 AaptSymbolEntry& sym = edit_symbol(name, &pos);
381 const SourcePos& pos) {
382 if (!check_valid_symbol_name(name, pos, "symbol")) {
385 AaptSymbolEntry& sym = edit_symbol(name, &pos);
391 status_t makeSymbolPublic(const String8& name, const SourcePos& pos) { argument
392 if (!check_valid_symbol_name(name, pos, "symbol")) {
395 AaptSymbolEntry& sym = edit_symbol(name, &pos);
400 status_t makeSymbolJavaSymbol(const String8& name, const SourcePos& pos) { argument
380 addStringSymbol(const String8& name, const String8& value, const SourcePos& pos) argument
409 appendComment(const String8& name, const String16& comment, const SourcePos& pos) argument
435 addNestedSymbol(const String8& name, const SourcePos& pos) argument
462 check_valid_symbol_name(const String8& symbol, const SourcePos& pos, const char* label) argument
469 edit_symbol(const String8& symbol, const SourcePos* pos) argument
[all...]
H A DResourceTable.h135 status_t addPublic(const SourcePos& pos,
141 status_t addEntry(const SourcePos& pos,
152 status_t startBag(const SourcePos& pos,
162 status_t addBag(const SourcePos& pos,
199 void canAddEntry(const SourcePos& pos,
291 void setCurrentXmlPos(const SourcePos& pos) { mCurrentXmlPos = pos; } argument
297 Item(const SourcePos& pos,
332 Entry(const String16& name, const SourcePos& pos) argument
334 mItemFormat(ResTable_map::TYPE_ANY), mNameIndex(-1), mPos(pos)
408 ConfigList(const String16& name, const SourcePos& pos) argument
427 setPublicSourcePos(const SourcePos& pos) argument
449 Public(const SourcePos& pos, const String16& _comment, uint32_t _ident) argument
472 Type(const String16& name, const SourcePos& pos) argument
[all...]
/frameworks/base/core/java/android/security/keymaster/
H A DKeymasterArgument.java37 final int pos = in.dataPosition();
56 throw new ParcelFormatException("Bad tag: " + tag + " at " + pos);
/frameworks/base/core/tests/coretests/src/android/util/
H A DListUtil.java44 * @param pos The desired position.
46 public final void setSelectedPosition(final int pos) { argument
49 mListView.setSelection(pos);
/frameworks/base/tools/layoutlib/bridge/src/android/text/
H A DOptimizingLineBreaker.java71 int pos = it.next();
72 int lines = opt[pos].mPrevCount;
79 LineMetrics lineMetrics = computeMetrics(pos, i);
82 finalBreak, p.penalty) + opt[pos].mDemerits;
85 bestBreak = new Node(pos, opt[pos].mPrevCount + 1, demerits,
88 bestBreak.mPrev = pos;
89 bestBreak.mPrevCount = opt[pos].mPrevCount + 1;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DSmsMessageBase.java413 int pos = 0; // Index in code units.
415 while (pos < msgBody.length()) {
416 int nextPos = findNextUnicodePosition(pos, maxUserDataBytesWithHeader,
419 ted.codeUnitsRemaining = pos + maxUserDataBytesWithHeader / 2 -
422 pos = nextPos;
/frameworks/av/include/media/
H A DRingBuffer.h49 iterator(T* ptr, size_t size, size_t pos, size_t ctr);
75 const_iterator(const T* ptr, size_t size, size_t pos, size_t ctr);
177 RingBuffer<T>::iterator::iterator(T* ptr, size_t size, size_t pos, size_t ctr) : argument
178 mPtr{ptr}, mSize{size}, mPos{pos}, mCtr{ctr} {}
221 RingBuffer<T>::const_iterator::const_iterator(const T* ptr, size_t size, size_t pos, size_t ctr) : argument
222 mPtr{ptr}, mSize{size}, mPos{pos}, mCtr{ctr} {}
332 size_t pos = (index >= mFrontIdx) ? local
334 return mBuffer[pos];
341 size_t pos = (index >= mFrontIdx) ? local
343 return mBuffer[pos];
[all...]
/frameworks/native/services/sensorservice/
H A DRingBuffer.h49 iterator(T* ptr, size_t size, size_t pos, size_t ctr);
75 const_iterator(const T* ptr, size_t size, size_t pos, size_t ctr);
177 RingBuffer<T>::iterator::iterator(T* ptr, size_t size, size_t pos, size_t ctr) : argument
178 mPtr{ptr}, mSize{size}, mPos{pos}, mCtr{ctr} {}
221 RingBuffer<T>::const_iterator::const_iterator(const T* ptr, size_t size, size_t pos, size_t ctr) : argument
222 mPtr{ptr}, mSize{size}, mPos{pos}, mCtr{ctr} {}
332 size_t pos = (index >= mFrontIdx) ? local
334 return mBuffer[pos];
341 size_t pos = (index >= mFrontIdx) ? local
343 return mBuffer[pos];
[all...]
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/engine/
H A DMaterial.java101 int[] pos = new int[means.length - 1];
106 for (int i = 0; i < pos.length; i++) {
107 pos[i] = (means[i] + means[i + 1]) / 2;
108 float f = i / (float) (pos.length - 1);
116 mMaterialProp = new MaterialProp[pos.length];
121 for (int i = 0; i < pos.length; i++) {
126 mMaterialProp[i].mPos = pos[i];
127 float t = i / (float) (pos.length - 1);
179 int[] pos = {1050, 1140, 1200, 1210, 1231};
181 mMaterialProp = new MaterialProp[pos
[all...]
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DAdapterHelper.java244 // handle each pos 1 by 1 to ensure continuity. If it breaks, dispatch partial
248 Log.d(TAG, "pos:" + op.positionStart + ",updatedPos:" + tmpStart);
264 final int pos = op.positionStart + (positionMultiplier * p);
265 int updatedPos = updatePositionWithPostponed(pos, op.cmd);
267 Log.d(TAG, "pos:" + pos + ",updatedPos:" + updatedPos);
330 private int updatePositionWithPostponed(int pos, int cmd) { argument
343 if (pos >= start && pos <= end) {
352 pos
[all...]
/frameworks/wilhelm/src/desktop/
H A DSndFile.c197 SLmillisecond pos = audioPlayer->mSeek.mPos; local
198 if (SL_TIME_UNKNOWN != pos) {
201 if (pos > audioPlayer->mPlay.mDuration) {
202 pos = audioPlayer->mPlay.mDuration;
204 audioPlayer->mPlay.mLastSeekPosition = pos;
211 if (SL_TIME_UNKNOWN != pos) {
219 (void) sf_seek(audioPlayer->mSndFile.mSNDFILE, (sf_count_t) (((long long) pos *
/frameworks/compile/mclinker/lib/Core/
H A DGeneralOptions.cpp72 size_t pos = pName.find_last_of(sys::fs::separator); local
73 if (std::string::npos == pos)
76 m_SOName = pName.substr(pos + 1);
/frameworks/base/core/jni/android/graphics/
H A DPathMeasure.cpp93 static jboolean getPosTan(JNIEnv* env, jobject clazz, jlong pairHandle, jfloat dist, jfloatArray pos, jfloatArray tan) { argument
96 SkScalar* posPtr = pos ? tmpPos : NULL;
103 if (pos) {
104 convertTwoElemFloatArray(env, pos, tmpPos);
/frameworks/base/libs/hwui/font/
H A DFont.h130 Rect* bounds, const float* pos);
133 Rect* bounds, const float* pos);
136 Rect* bounds, const float* pos);
139 Rect* bounds, const float* pos);
/frameworks/compile/mclinker/lib/Target/AArch64/
H A DAArch64InsnHelpers.h25 static unsigned getBits(InsnType insn, int pos, int l) { argument
26 return (insn >> pos) & ((1 << l) - 1);
53 static unsigned getBit(InsnType insn, int pos) { argument
54 return getBits(insn, pos, 1);
/frameworks/rs/
H A DrsStream.h66 void reset(uint64_t pos) { argument
67 mPos = pos;
140 void reset(uint64_t pos) { argument
141 mPos = pos;
/frameworks/av/media/libmedia/
H A DMidiIoWrapper.cpp27 static int readAt(void *handle, void *buffer, int pos, int size) { argument
28 return ((android::MidiIoWrapper*)handle)->readAt(buffer, pos, size);
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p10/src/
H A DarmVCM4P10_DeblockingLuma_unsafe_s.s79 pos RN 7 label
171 SEL pos, t1, m00
172 USUB8 neg, pos, t1
173 USUB8 t3, pos, tC
174 SEL pos, tC, pos
181 UQADD8 P0a, p_0, pos
182 UQSUB8 Q0a, q_0, pos
H A DomxVCM4P10_FilterDeblockingChroma_HorEdge_I_s.s93 pos RN 5 label
292 SEL pos, t1, m00
293 USUB8 neg, pos, t1
294 USUB8 t3, pos, tC
295 SEL pos, tC, pos
298 UQADD8 P_0, p_0, pos
299 UQSUB8 Q_0, q_0, pos
/frameworks/base/core/java/android/util/
H A DJsonReader.java196 private int pos = 0; field in class:JsonReader
614 pos--;
618 pos--;
636 pos--;
661 pos--;
682 if ((pos < limit || fillBuffer(1)) && buffer[pos] == '>') {
683 pos++;
712 pos--;
718 * Returns true once {@code limit - pos >
[all...]

Completed in 1159 milliseconds

1234567891011>>