Searched refs:mTextToSpeech (Results 1 – 2 of 2) sorted by relevance
48 private TextToSpeechWrapper mTextToSpeech; field in AccessibilityInjector231 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 …]
63 private final TextToSpeech mTextToSpeech; field in TtsPlatformImpl72 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 …]