Searched refs:mConsumed (Results 1 – 9 of 9) sorted by relevance
/frameworks/av/media/libnbaio/ |
D | AudioBufferProviderSource.cpp | 28 NBAIO_Source(format), mProvider(provider), mConsumed(0) in AudioBufferProviderSource() 46 return mBuffer.raw != NULL ? mBuffer.frameCount - mConsumed : 0; in availableToRead() 63 size_t available = mBuffer.frameCount - mConsumed; in read() 69 memcpy(buffer, (char *) mBuffer.raw + (mConsumed * mFrameSize), count * mFrameSize); in read() 70 if (CC_UNLIKELY((mConsumed += count) >= mBuffer.frameCount)) { in read() 73 mConsumed = 0; in read() 115 size_t available = mBuffer.frameCount - mConsumed; in readVia() 120 ssize_t ret = via(user, (char *) mBuffer.raw + (mConsumed * mFrameSize), count); in readVia() 131 if (CC_LIKELY((mConsumed += ret) < mBuffer.frameCount)) { in readVia() 137 mConsumed = 0; in readVia()
|
/frameworks/native/libs/gui/ |
D | SensorEventQueue.cpp | 43 : mSensorEventConnection(connection), mRecBuffer(NULL), mAvailable(0), mConsumed(0), in SensorEventQueue() 76 mConsumed = 0; in read() 79 memcpy(events, mRecBuffer + mConsumed, count * sizeof(ASensorEvent)); in read() 81 mConsumed += count; in read()
|
/frameworks/av/services/audioflinger/ |
D | BufferProviders.cpp | 51 mConsumed(0) in CopyBufferProvider() 98 mConsumed = 0; in getNextBuffer() 100 ALOG_ASSERT(mConsumed < mBuffer.frameCount); in getNextBuffer() 101 size_t count = min(mLocalBufferFrameCount, mBuffer.frameCount - mConsumed); in getNextBuffer() 105 copyFrames(pBuffer->raw, (uint8_t*)mBuffer.raw + mConsumed * mInputFrameSize, in getNextBuffer() 119 mConsumed += pBuffer->frameCount; // TODO: update for efficiency to reuse existing content in releaseBuffer() 120 if (mConsumed != 0 && mConsumed >= mBuffer.frameCount) { in releaseBuffer() 133 mConsumed = 0; in reset()
|
D | BufferProviders.h | 86 size_t mConsumed; variable
|
/frameworks/av/include/media/nbaio/ |
D | AudioBufferProviderSource.h | 51 size_t mConsumed; // number of frames consumed so far from current buffer variable
|
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
D | LinearLayoutManager.java | 1381 layoutState.mOffset += layoutChunkResult.mConsumed * layoutState.mLayoutDirection; in fill() 1390 layoutState.mAvailable -= layoutChunkResult.mConsumed; in fill() 1392 remainingSpace -= layoutChunkResult.mConsumed; in fill() 1396 layoutState.mScrollingOffset += layoutChunkResult.mConsumed; in fill() 1441 result.mConsumed = mOrientationHelper.getDecoratedMeasurement(view); in layoutChunk() 1453 top = layoutState.mOffset - result.mConsumed; in layoutChunk() 1456 bottom = layoutState.mOffset + result.mConsumed; in layoutChunk() 1464 left = layoutState.mOffset - result.mConsumed; in layoutChunk() 1467 right = layoutState.mOffset + result.mConsumed; in layoutChunk() 2273 public int mConsumed; [all …]
|
D | GridLayoutManager.java | 633 result.mConsumed = maxSize; in layoutChunk()
|
/frameworks/native/include/gui/ |
D | SensorEventQueue.h | 104 size_t mConsumed; variable
|
/frameworks/support/api/ |
D | current.txt | 9329 field public int mConsumed;
|