Lines Matching refs:mQueue
37 private final ArrayList<WorkItem> mQueue = new ArrayList<WorkItem>(); field in ImageLoader
54 synchronized (mQueue) { in getBitmap()
56 mQueue.add(w); in getBitmap()
57 mQueue.notifyAll(); in getBitmap()
62 synchronized (mQueue) { in cancel()
65 mQueue.remove(index); in cancel()
75 for (int i = 0; i < mQueue.size(); i++) { in findItem()
76 if (mQueue.get(i).mImage == image) { in findItem()
85 synchronized (mQueue) { in clearQueue()
86 int n = mQueue.size(); in clearQueue()
89 tags[i] = mQueue.get(i).mTag; in clearQueue()
91 mQueue.clear(); in clearQueue()
121 synchronized (mQueue) { in run()
125 if (!mQueue.isEmpty()) { in run()
126 workItem = mQueue.remove(0); in run()
129 mQueue.wait(); in run()
159 synchronized (mQueue) { in stop()
161 mQueue.notifyAll(); in stop()