Lines Matching refs:event

55         FastEventQueue(SchedulableEvent event) {  in FastEventQueue()  argument
56 mFirst = event; in FastEventQueue()
74 SchedulableEvent event = mFirst; in remove() local
75 mFirst = event.mNext; in remove()
76 return event; in remove()
82 public void add(SchedulableEvent event) { in add() argument
83 event.mNext = null; in add()
84 mLast.mNext = event; in add()
85 mLast = event; in add()
126 SchedulableEvent event = null; in removeEventfromPool() local
128 event = mEventPool.remove(); in removeEventfromPool()
130 return event; in removeEventfromPool()
138 public void addEventToPool(SchedulableEvent event) { in addEventToPool() argument
140 mEventPool = new FastEventQueue(event); in addEventToPool()
144 mEventPool.add(event); in addEventToPool()
154 public void add(SchedulableEvent event) { in add() argument
156 FastEventQueue list = mEventBuffer.get(event.getTimestamp()); in add()
160 list = new FastEventQueue(event); in add()
161 mEventBuffer.put(event.getTimestamp(), list); in add()
164 if (event.getTimestamp() < lowestTime) { in add()
168 list.add(event); in add()
175 SchedulableEvent event; in removeNextEventLocked() local
181 event = list.remove(); in removeNextEventLocked()
182 return event; in removeNextEventLocked()
192 SchedulableEvent event = null; in getNextEvent() local
198 event = removeNextEventLocked(lowestTime); in getNextEvent()
203 return event; in getNextEvent()
215 SchedulableEvent event = null; in waitNextEvent() local
224 event = removeNextEventLocked(lowestTime); in waitNextEvent()
241 return event; in waitNextEvent()