/external/chromium_org/third_party/WebKit/Source/platform/exported/ |
WebSpeechSynthesizerClientImpl.cpp | 52 void WebSpeechSynthesizerClientImpl::didStartSpeaking(const WebSpeechSynthesisUtterance& utterance) 54 m_client->didStartSpeaking(utterance); 57 void WebSpeechSynthesizerClientImpl::didFinishSpeaking(const WebSpeechSynthesisUtterance& utterance) 59 m_client->didFinishSpeaking(utterance); 62 void WebSpeechSynthesizerClientImpl::didPauseSpeaking(const WebSpeechSynthesisUtterance& utterance) 64 m_client->didPauseSpeaking(utterance); 67 void WebSpeechSynthesizerClientImpl::didResumeSpeaking(const WebSpeechSynthesisUtterance& utterance) 69 m_client->didResumeSpeaking(utterance); 72 void WebSpeechSynthesizerClientImpl::speakingErrorOccurred(const WebSpeechSynthesisUtterance& utterance) 74 m_client->speakingErrorOccurred(utterance); [all...] |
WebSpeechSynthesisUtterance.cpp | 36 WebSpeechSynthesisUtterance::WebSpeechSynthesisUtterance(PlatformSpeechSynthesisUtterance* utterance) 37 : m_private(utterance) 41 WebSpeechSynthesisUtterance& WebSpeechSynthesisUtterance::operator=(PlatformSpeechSynthesisUtterance* utterance) 43 m_private = utterance;
|
/external/chromium_org/third_party/WebKit/Source/modules/speech/ |
SpeechSynthesis.cpp | 82 // If we have a current speech utterance, then that means we're assumed to be in a speaking state. 83 // This state is independent of whether the utterance happens to be paused. 101 SpeechSynthesisUtterance* utterance = currentSpeechUtterance(); local 102 ASSERT(utterance); 104 utterance->setStartTime(monotonicallyIncreasingTime()); 106 m_platformSpeechSynthesizer->speak(utterance->platformUtterance()); 109 void SpeechSynthesis::speak(SpeechSynthesisUtterance* utterance, ExceptionState& exceptionState) 111 if (!utterance) { 112 exceptionState.throwTypeError("Invalid utterance argument"); 116 m_utteranceQueue.append(utterance); [all...] |
SpeechSynthesis.idl | 34 [RaisesException] void speak(SpeechSynthesisUtterance utterance);
|
/external/chromium_org/chrome/renderer/ |
tts_dispatcher.cc | 65 TtsUtteranceRequest utterance; local 66 utterance.id = id; 67 utterance.text = web_utterance.text().utf8(); 68 utterance.lang = web_utterance.lang().utf8(); 69 utterance.voice = web_utterance.voice().utf8(); 70 utterance.volume = web_utterance.volume(); 71 utterance.rate = web_utterance.rate(); 72 utterance.pitch = web_utterance.pitch(); 73 RenderThread::Get()->Send(new TtsHostMsg_Speak(utterance)); 113 WebSpeechSynthesisUtterance utterance = FindUtterance(utterance_id) 121 WebSpeechSynthesisUtterance utterance = FindUtterance(utterance_id); local 130 WebSpeechSynthesisUtterance utterance = FindUtterance(utterance_id); local 138 WebSpeechSynthesisUtterance utterance = FindUtterance(utterance_id); local 148 WebSpeechSynthesisUtterance utterance = FindUtterance(utterance_id); local 159 WebSpeechSynthesisUtterance utterance = FindUtterance(utterance_id); local 172 WebSpeechSynthesisUtterance utterance = FindUtterance(utterance_id); local 182 WebSpeechSynthesisUtterance utterance = FindUtterance(utterance_id); local 193 WebSpeechSynthesisUtterance utterance = FindUtterance(utterance_id); local [all...] |
/external/chromium_org/chrome/browser/speech/ |
tts_controller_impl.cc | 62 // Utterance 66 int Utterance::next_utterance_id_ = 0; 68 Utterance::Utterance(content::BrowserContext* browser_context) 79 Utterance::~Utterance() { 83 void Utterance::OnTtsEvent(TtsEventType event_type, 97 void Utterance::Finish() { 101 void Utterance::set_options(const base::Value* options) { 135 void TtsControllerImpl::SpeakOrEnqueue(Utterance* utterance) 347 Utterance* utterance = utterance_queue_.front(); local 355 Utterance* utterance = utterance_queue_.front(); local [all...] |
tts_message_filter.cc | 86 scoped_ptr<Utterance> utterance(new Utterance(browser_context_)); 87 utterance->set_src_id(request.id); 88 utterance->set_text(request.text); 89 utterance->set_lang(request.lang); 90 utterance->set_voice_name(request.voice); 91 utterance->set_can_enqueue(true); 97 utterance->set_continuous_parameters(params); 99 utterance->set_event_delegate(weak_ptr_factory_.GetWeakPtr()) [all...] |
tts_platform.h | 29 // Speak the given utterance with the given parameters if possible, 30 // and return true on success. Utterance will always be nonempty. 33 // The TtsController will only try to speak one utterance at 38 const std::string& utterance, 53 // Pause the current utterance, if any, until a call to Resume, 57 // Resume speaking the current utterance, if it was paused. 62 virtual void WillSpeakUtteranceWithVoice(const Utterance* utterance,
|
tts_platform.cc | 26 void TtsPlatformImpl::WillSpeakUtteranceWithVoice(const Utterance* utterance,
|
tts_message_filter.h | 34 virtual void OnTtsEvent(Utterance* utterance, 49 void OnSpeak(const TtsUtteranceRequest& utterance);
|
tts_controller_impl.h | 33 virtual void SpeakOrEnqueue(Utterance* utterance) OVERRIDE; 61 // Start speaking the given utterance. Will either take ownership of 62 // |utterance| or delete it if there's an error. Returns true on success. 63 void SpeakNow(Utterance* utterance); 65 // Clear the utterance queue. If send_events is true, will send 69 // Finalize and delete the current utterance. 72 // Start speaking the next utterance in the queue. 75 // Given an utterance and a vector of voices, return th [all...] |
/external/chromium_org/chrome/browser/speech/extension_api/ |
tts_engine_extension_api.h | 14 class Utterance; 43 virtual void Speak(Utterance* utterance, const VoiceData& voice) OVERRIDE; 44 virtual void Stop(Utterance* utterance) OVERRIDE; 45 virtual void Pause(Utterance* utterance) OVERRIDE; 46 virtual void Resume(Utterance* utterance) OVERRIDE;
|
tts_extension_api.cc | 83 // One of these is constructed for each utterance, and deleted 84 // when the utterance gets any final event. 89 virtual void OnTtsEvent(Utterance* utterance, 95 void TtsExtensionEventHandler::OnTtsEvent(Utterance* utterance, 99 if (utterance->src_id() < 0) { 100 if (utterance->finished()) 106 utterance->desired_event_types(); 109 if (utterance->finished() 267 Utterance* utterance = new Utterance(GetProfile()); local [all...] |
tts_engine_extension_api.cc | 140 void TtsExtensionEngine::Speak(Utterance* utterance, 143 // utterance around and track it. If not, we're finished with this 144 // utterance now. 148 args->AppendString(utterance->text()); 153 utterance->options()->DeepCopy())); 176 args->AppendInteger(utterance->id()); 180 Profile* profile = Profile::FromBrowserContext(utterance->browser_context()); 183 ->DispatchEventToExtension(utterance->extension_id(), event.Pass()); 186 void TtsExtensionEngine::Stop(Utterance* utterance) [all...] |
/external/chromium_org/content/public/common/ |
speech_recognition_result.h | 17 base::string16 utterance; member in struct:content::SpeechRecognitionHypothesis 24 : utterance(utterance_value),
|
/external/chromium_org/chrome/common/extensions/docs/examples/api/ttsEngine/console_tts_engine/ |
console_tts_engine.js | 40 function logUtterance(utterance, index, sendTtsEvent) { 41 if (index == utterance.length) { 42 sendTtsEvent({'type': 'end', 'charIndex': utterance.length}); 46 appendText(utterance[index]); 48 if (utterance[index] == ' ') { 51 else if (utterance[index] == '.' || 52 utterance[index] == '?' || 53 utterance[index] == '!') { 58 logUtterance(utterance, ++index, sendTtsEvent) 62 var speakListener = function(utterance, options, sendTtsEvent) [all...] |
/external/chromium_org/chrome/browser/chromeos/accessibility/ |
speech_monitor.cc | 42 const std::string& utterance, 49 static_cast<int>(utterance.size()), 74 void SpeechMonitor::WillSpeakUtteranceWithVoice(const Utterance* utterance, 76 utterance_queue_.push_back(utterance->text());
|
speech_monitor.h | 18 // block until the next utterance is spoken. 24 // Blocks until the next utterance is spoken, and returns its text. 27 // Wait for next utterance and return true if next utterance is ChromeVox 35 const std::string& utterance, 48 const Utterance* utterance, const VoiceData& voice_data) OVERRIDE;
|
spoken_feedback_browsertest.cc | 147 const std::string& utterance = speech_monitor_.GetNextUtterance(); local 148 if (utterance == expected_utterance) 201 std::string utterance = speech_monitor_.GetNextUtterance(); local 202 VLOG(0) << "Got utterance: " << utterance; 203 if (utterance == "Bookmarks,") 278 std::string utterance = speech_monitor_.GetNextUtterance(); local 279 VLOG(0) << "Got utterance: " << utterance; 280 if (utterance == "text box" 301 std::string utterance = speech_monitor_.GetNextUtterance(); local 317 std::string utterance = speech_monitor_.GetNextUtterance(); local 337 std::string utterance = speech_monitor_.GetNextUtterance(); local [all...] |
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/speak_selection/ |
background.js | 18 function speak(utterance) { 19 if (speaking && utterance == lastUtterance) { 25 lastUtterance = utterance; 36 utterance,
|
/development/samples/ApiDemos/src/com/example/android/apis/accessibility/ |
TaskBackService.java | 124 StringBuilder utterance = new StringBuilder(taskStr); local 133 utterance.append(SEPARATOR); 134 utterance.append(contentDescription); 138 // Announce the utterance. 139 mTts.speak(utterance.toString(), TextToSpeech.QUEUE_FLUSH, null); 140 Log.d(LOG_TAG, utterance.toString());
|
ClockBackService.java | 132 * The queuing mode we are using - interrupt a spoken utterance before 229 String utterance = (String) message.obj; 230 mTts.speak(utterance, QUEUING_MODE_INTERRUPT, null); 301 String utterance = generateScreenOnOrOffUtternace(feedbackIndex); 302 mHandler.obtainMessage(MESSAGE_SPEAK, utterance).sendToTarget(); 373 * Generates an utterance for announcing screen on and screen off. 376 * @return The utterance. 518 * Formats an utterance from an {@link AccessibilityEvent}. 520 * @param event The event from which to format an utterance. 521 * @return The formatted utterance 524 StringBuilder utterance = mUtterance; local [all...] |
/external/chromium_org/chrome/browser/resources/network_speech_synthesis/ |
tts_extension.js | 50 * The arguments passed to the onSpeak event handler for the utterance 54 * @type {?{utterance: string, options: Object, callback: Function}} 108 * url for the requested speech utterance. Sets that url as the source 110 * @param {string} utterance The text to be spoken. 115 onSpeak_: function(utterance, options, callback) { 116 // Truncate the utterance if it's too long. Both Chrome's tts 118 // maximum limit for an utterance. 119 if (utterance.length > 32768) 120 utterance = utterance.substr(0, 32768) [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/speech/ |
PlatformSpeechSynthesizer.cpp | 57 void PlatformSpeechSynthesizer::speak(PlatformSpeechSynthesisUtterance* utterance) 62 m_webSpeechSynthesizer->speak(blink::WebSpeechSynthesisUtterance(utterance));
|
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/host/interface/ |
tts_interface.js | 17 * An interface for clients who want to get notified when an utterance 23 * Called when any utterance starts. 28 * Called when any utterance ends. 43 * @param {Object=} properties Speech properties to use for this utterance. 63 * Adds a listener to get called whenever any utterance starts or ends.
|