Searched defs:tone (Results 1 - 4 of 4) 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.java79 /** The DTMF tone volume relative to other sounds in the stream */
207 // a local audio signal, and is not as important as the dtmf tone itself.
217 Log.w(LOG_TAG, "Exception caught while creating local tone generator: " + e);
442 // retrieve the DTMF tone play back setting.
450 // a local audio signal, and is not as important as the dtmf tone itself.
457 Log.w(LOG_TAG, "Exception caught while creating local tone generator: " + e);
522 * Plays the specified tone for TONE_LENGTH_MS milliseconds.
524 * The tone is played locally, using the audio stream for phone calls.
528 * @param tone a tone cod
530 playTone(int tone) argument
[all...]
H A DDTMFTwelveKeyDialer.java66 // indicate if we want to enable the DTMF tone playback.
69 // DTMF tone type
78 // Short Dtmf tone duration
82 /** Hash Map to map a character to a tone*/
183 * 2. Allow ONLY valid DTMF characters to generate a tone and be
229 * a dtmf code and play a local dtmf tone.
244 // if the character is a valid dtmf code, start playing the tone and send the
259 * a dtmf code and the dtmf tone.
274 if (DBG) log("Stopping the tone for '" + c + "'");
291 // if the character is a valid dtmf code, start playing the tone an
875 startDtmfTone(char tone) argument
967 startToneCdma(char tone) argument
989 startLocalToneCdma(char tone) argument
[all...]
/packages/apps/Contacts/src/com/android/contacts/
H A DTwelveKeyDialer.java83 /** The DTMF tone volume relative to other sounds in the stream */
423 // retrieve the DTMF tone play back setting.
431 // a local audio signal, and is not as important as the dtmf tone itself.
441 Log.w(TAG, "Exception caught while creating local tone generator: " + e);
831 * Plays the specified tone for TONE_LENGTH_MS milliseconds.
833 * The tone is played locally, using the audio stream for phone calls.
837 * @param tone a tone code from {@link ToneGenerator}
839 void playTone(int tone) { argument
840 // if local tone playbac
[all...]

Completed in 142 milliseconds