/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/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 | 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 | 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());
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/ |
HyperlinksTest.java | 293 int selectionStart = selection.x - lineStart; 294 int selectionEnd = selectionStart + selection.y; 295 if (selectionEnd > selectionStart) { 297 text = text.substring(0, selectionStart) + "[^" + 298 text.substring(selectionStart, selectionEnd) + "]" + 301 text = text.substring(0, selectionStart) + "^" + 302 text.substring(selectionStart);
|
/external/webkit/Source/WebCore/html/ |
HTMLTextAreaElement.idl | 49 attribute long selectionStart;
|
HTMLFormControlElement.h | 203 int selectionStart() const;
|
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);
|
/external/webkit/Source/WebCore/rendering/ |
RenderTextControl.h | 42 int selectionStart() const;
|
RenderReplaced.cpp | 363 int selectionStart, selectionEnd; 364 selectionStartEnd(selectionStart, selectionEnd); 365 if (s == SelectionStart) 366 return selectionStart == 0; 372 return selectionStart == 0 && selectionEnd == end;
|
/packages/apps/Contacts/src/com/android/contacts/dialpad/ |
DialpadFragment.java | 681 int selectionStart; 685 selectionStart = mDigits.getSelectionStart(); 688 if (selectionStart != -1) { 689 if (selectionStart > selectionEnd) { 691 int tmp = selectionStart; 692 selectionStart = selectionEnd; 696 if (selectionStart != 0) { 701 waitMenuItem.setVisible(showWait(selectionStart, selectionEnd, strDigits)); [all...] |
/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 | 125 final int selectionStart, final int selectionEnd) { 131 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);
|
/frameworks/base/core/java/android/widget/ |
SpellChecker.java | 269 final int selectionStart = Selection.getSelectionStart(editable); 288 isEditing = selectionEnd <= start || selectionStart > end; 290 isEditing = selectionEnd < start || selectionStart > end; 301 + mIds[i] + ", sel start = " + selectionStart + ", sel end = "
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
RichInputConnection.java | 106 if (et.selectionStart != mCurrentCursorPosition 109 + "\nActual cursor position = " + et.selectionStart 115 Log.e(TAG, "Exp <> Actual : " + mCurrentCursorPosition + " <> " + et.selectionStart); 503 return extracted.startOffset + extracted.selectionStart; [all...] |
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/ |
RichInputConnectionTests.java | 136 et.selectionStart = 7;
|
/external/webkit/Source/WebCore/bindings/objc/ |
DOMHTML.mm | 139 int start = inputElement->selectionStart();
|