Searched refs:pos (Results 51 - 75 of 216) sorted by relevance

123456789

/frameworks/base/core/java/android/util/
H A DSparseLongArray.java205 int pos = mSize;
206 if (pos >= mKeys.length) {
207 growKeyAndValueArrays(pos + 1);
210 mKeys[pos] = key;
211 mValues[pos] = value;
212 mSize = pos + 1;
/frameworks/base/tools/aidl/
H A Doptions.cpp133 string::size_type pos = options->outputFileName.size()-5; local
134 if (options->outputFileName.compare(pos, 5, ".aidl") == 0) { // 5 = strlen(".aidl")
135 options->outputFileName.replace(pos, 5, ".java"); // 5 = strlen(".aidl")
/frameworks/av/media/libstagefright/include/
H A DXINGSeeker.h32 virtual bool getOffsetForTime(int64_t *timeUs, off64_t *pos);
/frameworks/base/services/java/com/android/server/pm/
H A DPackageSignatures.java89 int pos = 0;
103 if (pos < count) {
113 mSignatures[pos] = pastSignatures.get(idx);
114 pos++;
133 mSignatures[pos] = sig;
134 pos++;
167 if (pos < count) {
171 Signature[] newSigs = new Signature[pos];
172 System.arraycopy(mSignatures, 0, newSigs, 0, pos);
/frameworks/wilhelm/src/itf/
H A DISeek.c22 static SLresult ISeek_SetPosition(SLSeekItf self, SLmillisecond pos, SLuint32 seekMode) argument
31 if (SL_TIME_UNKNOWN == pos) {
32 pos = SL_TIME_UNKNOWN - 1;
36 thiz->mPos = pos;
/frameworks/base/media/java/android/media/
H A DMiniThumbFile.java155 long pos = id * BYTES_PER_MINTHUMB;
161 lock = mChannel.lock(pos, 1 + 8, true);
164 if (mChannel.read(mBuffer, pos) == 9) {
193 long pos = id * BYTES_PER_MINTHUMB;
208 lock = mChannel.lock(pos, BYTES_PER_MINTHUMB, false);
209 mChannel.write(mBuffer, pos);
240 long pos = id * BYTES_PER_MINTHUMB;
244 lock = mChannel.lock(pos, BYTES_PER_MINTHUMB, true);
245 int size = mChannel.read(mBuffer, pos);
/frameworks/base/core/java/android/view/
H A DMotionEvent.java1285 // Private value for history pos that obtains the current sample.
2256 * @param pos Which historical value to return; must be less than
2265 public final long getHistoricalEventTime(int pos) { argument
2266 return nativeGetEventTimeNanos(mNativePtr, pos) / NS_PER_MS;
2279 * @param pos Which historical value to return; must be less than
2291 public final long getHistoricalEventTimeNano(int pos) { argument
2292 return nativeGetEventTimeNanos(mNativePtr, pos);
2299 * @param pos Which historical value to return; must be less than
2306 public final float getHistoricalX(int pos) { argument
2307 return nativeGetAxisValue(mNativePtr, AXIS_X, 0, pos);
2321 getHistoricalY(int pos) argument
2336 getHistoricalPressure(int pos) argument
2351 getHistoricalSize(int pos) argument
2366 getHistoricalTouchMajor(int pos) argument
2381 getHistoricalTouchMinor(int pos) argument
2396 getHistoricalToolMajor(int pos) argument
2411 getHistoricalToolMinor(int pos) argument
2426 getHistoricalOrientation(int pos) argument
2443 getHistoricalAxisValue(int axis, int pos) argument
2461 getHistoricalX(int pointerIndex, int pos) argument
2479 getHistoricalY(int pointerIndex, int pos) argument
2497 getHistoricalPressure(int pointerIndex, int pos) argument
2515 getHistoricalSize(int pointerIndex, int pos) argument
2533 getHistoricalTouchMajor(int pointerIndex, int pos) argument
2551 getHistoricalTouchMinor(int pointerIndex, int pos) argument
2569 getHistoricalToolMajor(int pointerIndex, int pos) argument
2587 getHistoricalToolMinor(int pointerIndex, int pos) argument
2605 getHistoricalOrientation(int pointerIndex, int pos) argument
2624 getHistoricalAxisValue(int axis, int pointerIndex, int pos) argument
2644 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
165 pos = MSIZE - 1;
171 p1 = &rrixiy[pos];
196 pos -= NB_POS;
221 * 32 pos x 32 pos = 1024 tests (all combinaisons is tested) *
236 pos = -1;
247 pos = i1;
251 if (pos >= 0)
254 iy = pos;
[all...]
/frameworks/base/core/java/android/net/http/
H A DHeaders.java161 int pos = CharArrayBuffers.setLowercaseIndexOf(buffer, ':');
162 if (pos == -1) {
165 String name = buffer.substringTrimmed(0, pos);
169 pos++;
171 String val = buffer.substringTrimmed(pos, buffer.length());
181 .parseElements(buffer, new ParserCursor(pos,
223 setConnectionType(buffer, pos);
234 setConnectionType(buffer, pos);
461 private void setConnectionType(CharArrayBuffer buffer, int pos) { argument
463 buffer, pos, HTT
[all...]
/frameworks/opt/telephony/src/java/android/telephony/
H A DSmsMessage.java322 int pos = 0; // Index in code units.
325 while (pos < textLen) {
330 nextPos = pos + Math.min(limit, textLen - pos);
333 nextPos = GsmAlphabet.findGsmSeptetLimitIndex(text, pos, limit,
337 nextPos = pos + Math.min(limit / 2, textLen - pos);
339 if ((nextPos <= pos) || (nextPos > textLen)) {
340 Log.e(LOG_TAG, "fragmentText failed (" + pos + " >= " + nextPos + " or " +
344 result.add(text.substring(pos, nextPo
[all...]
/frameworks/base/tools/aapt/
H A DAaptAssets.h383 status_t addSymbol(const String8& name, int32_t value, const SourcePos& pos) { argument
384 if (!check_valid_symbol_name(name, pos, "symbol")) {
387 AaptSymbolEntry& sym = edit_symbol(name, &pos);
394 const SourcePos& pos) {
395 if (!check_valid_symbol_name(name, pos, "symbol")) {
398 AaptSymbolEntry& sym = edit_symbol(name, &pos);
404 status_t makeSymbolPublic(const String8& name, const SourcePos& pos) { argument
405 if (!check_valid_symbol_name(name, pos, "symbol")) {
408 AaptSymbolEntry& sym = edit_symbol(name, &pos);
413 status_t makeSymbolJavaSymbol(const String8& name, const SourcePos& pos) { argument
393 addStringSymbol(const String8& name, const String8& value, const SourcePos& pos) argument
422 appendComment(const String8& name, const String16& comment, const SourcePos& pos) argument
448 addNestedSymbol(const String8& name, const SourcePos& pos) argument
475 check_valid_symbol_name(const String8& symbol, const SourcePos& pos, const char* label) argument
482 edit_symbol(const String8& symbol, const SourcePos* pos) argument
[all...]
/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/av/media/libstagefright/
H A DMP3Extractor.cpp93 off64_t pos = *inout_pos; local
106 if (pos >= *inout_pos + kMaxBytesChecked) {
108 ALOGV("giving up at offset %lld", pos);
124 totalBytesRead = source->readAt(pos + remainingBytes,
141 ++pos;
152 ++pos;
158 ALOGV("found possible 1st frame at %lld (header = 0x%08x)", pos, header);
163 off64_t test_pos = pos + frame_size;
195 *inout_pos = pos;
204 ++pos;
255 off64_t pos = 0; local
541 off64_t pos = mCurrentPos; local
650 off64_t pos = 0; local
[all...]
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
H A DSettingsBackupAgent.java638 int pos = 0;
650 while (pos < bytes) {
651 int length = readInt(settings, pos);
652 pos += INTEGER_BYTE_COUNT;
653 String dataKey = length > 0 ? new String(settings, pos, length) : null;
654 pos += length;
655 length = readInt(settings, pos);
656 pos += INTEGER_BYTE_COUNT;
657 String dataValue = length > 0 ? new String(settings, pos, length) : null;
658 pos
907 writeInt(byte[] out, int pos, int value) argument
915 writeBytes(byte[] out, int pos, byte[] value) argument
920 readInt(byte[] in, int pos) argument
[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/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/
H A DAsmGenerator.java85 int pos = signature.indexOf('#');
86 if (pos <= 0 || pos >= signature.length() - 1) {
89 String className = binaryToInternalClassName(signature.substring(0, pos));
90 String methodName = signature.substring(pos + 1);
348 int pos = className.indexOf('$');
349 if (pos > 0) {
351 String base = className.substring(0, pos);
354 return newName + className.substring(pos);
/frameworks/compile/mclinker/lib/MC/
H A DSymbolCategory.cpp130 size_t pos = current->begin; local
131 while (pos != current->end) {
132 if (m_OutputSymbols[pos] == &pSymbol)
134 ++pos;
137 assert(current->end != pos);
150 std::swap(m_OutputSymbols[pos], m_OutputSymbols[rear]);
151 pos = rear;
171 std::swap(m_OutputSymbols[current->begin], m_OutputSymbols[pos]);
172 pos = current->begin;
/frameworks/compile/slang/
H A Dslang_rs_reflection_base.cpp109 size_t pos = s.rfind(".rs"); local
110 if(pos != string::npos) {
112 tmp.erase(pos);
/frameworks/base/core/jni/android/graphics/
H A DPathMeasure.cpp79 static jboolean getPosTan(JNIEnv* env, jobject clazz, PathMeasurePair* pair, jfloat dist, jfloatArray pos, jfloatArray tan) { argument
81 SkScalar* posPtr = pos ? tmpPos : NULL;
88 if (pos) {
89 convertTwoElemFloatArray(env, pos, tmpPos);
/frameworks/rs/
H A DrsStream.h66 void reset(uint64_t pos) { argument
67 mPos = pos;
139 void reset(uint64_t pos) { argument
140 mPos = pos;
/frameworks/support/renderscript/v8/rs_support/
H A DrsStream.h66 void reset(uint64_t pos) { argument
67 mPos = pos;
139 void reset(uint64_t pos) { argument
140 mPos = pos;
/frameworks/native/libs/utils/
H A DString16.cpp252 status_t String16::insert(size_t pos, const char16_t* chrs) argument
254 return insert(pos, chrs, strlen16(chrs));
257 status_t String16::insert(size_t pos, const char16_t* chrs, size_t len) argument
267 if (pos > myLen) pos = myLen;
270 printf("Insert in to %s: pos=%d, len=%d, myLen=%d, chrs=%s\n",
271 String8(*this).string(), pos,
279 if (pos < myLen) {
280 memmove(str+pos+len, str+pos, (myLe
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p10/src/
H A DarmVCM4P10_DeblockingLuma_unsafe_s.s65 pos RN 7 label
157 SEL pos, t1, m00
158 USUB8 neg, pos, t1
159 USUB8 t3, pos, tC
160 SEL pos, tC, pos
167 UQADD8 P0a, p_0, pos
168 UQSUB8 Q0a, q_0, pos
H A DomxVCM4P10_FilterDeblockingChroma_HorEdge_I_s.s79 pos RN 5 label
278 SEL pos, t1, m00
279 USUB8 neg, pos, t1
280 USUB8 t3, pos, tC
281 SEL pos, tC, pos
284 UQADD8 P_0, p_0, pos
285 UQSUB8 Q_0, q_0, pos

Completed in 597 milliseconds

123456789