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

1 2 3

  /frameworks/base/core/java/android/text/method/
BaseKeyListener.java 97 int selectionStart = Selection.getSelectionStart(content);
99 if (selectionEnd < selectionStart) {
101 selectionEnd = selectionStart;
102 selectionStart = temp;
104 if (selectionStart != selectionEnd) {
105 content.delete(selectionStart, selectionEnd);
179 int selectionStart = Selection.getSelectionStart(content);
181 if (selectionEnd < selectionStart) {
183 selectionEnd = selectionStart;
184 selectionStart = temp
    [all...]
  /external/webkit/Source/WebCore/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());
  /cts/tests/tests/view/src/android/view/inputmethod/cts/
ExtractedTextTest.java 47 extractedText.selectionStart = 2;
57 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 56 * <var>startOffset</var>+<var>selectionStart</var>.
58 public int selectionStart;
94 dest.writeInt(selectionStart);
109 res.selectionStart = source.readInt();
  /external/webkit/Source/WebKit/chromium/public/
WebWidget.h 100 // If selectionStart and selectionEnd has the same value, then it indicates
107 int selectionStart,
WebInputElement.h 76 WEBKIT_API int selectionStart() const;
  /external/webkit/Source/WebCore/bindings/js/
JSHTMLInputElementCustom.cpp 36 JSValue JSHTMLInputElement::selectionStart(ExecState* exec) const
42 return jsNumber(input->selectionStart());
  /frameworks/base/core/java/android/webkit/
SearchBox.java 52 * no such selection, then both selectionStart and selectionEnd must be the offset
57 void setSelection(int selectionStart, int selectionEnd);
SearchBoxImpl.java 61 + " sb.selectionStart = 0;"
80 + " f.selectionStart = %d"
145 public void setSelection(int selectionStart, int selectionEnd) {
146 final String js = String.format(SET_SELECTION_SCRIPT, selectionStart, selectionEnd);
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/xml/
HyperlinksTest.java 288 int selectionStart = selection.x - lineStart;
289 int selectionEnd = selectionStart + selection.y;
290 if (selectionEnd > selectionStart) {
292 text = text.substring(0, selectionStart) + "[^" +
293 text.substring(selectionStart, selectionEnd) + "]" +
296 text = text.substring(0, selectionStart) + "^" +
297 text.substring(selectionStart);
  /external/webkit/Source/WebCore/html/
HTMLTextAreaElement.idl 49 attribute long selectionStart;
HTMLFormControlElement.h 203 int selectionStart() const;
HTMLInputElement.idl 92 attribute [Custom] long selectionStart;
HTMLFormControlElement.cpp 660 setSelectionRange(min(end, selectionStart()), end);
682 int HTMLTextFormControlElement::selectionStart() const
690 return toRenderTextControl(renderer())->selectionStart();
  /external/webkit/Source/WebKit/chromium/src/
WebInputElement.cpp 133 int WebInputElement::selectionStart() const
135 return constUnwrap<HTMLInputElement>()->selectionStart();
WebPopupMenuImpl.h 76 int selectionStart, int selectionEnd);
  /packages/apps/Contacts/src/com/android/contacts/dialpad/
DialpadFragment.java 616 int selectionStart;
620 selectionStart = mDigits.getSelectionStart();
623 if (selectionStart != -1) {
624 if (selectionStart > selectionEnd) {
626 int tmp = selectionStart;
627 selectionStart = selectionEnd;
631 if (selectionStart != 0) {
636 waitMenuItem.setVisible(showWait(selectionStart, selectionEnd, strDigits));
    [all...]
  /external/webkit/Source/WebCore/rendering/
RenderReplaced.cpp 355 int selectionStart, selectionEnd;
356 selectionStartEnd(selectionStart, selectionEnd);
357 if (s == SelectionStart)
358 return selectionStart == 0;
364 return selectionStart == 0 && selectionEnd == end;
RenderTextControl.h 42 int selectionStart() const;
  /external/webkit/Source/WebCore/bindings/v8/custom/
V8HTMLInputElementCustom.cpp 43 INC_STATS("DOM.HTMLInputElement.selectionStart._get");
48 return throwError("Accessing selectionStart on an input element that cannot have a selection.");
50 int v = imp->selectionStart();
56 INC_STATS("DOM.HTMLInputElement.selectionStart._set");
61 throwError("Accessing selectionStart on an input element that cannot have a selection.");
  /cts/tests/tests/text/src/android/text/method/cts/
BaseKeyListenerTest.java 131 final int selectionStart, final int selectionEnd) {
137 Selection.setSelection((Editable) mTextView.getText(), selectionStart,
  /frameworks/base/core/tests/coretests/src/android/widget/
TextViewWordLimitsTest.java 91 private void verifySelectCurrentWord(Spannable text, int selectionStart, int selectionEnd, int correctStart,
95 Selection.setSelection((Spannable)mTv.getText(), selectionStart, selectionEnd);
  /external/webkit/Source/WebKit2/UIProcess/mac/
WebPageProxyMac.mm 144 void WebPageProxy::setComposition(const String& text, Vector<CompositionUnderline> underlines, uint64_t selectionStart, uint64_t selectionEnd, uint64_t replacementRangeStart, uint64_t replacementRangeEnd)
146 process()->sendSync(Messages::WebPage::SetComposition(text, underlines, selectionStart, selectionEnd, replacementRangeStart, replacementRangeEnd), Messages::WebPage::SetComposition::Reply(m_editorState), m_pageID);
  /external/webkit/Source/WebCore/bindings/objc/
DOMHTML.mm 139 int start = inputElement->selectionStart();

Completed in 1197 milliseconds

1 2 3