Lines Matching defs:mEventQueue
45 private TreeSet<MyEvent> mEventQueue =
71 mEventQueue.clear();
72 mEventQueue = null;
76 if (mEventQueue == null) {
90 if (mEventQueue.isEmpty()) return;
92 MyEvent firstEvent = mEventQueue.first();
95 for (MyEvent e : mEventQueue) {
103 mEventQueue.comparator());
104 newQueue.addAll(mEventQueue);
105 mEventQueue.clear();
106 mEventQueue = newQueue;
117 if (mEventQueue.isEmpty()) {
119 mEventQueue.add(event);
122 MyEvent firstEvent = mEventQueue.first();
130 mEventQueue.add(event);
139 mEventQueue.add(event);
158 if (mEventQueue.first() == event) {
159 if (mEventQueue.size() > 1) cancelAlarm();
167 + ", #events=" + mEventQueue.size());
178 if (stopped() || mEventQueue.isEmpty()) return;
181 MyEvent firstEvent = mEventQueue.first();
182 for (Iterator<MyEvent> iter = mEventQueue.iterator();
190 if (mEventQueue.isEmpty()) {
192 } else if (mEventQueue.first() != firstEvent) {
194 firstEvent = mEventQueue.first();
208 if (stopped() || mEventQueue.isEmpty()) return;
214 MyEvent event = mEventQueue.first();
240 for (MyEvent event : mEventQueue) {
246 if (mEventQueue.size() > count) {
255 + showTime(triggerTime) + ": " + mEventQueue.size());
256 if (stopped() || mEventQueue.isEmpty()) return;
258 for (MyEvent event : mEventQueue) {