Searched refs:charIndex (Results 1 - 25 of 44) sorted by relevance

12

/external/chromium_org/third_party/WebKit/Source/modules/speech/
H A DSpeechSynthesisEvent.cpp36 PassRefPtr<SpeechSynthesisEvent> SpeechSynthesisEvent::create(const AtomicString& type, unsigned long charIndex, float elapsedTime, const String& name) argument
38 return adoptRef(new SpeechSynthesisEvent(type, charIndex, elapsedTime, name));
46 SpeechSynthesisEvent::SpeechSynthesisEvent(const AtomicString& type, unsigned long charIndex, float elapsedTime, const String& name) argument
48 , m_charIndex(charIndex)
H A DSpeechSynthesisEvent.idl29 readonly attribute unsigned long charIndex;
H A DSpeechSynthesisEvent.h37 static PassRefPtr<SpeechSynthesisEvent> create(const AtomicString& type, unsigned long charIndex, float elapsedTime, const String& name);
39 unsigned long charIndex() const { return m_charIndex; } function in class:WebCore::SpeechSynthesisEvent
47 SpeechSynthesisEvent(const AtomicString& type, unsigned long charIndex, float elapsedTime, const String& name);
H A DSpeechSynthesis.h72 virtual void boundaryEventOccurred(PassRefPtr<PlatformSpeechSynthesisUtterance>, SpeechBoundary, unsigned charIndex) OVERRIDE;
76 void fireEvent(const AtomicString& type, SpeechSynthesisUtterance*, unsigned long charIndex, const String& name);
H A DSpeechSynthesis.cpp137 void SpeechSynthesis::fireEvent(const AtomicString& type, SpeechSynthesisUtterance* utterance, unsigned long charIndex, const String& name) argument
139 utterance->dispatchEvent(SpeechSynthesisEvent::create(type, charIndex, (currentTime() - utterance->startTime()), name));
162 void SpeechSynthesis::boundaryEventOccurred(PassRefPtr<PlatformSpeechSynthesisUtterance> utterance, SpeechBoundary boundary, unsigned charIndex) argument
169 fireEvent(eventNames().boundaryEvent, static_cast<SpeechSynthesisUtterance*>(utterance->client()), charIndex, wordBoundaryString);
172 fireEvent(eventNames().boundaryEvent, static_cast<SpeechSynthesisUtterance*>(utterance->client()), charIndex, sentenceBoundaryString);
/external/chromium_org/third_party/WebKit/public/platform/
H A DWebSpeechSynthesizerClient.h45 virtual void wordBoundaryEventOccurred(const WebSpeechSynthesisUtterance&, unsigned charIndex) = 0;
46 virtual void sentenceBoundaryEventOccurred(const WebSpeechSynthesisUtterance&, unsigned charIndex) = 0;
/external/chromium_org/third_party/WebKit/Source/core/platform/chromium/support/
H A DWebSpeechSynthesizerClientImpl.cpp77 void WebSpeechSynthesizerClientImpl::wordBoundaryEventOccurred(const WebKit::WebSpeechSynthesisUtterance& utterance, unsigned charIndex) argument
79 m_client->boundaryEventOccurred(utterance, SpeechWordBoundary, charIndex);
82 void WebSpeechSynthesizerClientImpl::sentenceBoundaryEventOccurred(const WebKit::WebSpeechSynthesisUtterance& utterance, unsigned charIndex) argument
84 m_client->boundaryEventOccurred(utterance, SpeechSentenceBoundary, charIndex);
H A DWebSpeechSynthesizerClientImpl.h52 virtual void wordBoundaryEventOccurred(const WebKit::WebSpeechSynthesisUtterance&, unsigned charIndex);
53 virtual void sentenceBoundaryEventOccurred(const WebKit::WebSpeechSynthesisUtterance&, unsigned charIndex);
/external/chromium_org/chrome/renderer/resources/extensions/
H A Dtts_custom_bindings.js24 charIndex: event.charIndex,
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/ttsdebug/
H A Dttsdebug.js69 if (evt.charIndex != 0) {
70 errors.push('Error: start event should have a charIndex of 0.');
77 if (evt.charIndex != 30) {
78 errors.push('Error: end event should have a charIndex of 30.');
317 if (evt.charIndex > 0 && evt.charIndex < 62) {
320 if (evt.charIndex < min || evt.charIndex > max) {
321 errors.push('Got word at charIndex ' + evt.charIndex
[all...]
/external/proguard/src/proguard/classfile/constant/
H A DUtf8Constant.java254 int charIndex = 0;
267 chars[charIndex++] =
279 throw new UnsupportedEncodingException("Missing UTF-8 bytes after initial byte [0x"+Integer.toHexString(b)+"] in string ["+new String(chars, 0, charIndex)+"]");
283 return new String(chars, 0, charIndex);
/external/icu4c/layout/
H A DMPreFixups.cpp89 le_int32 charIndex = glyphStorage.getCharIndex(mpreLimit + i, success); local
92 glyphStorage.setCharIndex(mpreIndex + i, charIndex, success);
H A DLEGlyphStorage.h398 * @param charIndex the new char index
403 void setCharIndex(le_int32 glyphIndex, le_int32 charIndex, LEErrorCode &success);
/external/chromium_org/third_party/WebKit/Source/core/platform/
H A DPlatformSpeechSynthesizer.h54 virtual void boundaryEventOccurred(PassRefPtr<PlatformSpeechSynthesisUtterance>, SpeechBoundary, unsigned charIndex) = 0;
/external/chromium_org/third_party/WebKit/Source/core/platform/graphics/chromium/
H A DFontChromiumWin.cpp218 int charIndex = state.xToCharacter(x); local
222 if (charIndex < 0)
223 charIndex = 0;
224 return charIndex;
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/
H A DLexer.as146 var t:Token = CommonToken.createFromStream(input, state.type, state.channel, state.tokenStartCharIndex, charIndex - 1);
217 public function get charIndex():int {
228 return input.substring(state.tokenStartCharIndex, charIndex-1);
/external/icu4c/layoutex/
H A DParagraphLayout.cpp979 le_int32 ParagraphLayout::previousBreak(le_int32 charIndex) argument
983 while (charIndex < fCharCount &&
984 (u_isWhitespace(fChars[charIndex]) ||
985 u_iscntrl(fChars[charIndex]))) {
986 charIndex += 1;
1003 return fBreakIterator->preceding(charIndex + 1);
1132 le_int32 ParagraphLayout::getCharRun(le_int32 charIndex) argument
1134 if (charIndex < 0 || charIndex > fCharCount) {
1144 while (charIndex >
[all...]
/external/chromium_org/chrome/browser/ui/cocoa/extensions/
H A Dextension_installed_bubble_controller.h120 atIndex:(NSUInteger)charIndex;
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/ttsdemo/
H A Dttsdemo.js73 text.setSelectionRange(0, event.charIndex);
/external/chromium_org/third_party/icu/source/common/unicode/
H A Dubidi.h1293 * @param charIndex is the index of a character within the text, in the
1304 * <code>charIndex</code>.
1320 ubidi_getParagraph(const UBiDi *pBiDi, int32_t charIndex, int32_t *pParaStart,
1361 * @param charIndex the index of a character. It must be in the range
1364 * @return The level for the character at charIndex (0 if charIndex is not
1372 ubidi_getLevelAt(const UBiDi *pBiDi, int32_t charIndex);
1816 * <li>maximum value of the <code>charIndex</code> argument of
1818 * <li>maximum value of the <code>charIndex</code> argument of
/external/chromium_org/third_party/icu/source/test/letest/
H A Dcletest.c636 le_int32 charIndex = 0, lineNumber = 1; local
678 if (ix != charIndex) {
679 if (ix != charIndex - 1) {
681 i, lineNumber, charIndex, ix);
685 charIndex += 1;
694 * is equal to charIndex and then advance charIndex to the maximum.
710 if (minIndex != charIndex) {
712 run, lineNumber, charIndex, minIndex);
716 charIndex
[all...]
H A Dletest.cpp872 le_int32 charIndex = 0, lineNumber = 1; local
908 if (ix != charIndex) {
909 if (ix != charIndex - 1) {
911 i, lineNumber, charIndex, ix);
915 charIndex += 1;
924 * is equal to charIndex and then advance charIndex to the maximum.
940 if (minIndex != charIndex) {
942 run, lineNumber, charIndex, minIndex);
946 charIndex
[all...]
/external/icu4c/common/unicode/
H A Dubidi.h1383 * @param charIndex is the index of a character within the text, in the
1394 * <code>charIndex</code>.
1410 ubidi_getParagraph(const UBiDi *pBiDi, int32_t charIndex, int32_t *pParaStart,
1451 * @param charIndex the index of a character. It must be in the range
1454 * @return The level for the character at charIndex (0 if charIndex is not
1462 ubidi_getLevelAt(const UBiDi *pBiDi, int32_t charIndex);
1906 * <li>maximum value of the <code>charIndex</code> argument of
1908 * <li>maximum value of the <code>charIndex</code> argument of
/external/icu4c/layoutex/layout/
H A DParagraphLayout.h591 le_int32 getCharRun(le_int32 charIndex);
595 le_int32 previousBreak(le_int32 charIndex);
/external/icu4c/test/letest/
H A Dcletest.c636 le_int32 charIndex = 0, lineNumber = 1; local
678 if (ix != charIndex) {
679 if (ix != charIndex - 1) {
681 i, lineNumber, charIndex, ix);
685 charIndex += 1;
694 * is equal to charIndex and then advance charIndex to the maximum.
710 if (minIndex != charIndex) {
712 run, lineNumber, charIndex, minIndex);
716 charIndex
[all...]

Completed in 1731 milliseconds

12