/frameworks/base/libs/hwui/ |
D | DamageAccumulator.cpp | 48 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 …]
|
D | DamageAccumulator.h | 98 DirtyStack* mHead; variable
|
/frameworks/base/core/java/android/util/ |
D | LongArrayQueue.java | 36 private int mHead; field in LongArrayQueue 51 mHead = mTail = 0; in LongArrayQueue() 67 final int r = mValues.length - mHead; // Number of elements on and to the right of head. in grow() 68 System.arraycopy(mValues, mHead, newArray, 0, r); in grow() 69 System.arraycopy(mValues, 0, newArray, r, mHead); in grow() 71 mHead = 0; in grow() 87 mHead = mTail = 0; in clear() 114 final long ret = mValues[mHead]; in removeFirst() 115 mHead = (mHead + 1) % mValues.length; in removeFirst() 134 final int index = (mHead + position) % mValues.length; in get() [all …]
|
/frameworks/base/libs/hwui/utils/ |
D | RingBuffer.h | 38 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/base/libs/hwui/thread/ |
D | CommonPool.h | 44 constexpr bool hasWork() const { return mHead != mTail; } in hasWork() 45 constexpr bool hasSpace() const { return ((mHead + 1) % SIZE) != mTail; } in hasSpace() 47 if (mHead > mTail) { in size() 48 return mHead - mTail; in size() 50 return mTail - mHead + SIZE; in size() 55 int newHead = (mHead + 1) % SIZE; in push() 58 mBuffer[mHead] = std::move(t); in push() 59 mHead = newHead; in push() 63 LOG_ALWAYS_FATAL_IF(mTail == mHead, "empty"); in pop() 73 int mHead = 0; variable
|
/frameworks/native/services/surfaceflinger/Utils/ |
D | RingBuffer.h | 38 mHead = static_cast<size_t>(mHead + 1) % SIZE; in next() 42 return mBuffer[static_cast<size_t>(mHead)]; in next() 50 return mBuffer[(static_cast<size_t>(mHead + 1) + index) % mCount]; 54 return mBuffer[(static_cast<size_t>(mHead + 1) + index) % mCount]; 59 mHead = -1; in clear() 64 int mHead = -1; variable
|
/frameworks/av/media/codec2/vndk/util/ |
D | C2InterfaceUtils.cpp | 836 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/services/tests/mockingservicestests/src/com/android/server/am/ |
D | BroadcastQueueModernImplTest.java | 112 BroadcastProcessQueue mHead; field in BroadcastQueueModernImplTest 237 assertRunnableList(List.of(), mHead); in testRunnableList_Simple() local 239 mHead = insertIntoRunnableList(mHead, mQueue1); in testRunnableList_Simple() 240 assertRunnableList(List.of(mQueue1), mHead); in testRunnableList_Simple() local 242 mHead = removeFromRunnableList(mHead, mQueue1); in testRunnableList_Simple() 243 assertRunnableList(List.of(), mHead); in testRunnableList_Simple() local 248 mHead = insertIntoRunnableList(mHead, mQueue1); in testRunnableList_InsertLast() 249 mHead = insertIntoRunnableList(mHead, mQueue2); in testRunnableList_InsertLast() 250 mHead = insertIntoRunnableList(mHead, mQueue3); in testRunnableList_InsertLast() 251 mHead = insertIntoRunnableList(mHead, mQueue4); in testRunnableList_InsertLast() [all …]
|
/frameworks/base/core/java/android/view/ |
D | Choreographer.java | 1422 private CallbackRecord mHead; field in Choreographer.CallbackQueue 1425 return mHead != null && mHead.dueTime <= now; in hasDueCallbacksLocked() 1429 CallbackRecord callbacks = mHead; in extractDueCallbacksLocked() 1444 mHead = next; in extractDueCallbacksLocked() 1451 CallbackRecord entry = mHead; in addCallbackLocked() 1453 mHead = callback; in addCallbackLocked() 1458 mHead = callback; in addCallbackLocked() 1473 for (CallbackRecord callback = mHead; callback != null;) { in removeCallbacksLocked() 1480 mHead = next; in removeCallbacksLocked()
|
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/ |
D | TiledImageRenderer.java | 749 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/layoutlib/bridge/bridge_client/src/com/android/layoutlib/bridge/intensive/ |
D | BridgeClient.java | 144 if (Choreographer.getInstance().mCallbackQueues[i].mHead != null) {
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 58971 Landroid/view/Choreographer$CallbackQueue;->mHead:Landroid/view/Choreographer$CallbackRecord;
|