/external/chromium_org/chrome/common/ |
tts_messages.h | 47 int /* utterance id */) 49 int /* utterance id */) 51 int /* utterance id */) 53 int /* utterance id */) 55 int /* utterance id */, 58 int /* utterance id */, 61 int /* utterance id */, 64 int /* utterance id */) 66 int /* utterance id */) 68 int /* utterance id */ [all...] |
/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...] |
/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/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_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...] |
tts_controller.h | 18 class Utterance; 49 // Returns true if this event type is one that indicates an utterance 53 // The continuous parameters that apply to a given utterance. 92 // Speak the given utterance by sending an event to the given TTS engine. 93 virtual void Speak(Utterance* utterance, const VoiceData& voice) = 0; 95 // Stop speaking the given utterance by sending an event to the target 96 // associated with this utterance. 97 virtual void Stop(Utterance* utterance) = 0 [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.cc | 26 void TtsPlatformImpl::WillSpeakUtteranceWithVoice(const Utterance* utterance,
|
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_controller_unittest.cc | 23 const std::string& utterance, 52 Utterance* utterance1 = new Utterance(NULL); 57 Utterance* utterance2 = new Utterance(NULL);
|
tts_message_filter.h | 34 virtual void OnTtsEvent(Utterance* utterance, 49 void OnSpeak(const TtsUtteranceRequest& utterance);
|
tts_mac.mm | 28 // Subclass of NSSpeechSynthesizer that takes an utterance 32 // We construct a new NSSpeechSynthesizer for each utterance, for 34 // 1. To associate delegate callbacks with a particular utterance, 37 // where Nuance voices don't retain the utterance string and 45 - (id)initWithUtterance:(NSString*)utterance; 47 - (bool)startSpeakingString:(NSString*)utterance; 59 const std::string& utterance, 107 const std::string& utterance, 112 utterance_ = utterance; 120 // apply to the current utterance or a previous utterance. I [all...] |
/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/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...] |
/external/chromium_org/chrome/browser/chromeos/accessibility/ |
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;
|
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());
|
/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...] |
/frameworks/base/core/java/android/speech/tts/ |
UtteranceProgressListener.java | 6 * Listener for events relating to the progress of an utterance through 7 * the synthesis queue. Each utterance is associated with a call to 9 * associated utterance identifier, as per {@link TextToSpeech.Engine#KEY_PARAM_UTTERANCE_ID}. 15 * Called when an utterance "starts" as perceived by the caller. This will 20 * @param utteranceId the utterance ID of the utterance. 25 * Called when an utterance has successfully completed processing. 31 * @param utteranceId the utterance ID of the utterance. 40 * the same utterance [all...] |
EventLoggerV1.java | 23 * utterance, speech rate / pitch, the latency, and overall time taken. 37 // the length of the utterance). 54 * @return the length of the utterance for the given synthesis, 0 55 * if the utterance was {@code null}. 58 final String utterance = mRequest.getText(); local 59 return utterance == null ? 0 : utterance.length();
|
/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/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/chrome/common/extensions/docs/examples/extensions/speak_selection/ |
background.js | 18 function speak(utterance) { 19 if (speaking && utterance == lastUtterance) { 25 lastUtterance = utterance; 36 utterance,
|
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/testing/ |
spoken_list_builder.js | 23 * Adds an expected flushed utterance to the builder. 34 * Adds an expected queued utterance to the builder. 45 * Adds an expected category-flush utterance to the builder.
|