HomeSort by relevance Sort by last modified time
    Searched defs:utterance (Results 1 - 14 of 14) sorted by null

  /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/chrome/browser/chromeos/accessibility/
spoken_feedback_browsertest.cc 111 std::string utterance = monitor.GetNextUtterance(); local
112 VLOG(0) << "Got utterance: " << utterance;
113 if (utterance == "Bookmarks,")
189 std::string utterance = monitor.GetNextUtterance(); local
190 VLOG(0) << "Got utterance: " << utterance;
191 if (utterance == "text box")
  /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...]
  /external/chromium_org/chrome/browser/speech/extension_api/
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...]
  /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...]
  /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 1209 StringBuilder utterance = new StringBuilder(); local
    [all...]

Completed in 475 milliseconds