/frameworks/base/core/java/android/util/ |
H A D | SparseLongArray.java | 205 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 D | options.cpp | 133 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 D | XINGSeeker.h | 32 virtual bool getOffsetForTime(int64_t *timeUs, off64_t *pos);
|
/frameworks/base/services/java/com/android/server/pm/ |
H A D | PackageSignatures.java | 89 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 D | ISeek.c | 22 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 D | MiniThumbFile.java | 155 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 D | MotionEvent.java | 1285 // 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 D | q_pulse.c | 29 #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 D | c2t64fx.c | 56 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 D | Headers.java | 161 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 D | SmsMessage.java | 322 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 D | AaptAssets.h | 383 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 D | ListUtil.java | 44 * @param pos The desired position. 46 public final void setSelectedPosition(final int pos) { argument 49 mListView.setSelection(pos);
|
/frameworks/av/media/libstagefright/ |
H A D | MP3Extractor.cpp | 93 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 D | SettingsBackupAgent.java | 638 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 D | SndFile.c | 197 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 D | AsmGenerator.java | 85 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 D | SymbolCategory.cpp | 130 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 D | slang_rs_reflection_base.cpp | 109 size_t pos = s.rfind(".rs"); local 110 if(pos != string::npos) { 112 tmp.erase(pos);
|
/frameworks/base/core/jni/android/graphics/ |
H A D | PathMeasure.cpp | 79 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 D | rsStream.h | 66 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 D | rsStream.h | 66 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 D | String16.cpp | 252 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 D | armVCM4P10_DeblockingLuma_unsafe_s.s | 65 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 D | omxVCM4P10_FilterDeblockingChroma_HorEdge_I_s.s | 79 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
|