Home
last modified time | relevance | path

Searched refs:compositionStart (Results 1 – 16 of 16) sorted by relevance

/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/input/
DAdapterInputConnection.java122 public void updateState(String text, int selectionStart, int selectionEnd, int compositionStart, in updateState() argument
126 + compositionStart + " " + compositionEnd + "] [" + requireAck + "]"); in updateState()
135 compositionStart = Math.min(compositionStart, text.length()); in updateState()
148 if (compositionStart == compositionEnd) { in updateState()
151 super.setComposingRegion(compositionStart, compositionEnd); in updateState()
165 int compositionStart = getComposingSpanStart(editable); in updateSelectionIfRequired() local
170 mLastUpdateCompositionStart == compositionStart && in updateSelectionIfRequired()
176 + compositionStart + " " + compositionEnd + "]"); in updateSelectionIfRequired()
181 selectionStart, selectionEnd, compositionStart, compositionEnd); in updateSelectionIfRequired()
184 mLastUpdateCompositionStart = compositionStart; in updateSelectionIfRequired()
[all …]
/external/chromium_org/content/public/android/javatests/src/org/chromium/content/browser/input/
DAdapterInputConnectionTest.java122 int compositionStart, int compositionEnd) { in verifyUpdateSelectionCall() argument
126 assertEquals("Composition start did not match", compositionStart, in verifyUpdateSelectionCall()
127 state.compositionStart); in verifyUpdateSelectionCall()
154 int compositionStart, int compositionEnd, ImeState actual) { in assertCorrectState() argument
158 assertEquals("Composition start did not match", compositionStart, actual.compositionStart); in assertCorrectState()
DImeTest.java317 int compositionStart, int compositionEnd) throws InterruptedException { in waitAndVerifyEditableCallback() argument
325 text, selectionStart, selectionEnd, compositionStart, compositionEnd); in waitAndVerifyEditableCallback()
374 int compositionStart, int compositionEnd, boolean requiredAck) { in updateState() argument
376 compositionStart, compositionEnd)); in updateState()
377 super.updateState(text, selectionStart, selectionEnd, compositionStart, in updateState()
390 int compositionStart, int compositionEnd) { in TestImeState() argument
394 mCompositionStart = compositionStart; in TestImeState()
399 int compositionStart, int compositionEnd) { in assertEqualState() argument
403 assertEquals("Composition start did not match", compositionStart, mCompositionStart); in assertEqualState()
/external/chromium_org/third_party/WebKit/Source/web/
DWebTextInputInfo.cpp42 && compositionStart == other.compositionStart in equals()
DWebViewImpl.h159 …virtual bool setCompositionFromExistingText(int compositionStart, int compositionEnd, const WebVec…
DWebViewImpl.cpp2198 info.compositionStart = plainTextRange.start(); in textInputInfo()
2399 bool WebViewImpl::setCompositionFromExistingText(int compositionStart, int compositionEnd, const We… in setCompositionFromExistingText() argument
2411 if (compositionStart == compositionEnd) in setCompositionFromExistingText()
2414 …tionFromExistingText(CompositionUnderlineVectorBuilder(underlines), compositionStart, compositionE… in setCompositionFromExistingText()
/external/chromium_org/third_party/WebKit/public/web/
DWebTextInputInfo.h49 int compositionStart; member
64 , compositionStart(-1) in WebTextInputInfo()
DWebView.h491 …virtual bool setCompositionFromExistingText(int compositionStart, int compositionEnd, const WebVec…
/external/chromium_org/third_party/WebKit/Source/web/tests/
DWebViewTest.cpp531 EXPECT_EQ(-1, info.compositionStart); in TEST_F()
544 EXPECT_EQ(-1, info.compositionStart); in TEST_F()
564 EXPECT_EQ(0, info.compositionStart); in TEST_F()
571 EXPECT_EQ(-1, info.compositionStart); in TEST_F()
579 EXPECT_EQ(3, info.compositionStart); in TEST_F()
586 EXPECT_EQ(-1, info.compositionStart); in TEST_F()
605 EXPECT_EQ(8, info.compositionStart); in TEST_F()
612 EXPECT_EQ(-1, info.compositionStart); in TEST_F()
620 EXPECT_EQ(-1, info.compositionStart); in TEST_F()
656 EXPECT_EQ(8, info.compositionStart); in TEST_F()
[all …]
/external/chromium_org/third_party/WebKit/Source/core/editing/
DInputMethodController.cpp310 …istingText(const Vector<CompositionUnderline>& underlines, unsigned compositionStart, unsigned com… in setCompositionFromExistingText() argument
325 m_compositionStart = compositionStart; in setCompositionFromExistingText()
330 m_customCompositionUnderlines[i].startOffset += compositionStart; in setCompositionFromExistingText()
331 m_customCompositionUnderlines[i].endOffset += compositionStart; in setCompositionFromExistingText()
340 setSelectionOffsets(PlainTextRange(compositionStart, compositionEnd)); in setCompositionFromExistingText()
DInputMethodController.h55 …itionFromExistingText(const Vector<CompositionUnderline>&, unsigned compositionStart, unsigned com…
73 unsigned compositionStart() const { return m_compositionStart; } in compositionStart() function
/external/chromium_org/third_party/WebKit/Source/core/html/ime/
DInputMethodContext.cpp77 return inputMethodController().compositionStart(); in compositionStartOffset()
131 underline.endOffset = controller.compositionEnd() - controller.compositionStart(); in selectedSegment()
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/
DContentViewCore.java2534 int compositionStart, int compositionEnd, boolean showImeIfNeeded, boolean requireAck) {
2544 mInputConnection.updateState(text, selectionStart, selectionEnd, compositionStart,
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DInlineTextBox.cpp642 renderer()->frame()->inputMethodController().compositionStart(), in paint()
/external/chromium_org/content/renderer/
Drender_view_browsertest.cc1943 EXPECT_EQ(7, info.compositionStart); in TEST_F()
Drender_widget.cc2527 p.composition_start = new_info.compositionStart; in UpdateTextInputState()