Home
last modified time | relevance | path

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

/development/samples/browseable/MidiSynth/src/com.example.android.common.midi/
DEventScheduler.java217 long millisToWait = Integer.MAX_VALUE; in waitNextEvent() local
231 millisToWait = 1 + (nanosToWait / NANOS_PER_MILLI); in waitNextEvent()
233 if (millisToWait > Integer.MAX_VALUE) { in waitNextEvent()
234 millisToWait = Integer.MAX_VALUE; in waitNextEvent()
238 lock.wait((int) millisToWait); in waitNextEvent()
/development/samples/browseable/MidiScope/src/com.example.android.common.midi/
DEventScheduler.java217 long millisToWait = Integer.MAX_VALUE; in waitNextEvent() local
231 millisToWait = 1 + (nanosToWait / NANOS_PER_MILLI); in waitNextEvent()
233 if (millisToWait > Integer.MAX_VALUE) { in waitNextEvent()
234 millisToWait = Integer.MAX_VALUE; in waitNextEvent()
238 lock.wait((int) millisToWait); in waitNextEvent()