Home
last modified time | relevance | path

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

/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()
77 computeTransformImpl(mHead, outMatrix); in computeCurrentTransform()
81 if (!mHead->next) { in pushCommon()
84 nextFrame->prev = mHead; in pushCommon()
85 mHead->next = nextFrame; in pushCommon()
87 mHead = mHead->next; in pushCommon()
88 mHead->pendingDirty.setEmpty(); in pushCommon()
[all …]
DDamageAccumulator.h96 DirtyStack* mHead; variable
/frameworks/base/core/java/android/util/
DLongArrayQueue.java37 private int mHead; field in LongArrayQueue
52 mHead = mTail = 0; in LongArrayQueue()
68 final int r = mValues.length - mHead; // Number of elements on and to the right of head. in grow()
69 System.arraycopy(mValues, mHead, newArray, 0, r); in grow()
70 System.arraycopy(mValues, 0, newArray, r, mHead); in grow()
72 mHead = 0; in grow()
88 mHead = mTail = 0; in clear()
115 final long ret = mValues[mHead]; in removeFirst()
116 mHead = (mHead + 1) % mValues.length; in removeFirst()
135 final int index = (mHead + position) % mValues.length; in get()
[all …]
/frameworks/base/libs/hwui/thread/
DCommonPool.h43 constexpr bool hasWork() const { return mHead != mTail; } in hasWork()
44 constexpr bool hasSpace() const { return ((mHead + 1) % SIZE) != mTail; } in hasSpace()
46 if (mHead > mTail) { in size()
47 return mHead - mTail; in size()
49 return mTail - mHead + SIZE; in size()
54 int newHead = (mHead + 1) % SIZE; in push()
57 mBuffer[mHead] = std::move(t); in push()
58 mHead = newHead; in push()
62 LOG_ALWAYS_FATAL_IF(mTail == mHead, "empty"); in pop()
72 int mHead = 0; variable
/frameworks/base/libs/hwui/utils/
DRingBuffer.h38 mHead = (mHead + 1) % SIZE; in next()
42 return mBuffer[mHead]; in next()
49 T& operator[](size_t index) { return mBuffer[(mHead + index + 1) % mCount]; }
51 const T& operator[](size_t index) const { return mBuffer[(mHead + index + 1) % mCount]; }
55 mHead = -1; in clear()
60 int mHead = -1; variable
/frameworks/av/media/codec2/vndk/util/
DC2InterfaceUtils.cpp836 return other != nullptr && mHead == other->mHead; in equals()
841 return Info(mHead); in get()
848 mHead.reset(); in increment()
853 : mHead(head) { } in Impl()
855 std::shared_ptr<Info::Impl> mHead; ///< current field member
931 uint32_t parentOffset = GetParentOffset(mHead); in makeLeaf()
938 mHead /* parent */, index, mHead == nullptr ? 0 : mHead->depth + 1, in makeLeaf()
939 GetParentBaseFieldOffset(mHead) + GetOffset(field), in makeLeaf()
970 : C2FieldUtilsFieldsIteratorHelper(impl->mReflector, impl->mParamSize, impl->mHead) { in C2FieldUtilsFieldsIterator()
972 if (mHead->field.type() & C2FieldDescriptor::STRUCT_FLAG) { in C2FieldUtilsFieldsIterator()
[all …]
/frameworks/base/core/java/android/view/
DChoreographer.java1043 private CallbackRecord mHead; field in Choreographer.CallbackQueue
1046 return mHead != null && mHead.dueTime <= now; in hasDueCallbacksLocked()
1050 CallbackRecord callbacks = mHead; in extractDueCallbacksLocked()
1065 mHead = next; in extractDueCallbacksLocked()
1072 CallbackRecord entry = mHead; in addCallbackLocked()
1074 mHead = callback; in addCallbackLocked()
1079 mHead = callback; in addCallbackLocked()
1094 for (CallbackRecord callback = mHead; callback != null;) { in removeCallbacksLocked()
1101 mHead = next; in removeCallbacksLocked()
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/
DTiledImageRenderer.java749 private Tile mHead; field in TiledImageRenderer.TileQueue
752 Tile tile = mHead; in pop()
754 mHead = tile.mNext; in pop()
764 boolean wasEmpty = mHead == null; in push()
765 tile.mNext = mHead; in push()
766 mHead = tile; in push()
771 Tile other = mHead; in contains()
782 mHead = null; in clean()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt62937 Landroid/view/Choreographer$CallbackQueue;->mHead:Landroid/view/Choreographer$CallbackRecord;