Searched defs:tone (Results 1 - 3 of 3) sorted by relevance

/packages/apps/Stk/src/com/android/stk/
H A DTonePlayer.java33 // Map STK tone ids to the system tone ids.
53 public void play(Tone tone) { argument
54 int toneId = getToneId(tone);
70 private int getToneId(Tone tone) { argument
73 if (tone != null && mToneMap.containsKey(tone)) {
74 toneId = mToneMap.get(tone);
/packages/apps/Phone/src/com/android/phone/
H A DEmergencyDialer.java81 /** The DTMF tone volume relative to other sounds in the stream */
196 // a local audio signal, and is not as important as the dtmf tone itself.
202 Log.w(LOG_TAG, "Exception caught while creating local tone generator: " + e);
434 // retrieve the DTMF tone play back setting.
442 // a local audio signal, and is not as important as the dtmf tone itself.
449 Log.w(LOG_TAG, "Exception caught while creating local tone generator: " + e);
511 * Plays the specified tone for TONE_LENGTH_MS milliseconds.
513 * The tone is played locally, using the audio stream for phone calls.
517 * @param tone a tone cod
519 playTone(int tone) argument
[all...]
/packages/apps/Contacts/src/com/android/contacts/dialpad/
H A DDialpadFragment.java100 /** The DTMF tone volume relative to other sounds in the stream */
502 // retrieve the DTMF tone play back setting.
514 // a local audio signal, and is not as important as the dtmf tone itself.
520 Log.w(TAG, "Exception caught while creating local tone generator: " + e);
588 // Make sure we don't leave this activity with a tone still playing.
785 * When a key is pressed, we start playing DTMF tone, do vibration, and enter the digit
786 * immediately. When a key is released, we stop the tone. Note that the "key press" event will
953 // Stop tone immediately and decrease the press count, so that possible subsequent
1134 * Plays the specified tone for TONE_LENGTH_MS milliseconds.
1136 private void playTone(int tone) { argument
1153 playTone(int tone, int durationMs) argument
[all...]

Completed in 80 milliseconds