HomeSort by relevance Sort by last modified time
    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,
  /external/sl4a/Common/src/com/googlecode/android_scripting/facade/
TextToSpeechFacade.java 35 private final TextToSpeech mTts;
41 mTts = new TextToSpeech(manager.getService(), new OnInitListener() {
51 while (mTts.isSpeaking()) {
54 mTts.shutdown();
61 mTts.speak(message, TextToSpeech.QUEUE_ADD, null);
68 return mTts.isSpeaking();
  /cts/tests/tests/speech/src/android/speech/tts/cts/
TextToSpeechServiceTest.java 36 private TextToSpeechWrapper mTts;
42 mTts = TextToSpeechWrapper.createTextToSpeechMockWrapper(getContext());
43 assertNotNull(mTts);
49 mTts.shutdown();
53 return mTts.getTts();
66 assertTrue("synthesizeToFile() completion timeout", mTts.waitForComplete("mocktofile"));
73 mTts.verify("mocktofile");
75 final Map<String, Integer> chunksReceived = mTts.chunksReceived();
76 final Map<String, List<Integer>> timePointsStart = mTts.timePointsStart();
77 final Map<String, List<Integer>> timePointsEnd = mTts.timePointsEnd()
    [all...]
TextToSpeechWrapper.java 46 private TextToSpeech mTts;
70 mTts = tts;
74 mTts.setOnUtteranceProgressListener(mUtteranceListener);
87 return mTts;
91 mTts.shutdown();
  /development/samples/ApiDemos/src/com/example/android/apis/accessibility/
TaskBackService.java 52 private TextToSpeech mTts;
60 mTts = new TextToSpeech(getApplicationContext(), this);
139 mTts.speak(utterance.toString(), TextToSpeech.QUEUE_FLUSH, null);
176 mTts.setLanguage(Locale.US);
188 mTts.shutdown();
ClockBackService.java 212 private TextToSpeech mTts;
230 mTts.speak(utterance, QUEUING_MODE_INTERRUPT, null);
233 mTts.stop();
236 mTts = new TextToSpeech(mContext, new TextToSpeech.OnInitListener() {
245 mTts.shutdown();
252 mTts.stop();
568 mTts.addEarcon(earconName, getPackageName(), resourceId);
573 mTts.playEarcon(earconName, QUEUING_MODE_INTERRUPT, null);
  /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);

Completed in 317 milliseconds