HomeSort by relevance Sort by last modified time
    Searched refs:utterance (Results 1 - 25 of 61) sorted by null

1 2 3

  /external/chromium_org/third_party/WebKit/Source/platform/exported/
WebSpeechSynthesizerClientImpl.cpp 52 void WebSpeechSynthesizerClientImpl::didStartSpeaking(const blink::WebSpeechSynthesisUtterance& utterance)
54 m_client->didStartSpeaking(utterance);
57 void WebSpeechSynthesizerClientImpl::didFinishSpeaking(const blink::WebSpeechSynthesisUtterance& utterance)
59 m_client->didFinishSpeaking(utterance);
62 void WebSpeechSynthesizerClientImpl::didPauseSpeaking(const blink::WebSpeechSynthesisUtterance& utterance)
64 m_client->didPauseSpeaking(utterance);
67 void WebSpeechSynthesizerClientImpl::didResumeSpeaking(const blink::WebSpeechSynthesisUtterance& utterance)
69 m_client->didResumeSpeaking(utterance);
72 void WebSpeechSynthesizerClientImpl::speakingErrorOccurred(const blink::WebSpeechSynthesisUtterance& utterance)
74 m_client->speakingErrorOccurred(utterance);
    [all...]
WebSpeechSynthesisUtterance.cpp 38 WebSpeechSynthesisUtterance::WebSpeechSynthesisUtterance(WebCore::PlatformSpeechSynthesisUtterance* utterance)
39 : m_private(utterance)
43 WebSpeechSynthesisUtterance& WebSpeechSynthesisUtterance::operator=(WebCore::PlatformSpeechSynthesisUtterance* utterance)
45 m_private = utterance;
  /external/chromium_org/third_party/WebKit/Source/modules/speech/
SpeechSynthesis.cpp 83 // If we have a current speech utterance, then that means we're assumed to be in a speaking state.
84 // This state is independent of whether the utterance happens to be paused.
102 SpeechSynthesisUtterance* utterance = currentSpeechUtterance(); local
103 ASSERT(utterance);
105 utterance->setStartTime(monotonicallyIncreasingTime());
107 m_platformSpeechSynthesizer->speak(utterance->platformUtterance());
110 void SpeechSynthesis::speak(SpeechSynthesisUtterance* utterance, ExceptionState& exceptionState)
112 if (!utterance) {
113 exceptionState.throwTypeError("Invalid utterance argument");
117 m_utteranceQueue.append(utterance);
    [all...]
SpeechSynthesis.idl 35 [RaisesException] void speak(SpeechSynthesisUtterance utterance);
  /external/chromium_org/chrome/browser/speech/extension_api/
tts_engine_extension_api.h 14 class Utterance;
35 // manifest that matches the speech parameters of this utterance.
39 bool GetMatchingExtensionVoice(Utterance* utterance,
43 // Speak the given utterance by sending an event to the given TTS engine
45 void ExtensionTtsEngineSpeak(Utterance* utterance,
48 // Stop speaking the given utterance by sending an event to the extension
49 // associated with this utterance.
50 void ExtensionTtsEngineStop(Utterance* utterance)
    [all...]
tts_extension_api.cc 82 // One of these is constructed for each utterance, and deleted
83 // when the utterance gets any final event.
88 virtual void OnTtsEvent(Utterance* utterance,
94 void TtsExtensionEventHandler::OnTtsEvent(Utterance* utterance,
98 if (utterance->src_id() < 0) {
99 if (utterance->finished())
105 utterance->desired_event_types();
108 if (utterance->finished()
266 Utterance* utterance = new Utterance(GetProfile()); local
    [all...]
tts_engine_extension_api.cc 129 void ExtensionTtsEngineSpeak(Utterance* utterance, const VoiceData& voice) {
131 // utterance around and track it. If not, we're finished with this
132 // utterance now.
136 args->Set(0, base::Value::CreateStringValue(utterance->text()));
141 utterance->options()->DeepCopy()));
164 args->Set(2, base::Value::CreateIntegerValue(utterance->id()));
168 event->restrict_to_browser_context = utterance->profile();
169 EventRouter::Get(utterance->profile())
170 ->DispatchEventToExtension(utterance->extension_id(), event.Pass())
    [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/chrome/browser/speech/
tts_controller.cc 68 // Utterance
72 int Utterance::next_utterance_id_ = 0;
74 Utterance::Utterance(Profile* profile)
85 Utterance::~Utterance() {
89 void Utterance::OnTtsEvent(TtsEventType event_type,
103 void Utterance::Finish() {
107 void Utterance::set_options(const base::Value* options) {
136 void TtsController::SpeakOrEnqueue(Utterance* utterance)
331 Utterance* utterance = utterance_queue_.front(); local
344 Utterance* utterance = utterance_queue_.front(); local
    [all...]
tts_message_filter.cc 82 scoped_ptr<Utterance> utterance(new Utterance(profile_));
83 utterance->set_src_id(request.id);
84 utterance->set_text(request.text);
85 utterance->set_lang(request.lang);
86 utterance->set_voice_name(request.voice);
87 utterance->set_can_enqueue(true);
93 utterance->set_continuous_parameters(params);
95 utterance->set_event_delegate(this->AsWeakPtr())
    [all...]
tts_platform.h 28 // Speak the given utterance with the given parameters if possible,
29 // and return true on success. Utterance will always be nonempty.
32 // The TtsController will only try to speak one utterance at
37 const std::string& utterance,
52 // Pause the current utterance, if any, until a call to Resume,
56 // Resume speaking the current utterance, if it was paused.
61 virtual void WillSpeakUtteranceWithVoice(const Utterance* utterance,
tts_platform.cc 25 void TtsPlatformImpl::WillSpeakUtteranceWithVoice(const Utterance* utterance,
tts_message_filter.h 32 virtual void OnTtsEvent(Utterance* utterance,
47 void OnSpeak(const TtsUtteranceRequest& utterance);
  /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;
  /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,
  /frameworks/base/core/java/android/speech/tts/
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();
  /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.
  /external/chromium_org/content/browser/speech/
google_one_shot_remote_engine_unittest.cc 83 "[{\"utterance\":\"123456\",\"confidence\":0.9}]}");
86 EXPECT_EQ(base::ASCIIToUTF16("123456"), result().hypotheses[0].utterance);
92 "{\"utterance\":\"hello\",\"confidence\":0.9},"
93 "{\"utterance\":\"123456\",\"confidence\":0.5}]}");
96 EXPECT_EQ(base::ASCIIToUTF16("hello"), result().hypotheses[0].utterance);
98 EXPECT_EQ(base::ASCIIToUTF16("123456"), result().hypotheses[1].utterance);

Completed in 635 milliseconds

1 2 3