Home
last modified time | relevance | path

Searched refs:mHead (Results 1 – 11 of 11) sorted by relevance

/frameworks/support/compat/java/android/support/v4/util/
DCircularIntArray.java24 private int mHead; field in CircularIntArray
30 int r = n - mHead; in doubleCapacity()
36 System.arraycopy(mElements, mHead, a, 0, r); in doubleCapacity()
37 System.arraycopy(mElements, 0, a, r, mHead); in doubleCapacity()
39 mHead = 0; in doubleCapacity()
83 mHead = (mHead - 1) & mCapacityBitmask; in addFirst()
84 mElements[mHead] = e; in addFirst()
85 if (mHead == mTail) { in addFirst()
97 if (mTail == mHead) { in addLast()
108 if (mHead == mTail) throw new ArrayIndexOutOfBoundsException(); in popFirst()
[all …]
DCircularArray.java23 private int mHead; field in CircularArray
29 int r = n - mHead; in doubleCapacity()
35 System.arraycopy(mElements, mHead, a, 0, r); in doubleCapacity()
36 System.arraycopy(mElements, 0, a, r, mHead); in doubleCapacity()
38 mHead = 0; in doubleCapacity()
82 mHead = (mHead - 1) & mCapacityBitmask; in addFirst()
83 mElements[mHead] = e; in addFirst()
84 if (mHead == mTail) { in addFirst()
96 if (mTail == mHead) { in addLast()
107 if (mHead == mTail) { in popFirst()
[all …]
/frameworks/base/libs/hwui/
DDamageAccumulator.cpp48 mHead = mAllocator.create_trivial<DirtyStack>(); in DamageAccumulator()
49 memset(mHead, 0, sizeof(DirtyStack)); in DamageAccumulator()
51 mHead->prev = mHead; in DamageAccumulator()
52 mHead->type = TransformNone; in DamageAccumulator()
76 computeTransformImpl(mHead, outMatrix); in computeCurrentTransform()
80 if (!mHead->next) { in pushCommon()
83 nextFrame->prev = mHead; in pushCommon()
84 mHead->next = nextFrame; in pushCommon()
86 mHead = mHead->next; in pushCommon()
87 mHead->pendingDirty.setEmpty(); in pushCommon()
[all …]
DDamageAccumulator.h70 DirtyStack* mHead; variable
/frameworks/base/libs/hwui/utils/
DRingBuffer.h38 mHead = (mHead + 1) % SIZE; in next()
42 return mBuffer[mHead]; in next()
54 return mBuffer[(mHead + index + 1) % mCount];
58 return mBuffer[(mHead + index + 1) % mCount];
63 mHead = -1; in clear()
68 int mHead = -1; variable
/frameworks/base/libs/hwui/renderthread/
DRenderThread.cpp44 TaskQueue::TaskQueue() : mHead(nullptr), mTail(nullptr) {} in TaskQueue()
47 RenderTask* ret = mHead; in next()
49 mHead = ret->mNext; in next()
50 if (!mHead) { in next()
59 return mHead; in peek()
74 RenderTask* next = mHead; in queue()
80 task->mNext = mHead; in queue()
81 mHead = task; in queue()
92 mTail = mHead = task; in queue()
98 task->mNext = mHead; in queueAtFront()
[all …]
DRenderThread.h60 RenderTask* mHead;
/frameworks/base/core/java/android/view/
DChoreographer.java880 private CallbackRecord mHead; field in Choreographer.CallbackQueue
883 return mHead != null && mHead.dueTime <= now; in hasDueCallbacksLocked()
887 CallbackRecord callbacks = mHead; in extractDueCallbacksLocked()
902 mHead = next; in extractDueCallbacksLocked()
908 CallbackRecord entry = mHead; in addCallbackLocked()
910 mHead = callback; in addCallbackLocked()
915 mHead = callback; in addCallbackLocked()
930 for (CallbackRecord callback = mHead; callback != null;) { in removeCallbacksLocked()
937 mHead = next; in removeCallbacksLocked()
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/
DTiledImageRenderer.java752 private Tile mHead; field in TiledImageRenderer.TileQueue
755 Tile tile = mHead; in pop()
757 mHead = tile.mNext; in pop()
767 boolean wasEmpty = mHead == null; in push()
768 tile.mNext = mHead; in push()
769 mHead = tile; in push()
774 Tile other = mHead; in contains()
785 mHead = null; in clean()
/frameworks/support/fragment/java/android/support/v4/app/
DBackStackRecord.java51 BackStackRecord.Op op = bse.mHead; in BackStackState()
62 op = bse.mHead; in BackStackState()
225 Op mHead; field in BackStackRecord
306 if (mHead != null) { in dump()
309 Op op = mHead; in dump()
398 if (mHead == null) { in addOp()
399 mHead = mTail = op; in addOp()
641 Op op = mHead; in bumpBackStackNesting()
726 Op op = mHead; in run()
857 Op op = mHead; in calculateFragments()
/frameworks/base/core/java/android/app/
DBackStackRecord.java57 BackStackRecord.Op op = bse.mHead; in BackStackState()
70 op = bse.mHead; in BackStackState()
232 Op mHead; field in BackStackRecord
322 if (mHead != null) { in dump()
326 Op op = mHead; in dump()
436 if (mHead == null) { in addOp()
437 mHead = mTail = op; in addOp()
648 Op op = mHead; in bumpBackStackNesting()
732 Op op = mHead; in run()
879 Op op = mHead; in calculateFragments()