OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mTts
(Results
1 - 7
of
7
) sorted by null
/development/samples/ApiDemos/src/com/example/android/apis/app/
TextToSpeechActivity.java
51
private TextToSpeech
mTts
;
61
mTts
= new TextToSpeech(this,
79
if (
mTts
!= null) {
80
mTts
.stop();
81
mTts
.shutdown();
93
int result =
mTts
.setLanguage(Locale.US);
95
// int result
mTts
.setLanguage(Locale.FRANCE);
131
mTts
.speak(hello,
/cts/tests/tests/speech/src/android/speech/tts/cts/
TextToSpeechTest.java
38
private TextToSpeech
mTts
;
108
mTts
= new TextToSpeech(getContext(), listener);
116
mTts
.shutdown();
125
int availability =
mTts
.isLanguageAvailable(locale);
129
mTts
.setLanguage(locale);
149
mTts
.setOnUtteranceCompletedListener(listener);
151
int result =
mTts
.synthesizeToFile(SAMPLE_TEXT, param, sampleFile.getPath());
/development/samples/ApiDemos/src/com/example/android/apis/os/
SmsReceivedDialog.java
42
private TextToSpeech
mTts
;
63
mTts
= new TextToSpeech(this, this);
68
int result =
mTts
.setLanguage(Locale.US);
73
mTts
.speak(mFullBodyString, TextToSpeech.QUEUE_ADD, null);
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
CellBroadcastAlertAudio.java
76
private TextToSpeech
mTts
;
114
mTts
.speak(mMessageBody, TextToSpeech.QUEUE_FLUSH, null);
152
mTts
= null;
164
int result =
mTts
.setLanguage(new Locale(mMessageLanguage));
202
if (
mTts
!= null) {
203
mTts
.stop();
204
mTts
.shutdown();
230
if (
mTts
== null) {
231
mTts
= new TextToSpeech(this, this);
335
} else if (mState == STATE_SPEAKING &&
mTts
!= null)
[
all
...]
/packages/apps/Settings/src/com/android/settings/
TextToSpeechSettings.java
101
private TextToSpeech
mTts
= null;
131
mTts
= new TextToSpeech(this, this);
152
if (
mTts
!= null) {
153
mTts
.shutdown();
362
mTts
.setLanguage(new Locale(mDefaultLanguage, mDefaultCountry, mDefaultLocVariant));
363
mTts
.setSpeechRate((float)(mDefaultRate/100.0f));
404
if (
mTts
== null) {
405
mTts
= new TextToSpeech(this, this);
447
int languageResult =
mTts
.setLanguage(
454
languageResult =
mTts
.setLanguage
[
all
...]
/development/samples/AccessibilityService/src/com/example/android/clockback/
ClockBackService.java
262
private TextToSpeech
mTts
;
280
mTts
.speak(utterance, QUEUING_MODE_INTERRUPT, null);
283
mTts
.stop();
286
mTts
= new TextToSpeech(mContext, new TextToSpeech.OnInitListener() {
295
mTts
.shutdown();
302
mTts
.stop();
695
mTts
.addEarcon(earconName, getPackageName(), resourceId);
699
mTts
.playEarcon(earconName, QUEUING_MODE_INTERRUPT, null);
/packages/apps/VoiceDialer/src/com/android/voicedialer/
BluetoothVoiceDialerActivity.java
162
private TextToSpeech
mTts
;
238
mTts
= new TextToSpeech(this, new TtsInitListener());
284
mTts
.speak(getString(R.string.speak_now_tts),
308
if (
mTts
== null) {
318
mTts
.setOnUtteranceCompletedListener(new OnUtteranceCompletedListener());
471
mTts
.speak(getString(R.string.no_results_tts),
546
mTts
.speak(sentenceSpoken,
661
mTts
.speak(mChosenAction.getStringExtra(
677
mTts
.speak(getString(R.string.invalid_choice_tts),
742
mTts
.speak(builder.toString()
[
all
...]
Completed in 97 milliseconds