Lines Matching refs:mQueue
35 private LinkedList<Pair<Runnable, Integer>> mQueue = new LinkedList<Pair<Runnable, Integer>>();
43 synchronized (mQueue) {
44 if (mQueue.size() == 0) {
47 p = mQueue.removeFirst();
51 synchronized (mQueue) {
82 synchronized (mQueue) {
83 mQueue.add(new Pair<Runnable, Integer>(runnable, type));
84 if (mQueue.size() == 1) {
99 synchronized (mQueue) {
100 while (mQueue.remove(runnable)) { }
104 synchronized (mQueue) {
105 ListIterator<Pair<Runnable, Integer>> iter = mQueue.listIterator();
117 synchronized (mQueue) {
118 mQueue.clear();
125 synchronized (mQueue) {
126 queue.addAll(mQueue);
127 mQueue.clear();
135 if (mQueue.size() > 0) {
136 Pair<Runnable, Integer> p = mQueue.getFirst();