HomeSort by relevance Sort by last modified time
    Searched full:selectionend (Results 1 - 25 of 75) sorted by null

1 2 3

  /frameworks/base/core/java/android/text/method/
BaseKeyListener.java 98 int selectionEnd = Selection.getSelectionEnd(content);
99 if (selectionEnd < selectionStart) {
100 int temp = selectionEnd;
101 selectionEnd = selectionStart;
104 if (selectionStart != selectionEnd) {
105 content.delete(selectionStart, selectionEnd);
180 int selectionEnd = Selection.getSelectionEnd(content);
181 if (selectionEnd < selectionStart) {
182 int temp = selectionEnd;
183 selectionEnd = selectionStart
    [all...]
ArrowKeyMovementMethod.java 199 final int selectionEnd = widget.getSelectionEnd();
201 wordIterator.setCharSequence(buffer, selectionEnd, selectionEnd);
208 final int selectionEnd = widget.getSelectionEnd();
210 wordIterator.setCharSequence(buffer, selectionEnd, selectionEnd);
  /cts/tests/tests/view/src/android/view/inputmethod/cts/
ExtractedTextTest.java 46 extractedText.selectionEnd = 11;
56 assertEquals(extractedText.selectionEnd, target.selectionEnd);
  /external/webkit/Source/WebCore/editing/
MoveSelectionCommand.cpp 49 Position selectionEnd = endingSelection().end();
50 if (pos.anchorType() == Position::PositionIsOffsetInAnchor && selectionEnd.anchorType() == Position::PositionIsOffsetInAnchor
51 && selectionEnd.containerNode() == pos.containerNode() && selectionEnd.offsetInContainerNode() < pos.offsetInContainerNode()) {
52 pos.moveToOffset(pos.offsetInContainerNode() - selectionEnd.offsetInContainerNode());
  /frameworks/base/core/java/android/view/inputmethod/
ExtractedText.java 63 * <var>startOffset</var>+<var>selectionEnd</var>.
65 public int selectionEnd;
95 dest.writeInt(selectionEnd);
110 res.selectionEnd = source.readInt();
  /external/webkit/Source/WebCore/bindings/v8/custom/
V8HTMLInputElementCustom.cpp 69 INC_STATS("DOM.HTMLInputElement.selectionEnd._get");
74 return throwError("Accessing selectionEnd on an input element that cannot have a selection.");
76 int v = imp->selectionEnd();
82 INC_STATS("DOM.HTMLInputElement.selectionEnd._set");
87 throwError("Accessing selectionEnd on an input element that cannot have a selection.");
  /external/webkit/Source/WebCore/bindings/js/
JSHTMLInputElementCustom.cpp 54 JSValue JSHTMLInputElement::selectionEnd(ExecState* exec) const
60 return jsNumber(input->selectionEnd());
  /external/chromium/chrome/browser/extensions/
extension_accessibility_api_constants.cc 18 const char kSelectionEndKey[] = "details.selectionEnd";
  /external/webkit/Source/WebKit/chromium/src/
WebInputElement.cpp 138 int WebInputElement::selectionEnd() const
140 return constUnwrap<HTMLInputElement>()->selectionEnd();
  /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 62 + " sb.selectionEnd = 0;"
81 + " f.selectionEnd = %d"
145 public void setSelection(int selectionStart, int selectionEnd) {
146 final String js = String.format(SET_SELECTION_SCRIPT, selectionStart, selectionEnd);
  /external/webkit/Source/WebCore/html/
HTMLTextAreaElement.idl 50 attribute long selectionEnd;
HTMLInputElement.idl 93 attribute [Custom] long selectionEnd;
HTMLFormControlElement.cpp 655 setSelectionRange(start, max(start, selectionEnd()));
693 int HTMLTextFormControlElement::selectionEnd() const
701 return toRenderTextControl(renderer())->selectionEnd();
  /development/samples/ApiDemos/src/com/example/android/apis/app/
PersistentState.java 105 int selectionEnd = prefs.getInt("selection-end", -1);
106 if (selectionStart != -1 && selectionEnd != -1) {
107 mSaved.setSelection(selectionStart, selectionEnd);
  /external/webkit/Source/WebCore/rendering/
RenderReplaced.cpp 355 int selectionStart, selectionEnd;
356 selectionStartEnd(selectionStart, selectionEnd);
361 if (s == SelectionEnd)
362 return selectionEnd == end;
364 return selectionStart == 0 && selectionEnd == end;
RenderTextControl.h 43 int selectionEnd() const;
  /cts/tests/tests/text/src/android/text/method/cts/
BaseKeyListenerTest.java 131 final int selectionStart, final int selectionEnd) {
138 selectionEnd);
  /external/webkit/Source/WebKit/chromium/public/
WebWidget.h 100 // If selectionStart and selectionEnd has the same value, then it indicates
108 int selectionEnd) = 0;
WebInputElement.h 77 WEBKIT_API int selectionEnd() const;
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/xml/
HyperlinksTest.java 289 int selectionEnd = selectionStart + selection.y;
290 if (selectionEnd > selectionStart) {
293 text.substring(selectionStart, selectionEnd) + "]" +
294 text.substring(selectionEnd);
  /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);
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
AdtProjectTest.java 355 int selectionEnd = selectionBegin + selectedRange.y;
356 return addSelection(newFileContents, selectionBegin, selectionEnd);
359 protected String addSelection(String newFileContents, int selectionBegin, int selectionEnd) {
362 if (selectionBegin < selectionEnd) {
364 + newFileContents.substring(selectionBegin, selectionEnd) + "]"
365 + newFileContents.substring(selectionEnd);
  /packages/apps/Contacts/src/com/android/contacts/dialpad/
DialpadFragment.java 625 int selectionEnd;
629 selectionEnd = mDigits.getSelectionEnd();
632 if (selectionStart > selectionEnd) {
635 selectionStart = selectionEnd;
636 selectionEnd = tmp;
644 waitMenuItem.setVisible(showWait(selectionStart, selectionEnd, strDigits));
    [all...]
  /external/webkit/Source/WebKit2/WebProcess/WebPage/mac/
WebPageMac.mm 224 void WebPage::setComposition(const String& text, Vector<CompositionUnderline> underlines, uint64_t selectionStart, uint64_t selectionEnd, uint64_t replacementRangeStart, uint64_t replacementRangeEnd, EditorState& newState)
235 frame->editor()->setComposition(text, underlines, selectionStart, selectionEnd);
481 VisiblePosition selectionEnd = selection.visibleEnd();
485 VisiblePosition paragraphEnd = endOfParagraph(selectionEnd);
488 int lengthToSelectionEnd = TextIterator::rangeLength(makeRange(paragraphStart, selectionEnd).get());

Completed in 1334 milliseconds

1 2 3