Lines Matching refs:position

5001     uint32_t consumedAlready = buf.position();
5127 ((head.position() / mCblk->frameSize) * mLocalTimeFreq / sampleRate());
5132 // that the sample's position in the output stream is so far out of
5150 head.pts(), head.position(), pts,
5156 // the current output position is within this threshold, then we will
5172 head.position(), buffer->frameCount);
5181 // the gap between the current output position and the proper start of
5192 head.position() + lateFrames * mCblk->frameSize;
5207 ALOGV("*** late: head.pos=%d frameCount=%u", head.position(), buffer->frameCount);
5224 head.position());
5226 uint32_t framesLeftInHead = ((head.buffer()->size() - head.position()) /
5291 head.setPosition(head.position() +
5302 if ((static_cast<size_t>(head.position()) >= head.buffer()->size())
8084 ALOGV("addHandle() %p added handle %p in position %d", this, handle.get(), i);
8100 ALOGV("removeHandle() %p removed handle %p in position %d", this, handle.unsafe_get(), i);
9164 // if EFFECT_FLAG_INSERT_EXCLUSIVE, insert in first position or reject if
9166 // else if EFFECT_FLAG_INSERT_FIRST, insert in first position or after the
9167 // last effect claiming first position
9168 // else if EFFECT_FLAG_INSERT_LAST, insert in last position or before the
9169 // first effect claiming last position
9190 // remember position of first insert effect and by default
9191 // select this as insert position for new effect
9195 // remember position of last insert effect claiming
9196 // first position
9200 // remember position of first insert effect claiming
9201 // last position
9209 // modify idx_insert from first position if needed