Home
last modified time | relevance | path

Searched refs:mTextToSpeech (Results 1 – 2 of 2) sorted by relevance

/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/accessibility/
DAccessibilityInjector.java48 private TextToSpeechWrapper mTextToSpeech; field in AccessibilityInjector
231 if (mTextToSpeech != null) mTextToSpeech.stop(); in onPageLostFocus()
277 if (mTextToSpeech == null) { in addAccessibilityApis()
278 mTextToSpeech = new TextToSpeechWrapper(mContentViewCore.getContainerView(), in addAccessibilityApis()
280 mContentViewCore.addJavascriptInterface(mTextToSpeech, in addAccessibilityApis()
293 if (mTextToSpeech != null) { in removeAccessibilityApis()
295 mTextToSpeech.stop(); in removeAccessibilityApis()
296 mTextToSpeech.shutdownInternal(); in removeAccessibilityApis()
297 mTextToSpeech = null; in removeAccessibilityApis()
392 private TextToSpeech mTextToSpeech; field in AccessibilityInjector.TextToSpeechWrapper
[all …]
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/
DTtsPlatformImpl.java63 private final TextToSpeech mTextToSpeech; field in TtsPlatformImpl
72 mTextToSpeech = new TextToSpeech(context, new TextToSpeech.OnInitListener() { in TtsPlatformImpl()
85 mTextToSpeech.setOnUtteranceProgressListener(new UtteranceProgressListener() { in TtsPlatformImpl()
209 mTextToSpeech.setLanguage(new Locale(lang)); in speak()
213 mTextToSpeech.setSpeechRate(rate); in speak()
214 mTextToSpeech.setPitch(pitch); in speak()
220 int result = mTextToSpeech.speak(text, TextToSpeech.QUEUE_FLUSH, params); in speak()
229 if (mInitialized) mTextToSpeech.stop(); in stop()
244 String defaultEngineName = mTextToSpeech.getDefaultEngine(); in initialize()
246 for (TextToSpeech.EngineInfo info : mTextToSpeech.getEngines()) { in initialize()
[all …]