/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...] |
/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();
|
/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...] |
/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/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/chromeos/accessibility/ |
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/browser/speech/extension_api/ |
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...] |
/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...] |
/external/chromium_org/content/browser/speech/ |
google_one_shot_remote_engine.cc | 32 const char* const kUtteranceString = "utterance"; 125 base::string16 utterance; local 127 if (!hypothesis_value->GetString(kUtteranceString, &utterance)) { 128 LOG(WARNING) << "ParseServerResponse: Missing utterance value."; 135 result->hypotheses.push_back(SpeechRecognitionHypothesis(utterance,
|
/external/srec/srec/Recognizer/include/ |
SR_RecognizerImpl.h | 181 * Legacy CREC Utterance object. 183 CA_Utterance* utterance; member in struct:SR_RecognizerImpl_t
|
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/ |
GlowPadView.java | 1237 StringBuilder utterance = new StringBuilder(); local [all...] |
/packages/apps/InCallUI/src/com/android/incallui/widget/multiwaveview/ |
GlowPadView.java | 1208 StringBuilder utterance = new StringBuilder(); local [all...] |