Home
last modified time | relevance | path

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

/frameworks/support/v4/java/android/support/v4/util/
DCircularArray.java24 private int mTail; field in CircularArray
39 mTail = n; in doubleCapacity()
76 if (mHead == mTail) { in addFirst()
86 mElements[mTail] = e; in addLast()
87 mTail = (mTail + 1) & mCapacityBitmask; in addLast()
88 if (mTail == mHead) { in addLast()
99 if (mHead == mTail) { in popFirst()
114 if (mHead == mTail) { in popLast()
117 int t = (mTail - 1) & mCapacityBitmask; in popLast()
120 mTail = t; in popLast()
[all …]
DCircularIntArray.java25 private int mTail; field in CircularIntArray
40 mTail = n; in doubleCapacity()
77 if (mHead == mTail) { in addFirst()
87 mElements[mTail] = e; in addLast()
88 mTail = (mTail + 1) & mCapacityBitmask; in addLast()
89 if (mTail == mHead) { in addLast()
100 if (mHead == mTail) throw new ArrayIndexOutOfBoundsException(); in popFirst()
112 if (mHead == mTail) throw new ArrayIndexOutOfBoundsException(); in popLast()
113 int t = (mTail - 1) & mCapacityBitmask; in popLast()
115 mTail = t; in popLast()
[all …]
/frameworks/base/core/java/com/android/internal/util/
DProcFileReader.java39 private int mTail; field in ProcFileReader
59 final int length = mBuffer.length - mTail; in fillBuf()
64 final int read = mStream.read(mBuffer, mTail, length); in fillBuf()
66 mTail += read; in fillBuf()
78 System.arraycopy(mBuffer, count, mBuffer, 0, mTail - count); in consumeBuf()
79 mTail -= count; in consumeBuf()
80 if (mTail == 0) { in consumeBuf()
100 for (; i < mTail; i++) { in nextTokenIndex()
119 return mTail > 0; in hasMoreData()
135 for (; i < mTail; i++) { in finishLine()
/frameworks/base/libs/hwui/renderthread/
DRenderThread.cpp45 TaskQueue::TaskQueue() : mHead(nullptr), mTail(nullptr) {} in TaskQueue()
52 mTail = nullptr; in next()
66 LOG_ALWAYS_FATAL_IF(task->mNext || mTail == task, "Task is already in the queue!"); in queue()
67 if (mTail) { in queue()
69 if (mTail->mRunAt <= task->mRunAt) { in queue()
70 mTail->mNext = task; in queue()
71 mTail = task; in queue()
88 mTail = task; in queue()
93 mTail = mHead = task; in queue()
98 if (mTail) { in queueAtFront()
[all …]
DRenderThread.h62 RenderTask* mTail; variable
/frameworks/av/media/libstagefright/
DClockEstimator.cpp131 mTail.add(mXHistory[mSampleIx], mYHistory[mSampleIx], 1.); in estimate()
132 mTail.scale(mTailFactor); // attenuate tail in estimate()
163 total.combine(mTail); in estimate()
170 mTail.reset(); in reset()
/frameworks/av/include/media/stagefright/
DClockEstimator.h96 LinearFit mTail; member
/frameworks/support/v4/java/android/support/v4/app/
DBackStackRecord.java217 Op mTail; field in BackStackRecord
385 mHead = mTail = op; in addOp()
387 op.prev = mTail; in addOp()
388 mTail.next = op; in addOp()
389 mTail = op; in addOp()
894 Op op = mTail; in popFromBackStack()
/frameworks/base/core/java/android/app/
DBackStackRecord.java228 Op mTail; field in BackStackRecord
432 mHead = mTail = op; in addOp()
434 op.prev = mTail; in addOp()
435 mTail.next = op; in addOp()
436 mTail = op; in addOp()
1599 Op op = mTail; in popFromBackStack()