Home
last modified time | relevance | path

Searched refs:lowestTime (Results 1 – 2 of 2) sorted by relevance

/development/samples/browseable/MidiScope/src/com.example.android.common.midi/
DEventScheduler.java158 long lowestTime = mEventBuffer.isEmpty() ? Long.MAX_VALUE in add() local
164 if (event.getTimestamp() < lowestTime) { in add()
174 private SchedulableEvent removeNextEventLocked(long lowestTime) { in removeNextEventLocked() argument
176 FastEventQueue list = mEventBuffer.get(lowestTime); in removeNextEventLocked()
179 mEventBuffer.remove(lowestTime); in removeNextEventLocked()
195 long lowestTime = mEventBuffer.firstKey(); in getNextEvent() local
197 if (lowestTime <= time) { in getNextEvent()
198 event = removeNextEventLocked(lowestTime); in getNextEvent()
221 long lowestTime = mEventBuffer.firstKey(); in waitNextEvent() local
223 if (lowestTime <= now) { in waitNextEvent()
[all …]
/development/samples/browseable/MidiSynth/src/com.example.android.common.midi/
DEventScheduler.java158 long lowestTime = mEventBuffer.isEmpty() ? Long.MAX_VALUE in add() local
164 if (event.getTimestamp() < lowestTime) { in add()
174 private SchedulableEvent removeNextEventLocked(long lowestTime) { in removeNextEventLocked() argument
176 FastEventQueue list = mEventBuffer.get(lowestTime); in removeNextEventLocked()
179 mEventBuffer.remove(lowestTime); in removeNextEventLocked()
195 long lowestTime = mEventBuffer.firstKey(); in getNextEvent() local
197 if (lowestTime <= time) { in getNextEvent()
198 event = removeNextEventLocked(lowestTime); in getNextEvent()
221 long lowestTime = mEventBuffer.firstKey(); in waitNextEvent() local
223 if (lowestTime <= now) { in waitNextEvent()
[all …]