Searched defs:pos (Results 76 - 100 of 261) sorted by relevance

1234567891011

/frameworks/support/samples/SupportCarDemos/src/main/java/com/example/androidx/car/
H A DSupportCarDemoActivity.java47 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 DSndFile.cpp197 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 DIPlay.cpp225 SLmillisecond pos = audioPlayer->mSeek.mPos; local
226 if (SL_TIME_UNKNOWN != pos) {
227 position = pos;
/frameworks/av/cmds/screenrecord/
H A DProgram.cpp207 const float pos[] = { local
221 err = beforeDraw(texName, texMatrix, pos, uv, invert);
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
H A Dc3_14pf.cpp389 Word16 pos; local
586 pos = ipos[2];
589 ipos[0] = pos;
706 /* index = pos/5 */
710 /* track = pos%5 */
H A Dc4_17pf.cpp403 Word16 pos; local
653 pos = ipos[3];
657 ipos[0] = pos;
778 /* index = pos/5 */
782 /* track = pos%5 */
H A Ds10_8pf.cpp191 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 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/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dbitstream.cpp529 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 Dmp3reader.cpp241 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 DEventMetricProducer.cpp91 size_t pos = 0; local
95 std::memcpy(&((*buffer)[pos]), it.readBuffer(), toRead);
96 pos += toRead;
/frameworks/base/cmds/statsd/tests/
H A DFieldValue_test.cpp254 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 DAnomalyTracker_test.cpp38 int pos[] = {key, 0, 0}; local
40 dim.addValue(FieldValue(Field(1, pos, 0), Value(value)));
/frameworks/base/cmds/statsd/tests/condition/
H A DSimpleConditionTracker_test.cpp83 int pos[] = {1, 1, 1}; local
85 Field field(1, pos, depth);
/frameworks/base/core/java/android/util/proto/
H A DEncodedBuffer.java437 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 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/core/jni/
H A Dcom_android_internal_net_NetworkStatsFactory.cpp110 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 DBackupData.cpp321 int pos = lseek(m_fd, m_dataEndPos, SEEK_SET); local
322 if (pos == -1) {
325 m_pos = pos;
/frameworks/base/libs/hwui/
H A DGradientCache.cpp243 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 DVectorDrawableAtlas.cpp118 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 DGraphicsStatsService.cpp216 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 Dmain.cpp312 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 DEncodedBuffer.cpp41 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 DMediaPlayerBase.java129 * @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 DRgbPlayerActivity.java240 public void seekTo(int pos) { argument
241 mImageIndex = pos * mFrameRate / 1000;

Completed in 738 milliseconds

1234567891011