/frameworks/support/samples/SupportCarDemos/src/main/java/com/example/androidx/car/ |
H A D | SupportCarDemoActivity.java | 47 protected void onListItemClick(ListView lv, View v, int pos, long id) { argument 48 SampleInfo info = (SampleInfo) getListAdapter().getItem(pos);
|
/frameworks/wilhelm/src/desktop/ |
H A D | SndFile.cpp | 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/wilhelm/src/itf/ |
H A D | IPlay.cpp | 225 SLmillisecond pos = audioPlayer->mSeek.mPos; local 226 if (SL_TIME_UNKNOWN != pos) { 227 position = pos;
|
/frameworks/av/cmds/screenrecord/ |
H A D | Program.cpp | 207 const float pos[] = { local 221 err = beforeDraw(texName, texMatrix, pos, uv, invert);
|
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
H A D | c3_14pf.cpp | 389 Word16 pos; local 586 pos = ipos[2]; 589 ipos[0] = pos; 706 /* index = pos/5 */ 710 /* track = pos%5 */
|
H A D | c4_17pf.cpp | 403 Word16 pos; local 653 pos = ipos[3]; 657 ipos[0] = pos; 778 /* index = pos/5 */ 782 /* track = pos%5 */
|
H A D | s10_8pf.cpp | 191 Word16 i, j, k, pos, ia, ib; 520 pos = ipos[1]; 525 ipos[sub(nbPulse,1)] = pos; 570 Word16 pos, ia, ib; local 982 pos = ipos[1]; 987 ipos[nbPulse-1] = pos;
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
H A D | c2t64fx.c | 56 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/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
H A D | bitstream.cpp | 529 PV_STATUS movePointerTo(BitstreamDecVideo *stream, int32 pos) argument 532 if (pos < 0) 534 pos = 0; 537 byte_pos = pos >> 3; 551 PV_BitstreamFlushBits(stream, ((pos & 0x7) + ((byte_pos & 0x3) << 3))); 803 if (tmpvar & 1) // Check if the 17th bit from the curr bit pos is a '1' 892 if (tmpvar & 1) // Check if the 17th bit from the curr bit pos is a '1'
|
/frameworks/av/media/libstagefright/codecs/mp3dec/test/ |
H A D | mp3reader.cpp | 241 off64_t pos = *inout_pos; local 254 if (pos >= *inout_pos + kMaxBytesChecked) { 271 totalBytesRead = sourceReadAt(fp, pos + remainingBytes, 287 ++pos; 298 ++pos; 307 off64_t test_pos = pos + frame_size; 336 *inout_pos = pos; 343 ++pos; 362 off64_t pos = 0; 364 bool success = resync(mFp, 0 /*match_header*/, &pos, 398 off64_t pos = mCurrentPos; local [all...] |
/frameworks/base/cmds/statsd/src/metrics/ |
H A D | EventMetricProducer.cpp | 91 size_t pos = 0; local 95 std::memcpy(&((*buffer)[pos]), it.readBuffer(), toRead); 96 pos += toRead;
|
/frameworks/base/cmds/statsd/tests/ |
H A D | FieldValue_test.cpp | 254 size_t pos = 0; local 258 std::memcpy(&(outData[pos]), iter.readBuffer(), toRead); 259 pos += toRead; 344 size_t pos = 0; local 348 std::memcpy(&(outData[pos]), iter.readBuffer(), toRead); 349 pos += toRead; 406 size_t pos = 0; local 410 std::memcpy(&(outData[pos]), iter.readBuffer(), toRead); 411 pos += toRead; 459 size_t pos local [all...] |
/frameworks/base/cmds/statsd/tests/anomaly/ |
H A D | AnomalyTracker_test.cpp | 38 int pos[] = {key, 0, 0}; local 40 dim.addValue(FieldValue(Field(1, pos, 0), Value(value)));
|
/frameworks/base/cmds/statsd/tests/condition/ |
H A D | SimpleConditionTracker_test.cpp | 83 int pos[] = {1, 1, 1}; local 85 Field field(1, pos, depth);
|
/frameworks/base/core/java/android/util/proto/ |
H A D | EncodedBuffer.java | 437 if (srcOffset == ((mWriteBufIndex) * mChunkSize) + mWriteIndex /* write pos */) { 518 public int getRawFixed32At(int pos) { argument 519 return (0x00ff & (int)mBuffers.get(pos / mChunkSize)[pos % mChunkSize]) 520 | ((0x0ff & (int)mBuffers.get((pos+1) / mChunkSize)[(pos+1) % mChunkSize]) << 8) 521 | ((0x0ff & (int)mBuffers.get((pos+2) / mChunkSize)[(pos+2) % mChunkSize]) << 16) 522 | ((0x0ff & (int)mBuffers.get((pos+3) / mChunkSize)[(pos 530 editRawFixed32(int pos, int val) argument [all...] |
/frameworks/base/core/jni/android/graphics/ |
H A D | PathMeasure.cpp | 93 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/core/jni/ |
H A D | com_android_internal_net_NetworkStatsFactory.cpp | 110 char* pos = buffer; local 113 idx = (int)strtol(pos, &endPos, 10); 115 if (pos == endPos) { 126 pos = endPos; 128 while (*pos == ' ') { 129 pos++; 133 while (*pos != ' ' && *pos != 0 && ifaceIdx < (int)(sizeof(s.iface)-1)) { 134 s.iface[ifaceIdx] = *pos; 136 pos [all...] |
/frameworks/base/libs/androidfw/ |
H A D | BackupData.cpp | 321 int pos = lseek(m_fd, m_dataEndPos, SEEK_SET); local 322 if (pos == -1) { 325 m_pos = pos;
|
/frameworks/base/libs/hwui/ |
H A D | GradientCache.cpp | 243 float pos = x / float(width - 1); local 244 if (pos > positions[currentPos]) { 254 float amount = (pos - startPos) / distance;
|
/frameworks/base/libs/hwui/pipeline/skia/ |
H A D | VectorDrawableAtlas.cpp | 118 SkIPoint16 pos; local 119 if (canvas && mRectanizer->addRect(currentVDRect.width(), currentVDRect.height(), &pos)) { 121 SkRect::MakeXYWH(pos.fX, pos.fY, currentVDRect.width(), currentVDRect.height()); 163 SkIPoint16 pos; local 164 if (notTooBig && mRectanizer->addRect(width, height, &pos)) { 167 result.rect = SkRect::MakeXYWH(pos.fX, pos.fY, width, height);
|
/frameworks/base/libs/hwui/service/ |
H A D | GraphicsStatsService.cpp | 216 int32_t pos = percentile * proto->summary().total_frames() / 100; local 217 int32_t remaining = proto->summary().total_frames() - pos;
|
/frameworks/base/libs/hwui/tests/macrobench/ |
H A D | main.cpp | 312 auto pos = TestScene::testMap().find(test); local 313 if (pos == TestScene::testMap().end()) { 317 gRunTests.push_back(pos->second);
|
/frameworks/base/libs/protoutil/src/ |
H A D | EncodedBuffer.cpp | 41 EncodedBuffer::Pointer::pos() const function in class:android::util::EncodedBuffer::Pointer 122 return mWp.pos(); 230 size_t start = mEp.pos(); 261 EncodedBuffer::editRawFixed32(size_t pos, uint32_t val) argument 263 size_t oldPos = mEp.pos(); 264 mEp.rewind()->move(pos); 279 while (cp.pos() < srcPos + size) { 307 return mRp.pos(); 333 return mRp.pos() < mData.mWp.pos(); [all...] |
/frameworks/base/media/java/android/media/ |
H A D | MediaPlayerBase.java | 129 * @param pos the new playback position expressed in ms. 131 public abstract void seekTo(long pos); argument
|
/frameworks/base/media/tests/MediaDump/src/com/android/mediadump/ |
H A D | RgbPlayerActivity.java | 240 public void seekTo(int pos) { argument 241 mImageIndex = pos * mFrameRate / 1000;
|