HomeSort by relevance Sort by last modified time
    Searched refs:selectionStart (Results 1 - 25 of 77) sorted by null

1 2 3 4

  /external/chromium_org/third_party/WebKit/Source/core/html/ime/
Composition.h 50 int selectionStart() const { return m_selectionStart; }
51 void setSelectionStart(int selectionStart) { selectionStart = m_selectionStart; }
Composition.idl 36 readonly attribute long selectionStart;
  /external/chromium_org/third_party/WebKit/Source/web/
WebTextInputInfo.cpp 40 && selectionStart == other.selectionStart
WebInputElement.cpp 160 int WebInputElement::selectionStart() const
162 return constUnwrap<HTMLInputElement>()->selectionStart();
  /external/chromium_org/third_party/WebKit/public/web/
WebTextInputInfo.h 42 int selectionStart;
62 , selectionStart(0)
WebWidget.h 161 // If selectionStart and selectionEnd has the same value, then it indicates
168 int selectionStart,
WebAccessibilityObject.h 140 WEBKIT_EXPORT unsigned selectionStart() const;
173 WEBKIT_EXPORT void setSelectedTextRange(int selectionStart, int selectionEnd) const;
WebInputElement.h 93 WEBKIT_EXPORT int selectionStart() const;
  /frameworks/base/core/java/android/text/method/
BaseKeyListener.java 101 int selectionStart = Selection.getSelectionStart(content);
103 if (selectionEnd < selectionStart) {
105 selectionEnd = selectionStart;
106 selectionStart = temp;
108 if (selectionStart != selectionEnd) {
109 content.delete(selectionStart, selectionEnd);
183 int selectionStart = Selection.getSelectionStart(content);
185 if (selectionEnd < selectionStart) {
187 selectionEnd = selectionStart;
188 selectionStart = temp
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/editing/
MoveSelectionCommand.cpp 54 Position selectionStart = endingSelection().start();
55 if (selectionStart.anchorType() == Position::PositionIsOffsetInAnchor && selectionStart.containerNode() == pos.containerNode())
56 pos.moveToOffset(pos.offsetInContainerNode() + selectionStart.offsetInContainerNode());
InputMethodController.h 61 void setComposition(const String&, const Vector<CompositionUnderline>&, unsigned selectionStart, unsigned selectionEnd);
  /cts/tests/tests/view/src/android/view/inputmethod/cts/
ExtractedTextTest.java 30 extractedText.selectionStart = 2;
40 assertEquals(extractedText.selectionStart, target.selectionStart);
  /development/samples/ApiDemos/src/com/example/android/apis/app/
PersistentState.java 104 int selectionStart = prefs.getInt("selection-start", -1);
106 if (selectionStart != -1 && selectionEnd != -1) {
107 mSaved.setSelection(selectionStart, selectionEnd);
  /frameworks/base/core/java/android/view/inputmethod/
ExtractedText.java 59 * <var>startOffset</var>+<var>selectionStart</var>.
61 public int selectionStart;
100 dest.writeInt(selectionStart);
116 res.selectionStart = source.readInt();
  /external/chromium_org/content/public/android/java/src/org/chromium/content/browser/input/
AdapterInputConnection.java 110 * @param selectionStart The character offset of the selection start, or the caret
119 public void setEditableText(String text, int selectionStart, int selectionEnd,
122 Log.w(TAG, "setEditableText [" + text + "] [" + selectionStart + " " + selectionEnd
128 selectionStart = Math.min(selectionStart, text.length());
146 if (prevSelectionStart == selectionStart && prevSelectionEnd == selectionEnd
153 Selection.setSelection(editable, selectionStart, selectionEnd);
162 updateSelection(selectionStart, selectionEnd, compositionStart, compositionEnd);
167 int selectionStart, int selectionEnd,
170 if (mLastUpdateSelectionStart == selectionStart &
    [all...]
ImeAdapter.java 210 int selectionStart, int selectionEnd, boolean showIfNeeded) {
229 attach(nativeImeAdapter, textInputType, selectionStart, selectionEnd);
240 public void attach(int nativeImeAdapter, int textInputType, int selectionStart,
247 mInitialSelectionStart = selectionStart;
  /external/chromium_org/third_party/eyesfree/src/android/java/src/com/googlecode/eyesfree/braille/selfbraille/
WriteData.java 31 private static final String PROP_SELECTION_START = "selectionStart";
122 int selectionStart = getSelectionStart();
125 if (selectionStart > 0 || selectionEnd > 0) {
130 if (selectionStart < 0 && selectionEnd >= 0) {
135 if (selectionStart > textLength || selectionEnd > textLength) {
  /external/chromium_org/chrome/common/extensions/docs/examples/extensions/speak_selection/
content_script.js 15 focused.selectionStart, focused.selectionEnd);
  /external/chromium_org/content/public/android/javatests/src/org/chromium/content/browser/input/
ImeTest.java 311 final int index, String text, int selectionStart, int selectionEnd,
320 text, selectionStart, selectionEnd, compositionStart, compositionEnd);
379 public void setEditableText(String text, int selectionStart, int selectionEnd,
381 mImeUpdateQueue.add(new TestImeState(text, selectionStart, selectionEnd,
384 text, selectionStart, selectionEnd, compositionStart, compositionEnd);
389 int selectionStart, int selectionEnd,
402 public TestImeState(String text, int selectionStart, int selectionEnd,
405 mSelectionStart = selectionStart;
411 public void assertEqualState(String text, int selectionStart, int selectionEnd,
414 assertEquals("Selection start did not match", selectionStart, mSelectionStart)
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/
HyperlinksTest.java 301 int selectionStart = selection.x - lineStart;
302 int selectionEnd = selectionStart + selection.y;
303 if (selectionEnd > selectionStart) {
305 text = text.substring(0, selectionStart) + "[^" +
306 text.substring(selectionStart, selectionEnd) + "]" +
309 text = text.substring(0, selectionStart) + "^" +
310 text.substring(selectionStart);
  /external/chromium_org/third_party/WebKit/Source/devtools/front_end/
CodeMirrorTextEditor.js     [all...]
  /cts/tests/tests/text/src/android/text/method/cts/
BaseKeyListenerTest.java 123 final boolean selectInTextView, final int selectionStart, final int selectionEnd) {
130 selectionStart, selectionEnd);
  /external/chromium_org/third_party/WebKit/Source/core/html/
HTMLTextAreaElement.idl 51 attribute long selectionStart;
  /external/chromium_org/third_party/WebKit/Source/web/tests/
WebViewTest.cpp 488 EXPECT_EQ(5, info.selectionStart);
502 EXPECT_EQ(8, info.selectionStart);
523 EXPECT_EQ(3, info.selectionStart);
530 EXPECT_EQ(3, info.selectionStart);
538 EXPECT_EQ(6, info.selectionStart);
545 EXPECT_EQ(8, info.selectionStart);
566 EXPECT_EQ(4, info.selectionStart);
573 EXPECT_EQ(4, info.selectionStart);
581 EXPECT_EQ(5, info.selectionStart);
615 EXPECT_EQ(5, info.selectionStart);
    [all...]
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowTextView.java 49 protected int selectionStart = 0;
85 boolean isSelectStartAtEnd = selectionStart == this.text.length();
95 selectionStart = this.text.length();
493 selectionStart = start;
499 return selectionStart;

Completed in 1691 milliseconds

1 2 3 4