Home
last modified time | relevance | path

Searched refs:velocity (Results 1 – 17 of 17) sorted by relevance

/development/samples/browseable/MidiSynth/src/com.example.android.common.midi/synth/
DSawVoice.java36 public void noteOn(int noteIndex, int velocity) { in noteOn() argument
37 super.noteOn(noteIndex, velocity); in noteOn()
DSynthVoice.java33 public void noteOn(int noteIndex, int velocity) { in noteOn() argument
36 setAmplitude(velocity / 128.0f); in noteOn()
DSynthEngine.java197 public void noteOff(int channel, int noteIndex, int velocity) { in noteOff() argument
230 public void noteOn(int channel, int noteIndex, int velocity) { in noteOn() argument
231 if (velocity == 0) { in noteOn()
232 noteOff(channel, noteIndex, velocity); in noteOn()
242 voice.noteOn(noteIndex, velocity); in noteOn()
/development/samples/browseable/MidiScope/src/com.example.android.common.midi/synth/
DSawVoice.java36 public void noteOn(int noteIndex, int velocity) { in noteOn() argument
37 super.noteOn(noteIndex, velocity); in noteOn()
DSynthVoice.java33 public void noteOn(int noteIndex, int velocity) { in noteOn() argument
36 setAmplitude(velocity / 128.0f); in noteOn()
DSynthEngine.java197 public void noteOff(int channel, int noteIndex, int velocity) { in noteOff() argument
230 public void noteOn(int channel, int noteIndex, int velocity) { in noteOn() argument
231 if (velocity == 0) { in noteOn()
232 noteOff(channel, noteIndex, velocity); in noteOn()
242 voice.noteOn(noteIndex, velocity); in noteOn()
/development/samples/devbytes/animation/CardFlip/src/com/example/android/cardflip/
DCardView.java113 public void flipRightToLeft(int numberInPile, int velocity) { in flipRightToLeft() argument
115 flipHorizontally(numberInPile, false, velocity); in flipRightToLeft()
119 public void flipLeftToRight(int numberInPile, int velocity) { in flipLeftToRight() argument
121 flipHorizontally(numberInPile, true, velocity); in flipLeftToRight()
131 public void flipHorizontally (int numberInPile, boolean clockwise, int velocity) { in flipHorizontally() argument
163 int duration = MAX_FLIP_DURATION - Math.abs(velocity) / VELOCITY_TO_DURATION_CONSTANT; in flipHorizontally()
/development/samples/training/basic/ActivityLifecycle/libs/
Dandroid-support-v13.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/multiscreen/newsreader/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/basic/FragmentBasics/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/location-aware/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/InteractiveChart/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/AnimationsDemo/libs/
Dandroid-support-v13.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/EffectiveNavigation/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/ContactsList/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/ControllerSample/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/NavigationDrawer/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...