Searched refs:mTts (Results 1 – 4 of 4) sorted by relevance
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
D | TextToSpeechActivity.java | 51 private TextToSpeech mTts; field in TextToSpeechActivity 61 mTts = new TextToSpeech(this, in onCreate() 79 if (mTts != null) { in onDestroy() 80 mTts.stop(); in onDestroy() 81 mTts.shutdown(); in onDestroy() 93 int result = mTts.setLanguage(Locale.US); in onInit() 131 mTts.speak(hello, in sayHello()
|
/development/samples/ApiDemos/src/com/example/android/apis/accessibility/ |
D | TaskBackService.java | 52 private TextToSpeech mTts; field in TaskBackService 60 mTts = new TextToSpeech(getApplicationContext(), this); in onServiceConnected() 139 mTts.speak(utterance.toString(), TextToSpeech.QUEUE_FLUSH, null); in onAccessibilityEvent() 176 mTts.setLanguage(Locale.US); in onInit() 188 mTts.shutdown(); in onDestroy()
|
D | ClockBackService.java | 212 private TextToSpeech mTts; field in ClockBackService 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); in playEarcon() 573 mTts.playEarcon(earconName, QUEUING_MODE_INTERRUPT, null); in playEarcon()
|
/development/samples/ApiDemos/src/com/example/android/apis/os/ |
D | SmsReceivedDialog.java | 42 private TextToSpeech mTts; field in SmsReceivedDialog 63 mTts = new TextToSpeech(this, this); in onCreate() 68 int result = mTts.setLanguage(Locale.US); in onInit() 73 mTts.speak(mFullBodyString, TextToSpeech.QUEUE_ADD, null); in onInit()
|