/frameworks/support/compat/java/android/support/v4/util/ |
CircularIntArray.java | 24 private int mHead; 30 int r = n - mHead; 36 System.arraycopy(mElements, mHead, a, 0, r); 37 System.arraycopy(mElements, 0, a, r, mHead); 39 mHead = 0; 83 mHead = (mHead - 1) & mCapacityBitmask; 84 mElements[mHead] = e; 85 if (mHead == mTail) { 97 if (mTail == mHead) { [all...] |
CircularArray.java | 23 private int mHead; 29 int r = n - mHead; 35 System.arraycopy(mElements, mHead, a, 0, r); 36 System.arraycopy(mElements, 0, a, r, mHead); 38 mHead = 0; 82 mHead = (mHead - 1) & mCapacityBitmask; 83 mElements[mHead] = e; 84 if (mHead == mTail) { 96 if (mTail == mHead) { [all...] |
/frameworks/base/libs/hwui/utils/ |
RingBuffer.h | 38 mHead = (mHead + 1) % SIZE; 42 return mBuffer[mHead]; 54 return mBuffer[(mHead + index + 1) % mCount]; 58 return mBuffer[(mHead + index + 1) % mCount]; 63 mHead = -1; 68 int mHead = -1;
|
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
LinkedNode.java | 44 private LinkedNode mHead = new LinkedNode(); 47 mHead.mPrev.insert(node); 51 return (T) (mHead.mNext == mHead ? null : mHead.mNext); 55 return (T) (mHead.mPrev == mHead ? null : mHead.mPrev); 59 return (T) (node.mNext == mHead ? null : node.mNext); 63 return (T) (node.mPrev == mHead ? null : node.mPrev) [all...] |
/frameworks/base/libs/hwui/ |
DamageAccumulator.cpp | 48 mHead = mAllocator.create_trivial<DirtyStack>(); 49 memset(mHead, 0, sizeof(DirtyStack)); 51 mHead->prev = mHead; 52 mHead->type = TransformNone; 76 computeTransformImpl(mHead, outMatrix); 80 if (!mHead->next) { 83 nextFrame->prev = mHead; 84 mHead->next = nextFrame; 86 mHead = mHead->next [all...] |
DamageAccumulator.h | 70 DirtyStack* mHead;
|
/hardware/akm/AK8975_FS/libsensors/ |
InputEventReader.cpp | 39 mHead(mBuffer), 54 const ssize_t nread = read(fd, mHead, mFreeSpace * sizeof(input_event)); 62 mHead += numEventsRead; 64 if (mHead > mBufferEnd) { 65 size_t s = mHead - mBufferEnd; 67 mHead = mBuffer + s;
|
InputEventReader.h | 33 struct input_event* mHead;
|
/hardware/invensense/6515/libsensors_iio/ |
InputEventReader.cpp | 41 mHead(mBuffer), 62 const ssize_t nread = read(fd, mHead, mFreeSpace * sizeof(input_event)); 80 mHead += numEventsRead; 82 if (mHead > mBufferEnd) { 83 size_t s = mHead - mBufferEnd; 85 mHead = mBuffer + s;
|
InputEventReader.h | 35 struct input_event* mHead;
|
/hardware/invensense/65xx/libsensors_iio/ |
InputEventReader.cpp | 41 mHead(mBuffer), 62 const ssize_t nread = read(fd, mHead, mFreeSpace * sizeof(input_event)); 80 mHead += numEventsRead; 82 if (mHead > mBufferEnd) { 83 size_t s = mHead - mBufferEnd; 85 mHead = mBuffer + s;
|
InputEventReader.h | 35 struct input_event* mHead;
|
/frameworks/base/libs/hwui/renderthread/ |
RenderThread.cpp | 48 TaskQueue::TaskQueue() : mHead(nullptr), mTail(nullptr) {} 51 RenderTask* ret = mHead; 53 mHead = ret->mNext; 54 if (!mHead) { 63 return mHead; 78 RenderTask* next = mHead; 84 task->mNext = mHead; 85 mHead = task; 96 mTail = mHead = task; 101 LOG_ALWAYS_FATAL_IF(task->mNext || mHead == task, "Task is already in the queue!") [all...] |
RenderThread.h | 63 RenderTask* mHead;
|
/system/chre/util/include/chre/util/ |
array_queue_impl.h | 53 return data()[mHead]; 59 return data()[mHead]; 96 data()[mHead].~ElementType(); 151 return empty() ? end() : iterator(data() + mHead, data(), mTail); 176 return empty() ? cend() : const_iterator(data() + mHead, data(), mTail); 198 size_t absoluteIndex = mHead + index; 208 if (++mHead == kCapacity) { 209 mHead = 0;
|
array_queue.h | 225 * mHead and mTail will align. Also, this is consistent with 226 * mSize = (mTail - mHead)%kCapacity + 1 for mSize > 0. 229 size_t mHead = 0; 252 * Converts relative index with respect to mHead to absolute index in the 261 * Pulls mHead to the next element in the array queue and decrements mSize
|
/frameworks/base/core/java/android/view/ |
Choreographer.java | [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/ |
AdtPlugin.java | 637 private int mHead; 661 if (mHead != mTail) { 662 char c = mStorage[mHead]; 663 mHead = (mHead + 1) % mStorage.length; 666 assert mHead == mTail; 671 mStorage[mHead] = (char) c; 672 mHead = mTail = (mHead + 1) % mStorage.length; 687 mHead -= n [all...] |
/system/netd/server/ |
MDnsSdListener.cpp | 519 mHead = NULL; 581 if (mHead == NULL) { 647 // rescan the list from mHead and make new pollfds and serviceRefs 652 Element **prevPtr = &mHead; 670 if (DBG_RESCAN) ALOGD("mHead = %p", mHead); 707 e->mNext = mHead; 708 mHead = e; 715 Element *cur = mHead; 731 Element *cur = mHead; [all...] |
MDnsSdListener.h | 93 Element *mHead;
|