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.java92 /** The DTMF tone volume relative to other sounds in the stream */
220 // a local audio signal, and is not as important as the dtmf tone itself.
226 Log.w(LOG_TAG, "Exception caught while creating local tone generator: " + e);
484 // retrieve the DTMF tone play back setting.
492 // a local audio signal, and is not as important as the dtmf tone itself.
499 Log.w(LOG_TAG, "Exception caught while creating local tone generator: " + e);
559 * Plays the specified tone for TONE_LENGTH_MS milliseconds.
561 * The tone is played locally, using the audio stream for phone calls.
565 * @param tone a tone cod
567 playTone(int tone) argument
[all...]
/packages/apps/Dialer/src/com/android/dialer/dialpad/
H A DDialpadFragment.java116 /** The DTMF tone volume relative to other sounds in the stream */
554 // retrieve the DTMF tone play back setting.
570 // a local audio signal, and is not as important as the dtmf tone itself.
576 Log.w(TAG, "Exception caught while creating local tone generator: " + e);
650 // Make sure we don't leave this activity with a tone still playing.
812 * When a key is pressed, we start playing DTMF tone, do vibration, and enter the digit
813 * immediately. When a key is released, we stop the tone. Note that the "key press" event will
980 // Stop tone immediately and decrease the press count, so that possible subsequent
1166 * Plays the specified tone for TONE_LENGTH_MS milliseconds.
1168 private void playTone(int tone) { argument
1185 playTone(int tone, int durationMs) argument
[all...]

Completed in 182 milliseconds