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/core/platform/chromium/support/
WebSpeechSynthesizerClientImpl.cpp 52 void WebSpeechSynthesizerClientImpl::didStartSpeaking(const WebKit::WebSpeechSynthesisUtterance& utterance)
54 m_client->didStartSpeaking(utterance);
57 void WebSpeechSynthesizerClientImpl::didFinishSpeaking(const WebKit::WebSpeechSynthesisUtterance& utterance)
59 m_client->didFinishSpeaking(utterance);
62 void WebSpeechSynthesizerClientImpl::didPauseSpeaking(const WebKit::WebSpeechSynthesisUtterance& utterance)
64 m_client->didPauseSpeaking(utterance);
67 void WebSpeechSynthesizerClientImpl::didResumeSpeaking(const WebKit::WebSpeechSynthesisUtterance& utterance)
69 m_client->didResumeSpeaking(utterance);
72 void WebSpeechSynthesizerClientImpl::speakingErrorOccurred(const WebKit::WebSpeechSynthesisUtterance& utterance)
74 m_client->speakingErrorOccurred(utterance);
    [all...]
WebSpeechSynthesisUtterance.cpp 38 WebSpeechSynthesisUtterance::WebSpeechSynthesisUtterance(const PassRefPtr<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 76 // If we have a current speech utterance, then that means we're assumed to be in a speaking state.
77 // This state is independent of whether the utterance happens to be paused.
93 void SpeechSynthesis::startSpeakingImmediately(SpeechSynthesisUtterance* utterance)
96 utterance->setStartTime(monotonicallyIncreasingTime());
97 m_currentSpeechUtterance = utterance;
99 m_platformSpeechSynthesizer->speak(utterance->platformUtterance());
102 void SpeechSynthesis::speak(SpeechSynthesisUtterance* utterance)
104 m_utteranceQueue.append(utterance);
108 startSpeakingImmediately(utterance);
113 // Remove all the items from the utterance queue
    [all...]
SpeechSynthesis.idl 34 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 81 // One of these is constructed for each utterance, and deleted
82 // when the utterance gets any final event.
85 virtual void OnTtsEvent(Utterance* utterance,
91 void TtsExtensionEventHandler::OnTtsEvent(Utterance* utterance,
95 if (utterance->src_id() < 0)
99 utterance->desired_event_types();
113 details->SetInteger(constants::kSrcIdKey, utterance->src_id());
114 details->SetBoolean(constants::kIsFinalEventKey, utterance->finished())
259 Utterance* utterance = new Utterance(profile()); local
    [all...]
tts_engine_extension_api.cc 120 void ExtensionTtsEngineSpeak(Utterance* utterance, const VoiceData& voice) {
122 // utterance around and track it. If not, we're finished with this
123 // utterance now.
127 args->Set(0, Value::CreateStringValue(utterance->text()));
132 utterance->options()->DeepCopy()));
147 args->Set(2, Value::CreateIntegerValue(utterance->id()));
151 event->restrict_to_profile = utterance->profile();
152 ExtensionSystem::Get(utterance->profile())->event_router()->
153 DispatchEventToExtension(utterance->extension_id(), event.Pass())
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/page/
SpeechInputResult.cpp 33 PassRefPtr<SpeechInputResult> SpeechInputResult::create(const String& utterance, double confidence)
35 return adoptRef(new SpeechInputResult(utterance, confidence));
43 SpeechInputResult::SpeechInputResult(const String& utterance, double confidence)
44 : m_utterance(utterance)
55 const String& SpeechInputResult::utterance() const function in class:WebCore::SpeechInputResult
SpeechInputResult.h 43 static PassRefPtr<SpeechInputResult> create(const String& utterance, double confidence);
46 const String& utterance() const;
49 SpeechInputResult(const String& utterance, double confidence);
SpeechInputResult.idl 30 readonly attribute DOMString utterance;
  /external/chromium_org/chrome/renderer/
tts_dispatcher.cc 64 TtsUtteranceRequest utterance; local
65 utterance.id = id;
66 utterance.text = web_utterance.text().utf8();
67 utterance.lang = web_utterance.lang().utf8();
68 utterance.voice = web_utterance.voice().utf8();
69 utterance.volume = web_utterance.volume();
70 utterance.rate = web_utterance.rate();
71 utterance.pitch = web_utterance.pitch();
72 RenderThread::Get()->Send(new TtsHostMsg_Speak(utterance));
112 WebSpeechSynthesisUtterance utterance = FindUtterance(utterance_id)
120 WebSpeechSynthesisUtterance utterance = FindUtterance(utterance_id); local
129 WebSpeechSynthesisUtterance utterance = FindUtterance(utterance_id); local
137 WebSpeechSynthesisUtterance utterance = FindUtterance(utterance_id); local
147 WebSpeechSynthesisUtterance utterance = FindUtterance(utterance_id); local
158 WebSpeechSynthesisUtterance utterance = FindUtterance(utterance_id); local
171 WebSpeechSynthesisUtterance utterance = FindUtterance(utterance_id); local
181 WebSpeechSynthesisUtterance utterance = FindUtterance(utterance_id); local
192 WebSpeechSynthesisUtterance utterance = FindUtterance(utterance_id); local
    [all...]
  /external/chromium_org/chrome/browser/speech/
tts_message_filter.cc 73 scoped_ptr<Utterance> utterance(new Utterance(profile_));
74 utterance->set_src_id(request.id);
75 utterance->set_text(request.text);
76 utterance->set_lang(request.lang);
77 utterance->set_voice_name(request.voice);
78 utterance->set_can_enqueue(true);
84 utterance->set_continuous_parameters(params);
86 utterance->set_event_delegate(this)
    [all...]
tts_controller.cc 66 // Utterance
70 int Utterance::next_utterance_id_ = 0;
72 Utterance::Utterance(Profile* profile)
83 Utterance::~Utterance() {
87 void Utterance::OnTtsEvent(TtsEventType event_type,
101 void Utterance::Finish() {
105 void Utterance::set_options(const Value* options) {
134 void TtsController::SpeakOrEnqueue(Utterance* utterance)
304 Utterance* utterance = utterance_queue_.front(); local
317 Utterance* utterance = utterance_queue_.front(); local
    [all...]
tts_message_filter.h 30 virtual void OnTtsEvent(Utterance* utterance,
42 void OnSpeak(const TtsUtteranceRequest& utterance);
  /external/chromium/chrome/browser/extensions/
extension_tts_api.cc 20 const char kSpeechInterruptedError[] = "Utterance interrupted.";
21 const char kSpeechRemovedFromQueueError[] = "Utterance removed from queue.";
47 // Utterance
51 int Utterance::next_utterance_id_ = 0;
53 Utterance::Utterance(Profile* profile,
101 Utterance::~Utterance() {
105 void Utterance::FinishAndDestroy() {
131 void ExtensionTtsController::SpeakOrEnqueue(Utterance* utterance)
289 Utterance* utterance = utterance_queue_.front(); local
297 Utterance* utterance = utterance_queue_.front(); local
    [all...]
extension_tts_api_win.cc 22 const std::string& utterance,
60 std::wstring utterance = UTF8ToUTF16(src_utterance); local
79 utterance = L"<pitch absmiddle=\"" + pitch_value + L"\">" +
80 utterance + L"</pitch>";
93 utterance.c_str(), SPF_ASYNC | SPF_PURGEBEFORESPEAK, NULL);
extension_tts_api.h 21 // Speak the given utterance with the given parameters if possible,
22 // and return true on success. Utterance will always be nonempty.
26 // The ExtensionTtsController will only try to speak one utterance at
31 const std::string& utterance,
57 // One speech utterance.
58 class Utterance {
60 // Construct an utterance given a profile, the text to speak,
62 // when the utterance is done speaking.
63 Utterance(Profile* profile,
67 ~Utterance();
    [all...]
extension_tts_api_linux.cc 19 const std::string& utterance,
  /external/chromium_org/content/public/common/
speech_recognition_result.h 17 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/third_party/WebKit/Source/web/
WebSpeechInputResult.cpp 46 void WebSpeechInputResult::assign(const WebString& utterance, double confidence)
48 m_private = WebCore::SpeechInputResult::create(utterance, confidence);
  /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/third_party/WebKit/Source/core/platform/chromium/
PlatformSpeechSynthesizerChromium.cpp 62 void PlatformSpeechSynthesizer::speak(PassRefPtr<PlatformSpeechSynthesisUtterance> utterance)
67 m_webSpeechSynthesizer->speak(WebKit::WebSpeechSynthesisUtterance(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());
  /frameworks/base/core/java/android/speech/tts/
EventLogger.java 24 * The data that is logged includes the calling app, length of the utterance,
135 // the length of the utterance).
151 * @return the length of the utterance for the given synthesis, 0
152 * if the utterance was {@code null}.
155 final String utterance = mRequest.getText(); local
156 return utterance == null ? 0 : utterance.length();

Completed in 339 milliseconds

1 2 3