HomeSort by relevance Sort by last modified time
    Searched refs:mHead (Results 1 - 25 of 64) sorted by null

1 2 3

  /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;
  /external/mesa3d/src/gallium/drivers/swr/rasterizer/core/
fifo.hpp 44 uint32_t mHead{ 0 };
55 mHead = 0;
94 uint32_t block = mHead >> mBlockSizeShift;
95 return &mBlocks[block][mHead & (mBlockSize-1)];
100 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/libs/hwui/renderthread/
RenderThread.cpp 52 TaskQueue::TaskQueue() : mHead(nullptr), mTail(nullptr) {}
55 RenderTask* ret = mHead;
57 mHead = ret->mNext;
58 if (!mHead) {
67 return mHead;
82 RenderTask* next = mHead;
88 task->mNext = mHead;
89 mHead = task;
100 mTail = mHead = task;
105 LOG_ALWAYS_FATAL_IF(task->mNext || mHead == task, "Task is already in the queue!")
    [all...]
RenderThread.h 66 RenderTask* mHead;
  /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;
574 if (mHead == NULL) {
640 // rescan the list from mHead and make new pollfds and serviceRefs
645 Element **prevPtr = &mHead;
663 if (DBG_RESCAN) ALOGD("mHead = %p", mHead);
700 e->mNext = mHead;
701 mHead = e;
708 Element *cur = mHead;
724 Element *cur = mHead;
    [all...]
MDnsSdListener.h 96 Element *mHead;
  /frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/
TiledImageRenderer.java 752 private Tile mHead;
755 Tile tile = mHead;
757 mHead = tile.mNext;
767 boolean wasEmpty = mHead == null;
768 tile.mNext = mHead;
769 mHead = tile;
774 Tile other = mHead;
785 mHead = null;
  /packages/apps/Gallery2/src/com/android/photos/views/
TiledImageRenderer.java 752 private Tile mHead;
755 Tile tile = mHead;
757 mHead = tile.mNext;
767 boolean wasEmpty = mHead == null;
768 tile.mNext = mHead;
769 mHead = tile;
774 Tile other = mHead;
785 mHead = null;
  /packages/apps/WallpaperPicker/src/com/android/photos/views/
TiledImageRenderer.java 752 private Tile mHead;
755 Tile tile = mHead;
757 mHead = tile.mNext;
767 boolean wasEmpty = mHead == null;
768 tile.mNext = mHead;
769 mHead = tile;
774 Tile other = mHead;
785 mHead = null;
  /packages/apps/Gallery2/src/com/android/gallery3d/ui/
TileImageView.java 736 private Tile mHead;
739 Tile tile = mHead;
740 if (tile != null) mHead = tile.mNext;
745 boolean wasEmpty = mHead == null;
746 tile.mNext = mHead;
747 mHead = tile;
752 mHead = null;

Completed in 689 milliseconds

1 2 3