Home
last modified time | relevance | path

Searched refs:mConsumed (Results 1 – 9 of 9) sorted by relevance

/frameworks/av/media/libnbaio/
DAudioBufferProviderSource.cpp28 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/base/media/java/android/media/session/
DParcelableListBinder.java59 private boolean mConsumed; field in ParcelableListBinder
78 if (mConsumed) { in onTransact()
91 mConsumed = true; in onTransact()
/frameworks/native/libs/sensor/
DSensorEventQueue.cpp41 : mSensorEventConnection(connection), mRecBuffer(nullptr), mAvailable(0), mConsumed(0), in SensorEventQueue()
74 mConsumed = 0; in read()
77 memcpy(events, mRecBuffer + mConsumed, count * sizeof(ASensorEvent)); in read()
79 mConsumed += count; in read()
/frameworks/av/media/libaudioprocessing/
DBufferProviders.cpp47 mConsumed(0) in CopyBufferProvider()
95 mConsumed = 0; in getNextBuffer()
97 ALOG_ASSERT(mConsumed < mBuffer.frameCount); in getNextBuffer()
98 size_t count = std::min(mLocalBufferFrameCount, mBuffer.frameCount - mConsumed); in getNextBuffer()
102 copyFrames(pBuffer->raw, (uint8_t*)mBuffer.raw + mConsumed * mInputFrameSize, in getNextBuffer()
116 mConsumed += pBuffer->frameCount; // TODO: update for efficiency to reuse existing content in releaseBuffer()
117 if (mConsumed != 0 && mConsumed >= mBuffer.frameCount) { in releaseBuffer()
130 mConsumed = 0; in reset()
/frameworks/av/media/libnbaio/include/media/nbaio/
DAudioBufferProviderSource.h51 size_t mConsumed; // number of frames consumed so far from current buffer variable
/frameworks/base/core/java/com/android/internal/widget/
DLinearLayoutManager.java1490 layoutState.mOffset += layoutChunkResult.mConsumed * layoutState.mLayoutDirection; in fill()
1499 layoutState.mAvailable -= layoutChunkResult.mConsumed; in fill()
1501 remainingSpace -= layoutChunkResult.mConsumed; in fill()
1505 layoutState.mScrollingOffset += layoutChunkResult.mConsumed; in fill()
1550 result.mConsumed = mOrientationHelper.getDecoratedMeasurement(view); in layoutChunk()
1562 top = layoutState.mOffset - result.mConsumed; in layoutChunk()
1565 bottom = layoutState.mOffset + result.mConsumed; in layoutChunk()
1573 left = layoutState.mOffset - result.mConsumed; in layoutChunk()
1576 right = layoutState.mOffset + result.mConsumed; in layoutChunk()
2382 public int mConsumed;
[all …]
DGridLayoutManager.java640 result.mConsumed = maxSize; in layoutChunk()
/frameworks/native/libs/sensor/include/sensor/
DSensorEventQueue.h111 size_t mConsumed; variable
/frameworks/av/media/libaudioprocessing/include/media/
DBufferProviders.h96 size_t mConsumed; variable