Lines Matching refs:mQueue
36 private LinkedList<Pair<Runnable, Integer>> mQueue = new LinkedList<Pair<Runnable, Integer>>();
44 synchronized (mQueue) {
45 if (mQueue.size() == 0) {
48 p = mQueue.removeFirst();
52 synchronized (mQueue) {
83 synchronized (mQueue) {
84 mQueue.add(new Pair<Runnable, Integer>(runnable, type));
85 if (mQueue.size() == 1) {
100 synchronized (mQueue) {
101 while (mQueue.remove(runnable)) { }
105 synchronized (mQueue) {
106 ListIterator<Pair<Runnable, Integer>> iter = mQueue.listIterator();
118 synchronized (mQueue) {
119 mQueue.clear();
126 synchronized (mQueue) {
127 queue.addAll(mQueue);
128 mQueue.clear();
136 if (mQueue.size() > 0) {
137 Pair<Runnable, Integer> p = mQueue.getFirst();