Searched refs:tick (Results 1 - 16 of 16) sorted by relevance

/openjdk7/jdk/src/share/classes/javax/sound/midi/
H A DMidiEvent.java32 * duration of a tick is specified by the timing information contained
55 * The tick value for this event.
57 private long tick; field in class:MidiEvent
63 * @param tick the time-stamp for the event, in MIDI ticks
65 public MidiEvent(MidiMessage message, long tick) { argument
68 this.tick = tick;
82 * @param tick the new time-stamp, in MIDI ticks
84 public void setTick(long tick) { argument
85 this.tick
[all...]
H A DSequencer.java328 * ticks. (The duration of a tick in seconds is determined both by
332 * @return current tick
340 * @param tick the desired tick position
343 public void setTickPosition(long tick); argument
604 * Sets the first MIDI tick that will be
618 * @param tick the loop's starting position,
632 public void setLoopStartPoint(long tick); argument
648 * Sets the last MIDI tick that will be played in
654 * indicates the last tick o
677 setLoopEndPoint(long tick) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/misc/
H A DTimeable.java39 * all timers call this method when they tick;
44 public void tick(Timer timer); method in interface:Timeable
H A DTimer.java35 it calls the owner's tick() method.
41 public void tick(Timer timer) {
42 System.out.println("tick");
52 owner's tick() method.
56 how long the owner's tick() method takes. While the timer
58 the owner's tick() method takes longer than the interval,
62 the specified interval only after the tick() method returns.
85 takes on that priority before calling the owner's tick() method.
90 * This is the owner of the timer. Its tick method is
106 * should tick
[all...]
/openjdk7/jdk/src/share/classes/com/sun/media/sound/
H A DMidiUtils.java112 * convert tick to microsecond with given tempo.
116 public static long ticks2microsec(long tick, double tempoMPQ, int resolution) { argument
117 return (long) (((double) tick) * tempoMPQ / resolution);
126 // do not round to nearest tick
133 * Given a tick, convert to microsecond
136 public static long tick2microsecond(Sequence seq, long tick, TempoCache cache) { argument
138 double seconds = ((double)tick / (double)(seq.getDivisionType() * seq.getResolution()));
161 || ticks[snapshotIndex] > tick) {
166 // this implementation needs a tempo event at tick 0!
168 while (i < cacheCount && ticks[i] <= tick) {
240 tick2index(Track track, long tick) argument
343 getTempoMPQAt(long tick) argument
347 getTempoMPQAt(long tick, float startTempoMPQ) argument
[all...]
H A DRealTimeSequencer.java467 public synchronized void setTickPosition(long tick) { argument
468 if (tick < 0) {
473 if (Printer.trace) Printer.trace(">> RealTimeSequencer: setTickPosition("+tick+") ");
476 if (tick != 0) {
481 if (tick != 0) {
485 getDataPump().setTickPos(tick);
696 public void setLoopStartPoint(long tick) { argument
697 if ((tick > getTickLength())
698 || ((loopEnd != -1) && (tick > loopEnd))
699 || (tick <
709 setLoopEndPoint(long tick) argument
1821 tick2millis(long tick) argument
1832 ReindexTrack(int trackNum, long tick) argument
[all...]
H A DSoftMidiAudioFileReader.java101 long tick = selevent.getTick();
103 curtime += ((tick - lasttick) * mpq) / seqres;
105 curtime = (long) ((tick * 1000000.0 * divtype) / seqres);
106 lasttick = tick;
H A DStandardMidiFileReader.java320 // reset current tick to 0
321 long tick = 0;
335 // each event has a tick delay and then the event data.
337 // first read the delay (a variable-length int) and update our tick value
338 tick += readVarInt();
408 track.add(new MidiEvent(message, tick));
/openjdk7/jdk/test/javax/sound/midi/Gervill/SoftSynthesizer/
H A DTestRender1.java73 long tick = selevent.getTick();
75 curtime += ((tick - lasttick) * mpq) / seqres;
77 curtime = (long) ((tick * 1000000.0 * divtype) / seqres);
78 lasttick = tick;
/openjdk7/jdk/src/solaris/sample/dtrace/hotspot/
H A Dclass_loading_stat.d110 tick-1sec
H A Dobject_allocation_stat.d112 tick-1sec
H A Dgc_time_stat.d152 tick-1sec
H A Dmethod_compile_stat.d206 tick-1sec
/openjdk7/hotspot/src/share/vm/gc_implementation/concurrentMarkSweep/
H A DconcurrentMarkSweepThread.cpp126 loopX.tick();
135 loopY.tick();
H A DconcurrentMarkSweepThread.hpp278 inline void tick() { function in class:CMSLoopCountWarn
/openjdk7/jdk/src/share/classes/sun/tools/tree/
H A DUplevelReference.java142 int tick = 0;
155 valName = Identifier.lookup(base + "$" + (++tick));

Completed in 75 milliseconds