Home
last modified time | relevance | path

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

12

/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/native/libs/sensor/
DSensorEventQueue.cpp40 : mSensorEventConnection(connection), mRecBuffer(NULL), mAvailable(0), mConsumed(0), in SensorEventQueue()
73 mConsumed = 0; in read()
76 memcpy(events, mRecBuffer + mConsumed, count * sizeof(ASensorEvent)); in read()
78 mConsumed += count; in read()
/frameworks/av/media/libaudioprocessing/
DBufferProviders.cpp51 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()
/frameworks/av/media/libnbaio/include/media/nbaio/
DAudioBufferProviderSource.h51 size_t mConsumed; // number of frames consumed so far from current buffer variable
/frameworks/av/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 …]
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/
DLinearLayoutManager.java1524 layoutState.mOffset += layoutChunkResult.mConsumed * layoutState.mLayoutDirection; in fill()
1533 layoutState.mAvailable -= layoutChunkResult.mConsumed; in fill()
1535 remainingSpace -= layoutChunkResult.mConsumed; in fill()
1539 layoutState.mScrollingOffset += layoutChunkResult.mConsumed; in fill()
1584 result.mConsumed = mOrientationHelper.getDecoratedMeasurement(view); in layoutChunk()
1596 top = layoutState.mOffset - result.mConsumed; in layoutChunk()
1599 bottom = layoutState.mOffset + result.mConsumed; in layoutChunk()
1607 left = layoutState.mOffset - result.mConsumed; in layoutChunk()
1610 right = layoutState.mOffset + result.mConsumed; in layoutChunk()
2476 public int mConsumed;
[all …]
DGridLayoutManager.java649 result.mConsumed = maxSize; in layoutChunk()
/frameworks/native/libs/sensor/include/sensor/
DSensorEventQueue.h103 size_t mConsumed; variable
/frameworks/av/media/libmedia/include/media/
DBufferProviders.h95 size_t mConsumed; variable
/frameworks/av/include/media/
DBufferProviders.h95 size_t mConsumed; variable
/frameworks/support/v7/recyclerview/api_legacy/
D27.0.0.txt199 field public int mConsumed;
D26.1.0.txt199 field public int mConsumed;
D26.0.0.txt199 field public int mConsumed;
Dcurrent.txt249 field public int mConsumed;
D28.0.0-alpha1.txt249 field public int mConsumed;
D27.1.0.txt249 field public int mConsumed;
/frameworks/support/v7/recyclerview/api/
Dcurrent.txt252 field public int mConsumed;
/frameworks/support/api/
D22.0.0.txt5482 field public int mConsumed;
D22.1.0.txt6106 field public int mConsumed;
D22.2.0.txt7747 field public int mConsumed;
D22.2.1.txt7839 field public int mConsumed;
D25.2.0.txt9787 field public int mConsumed;
D25.0.0.txt9339 field public int mConsumed;
D24.2.0.txt9253 field public int mConsumed;

12