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

1 2

  /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);
  /external/webkit/WebCore/editing/
MoveSelectionCommand.cpp 56 Position selectionStart = selection.start();
57 if (selectionStart.node() == positionNode) {
58 positionOffset += selectionStart.deprecatedEditingOffset();
Editor.h 257 void setComposition(const String&, const Vector<CompositionUnderline>&, unsigned selectionStart, unsigned selectionEnd);
262 bool getCompositionSelection(unsigned& selectionStart, unsigned& selectionEnd) const;
Editor.cpp 89 Node* selectionStart = selection.start().node();
90 if (target && (!selectionStart || target->shadowAncestorNode() != selectionStart->shadowAncestorNode())) {
    [all...]
  /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/WebCore/bindings/js/
JSHTMLInputElementCustom.cpp 70 JSValue JSHTMLInputElement::selectionStart(ExecState* exec) const
76 return jsNumber(exec, input->selectionStart());
  /external/webkit/WebCore/html/
HTMLTextAreaElement.idl 50 attribute long selectionStart;
HTMLFormControlElement.h 162 int selectionStart();
HTMLInputElement.idl 87 attribute [Custom] long selectionStart;
HTMLFormControlElement.cpp 490 int HTMLTextFormControlElement::selectionStart()
498 return toRenderTextControl(renderer())->selectionStart();
  /external/webkit/WebCore/rendering/
SVGInlineTextBox.cpp 325 bool SVGInlineTextBox::chunkSelectionStartEnd(const UChar* chunk, int chunkLength, int& selectionStart, int& selectionEnd)
333 selectionStartEnd(selectionStart, selectionEnd);
336 if (chunkStart + chunkLength <= selectionStart)
340 selectionStart -= chunkStart;
343 if (selectionStart < 0)
344 selectionStart = 0;
348 return selectionStart < selectionEnd;
428 int selectionStart = 0;
430 bool haveSelectedRange = haveSelection && chunkSelectionStartEnd(chars, length, selectionStart, selectionEnd);
434 paintInfo.context->drawText(font, run, origin, 0, selectionStart);
    [all...]
SVGInlineTextBox.h 88 bool chunkSelectionStartEnd(const UChar* chunk, int chunkLength, int& selectionStart, int& selectionEnd);
RenderReplaced.cpp 310 int selectionStart, selectionEnd;
311 selectionStartEnd(selectionStart, selectionEnd);
312 if (s == SelectionStart)
313 return selectionStart == 0;
319 return selectionStart == 0 && selectionEnd == end;
RenderTextControl.h 43 int selectionStart();
RenderTextControl.cpp 211 int RenderTextControl::selectionStart()
234 setSelectionRange(min(end, selectionStart()), end);
500 cacheSelection(selectionStart(), selectionEnd());
RenderView.h 72 virtual RenderObject* selectionStart() const { return m_selectionStart; }
  /packages/apps/Contacts/src/com/android/contacts/
TwelveKeyDialer.java 551 int selectionStart;
555 selectionStart = mDigits.getSelectionStart();
558 if (selectionStart != -1) {
559 if (selectionStart > selectionEnd) {
561 int tmp = selectionStart;
562 selectionStart = selectionEnd;
566 if (selectionStart != 0) {
571 mWaitMenuItem.setVisible(showWait(selectionStart,
    [all...]
  /external/webkit/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.");
  /external/webkit/WebCore/bindings/objc/
DOMHTML.mm 138 int start = inputElement->selectionStart();
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
EditingUtil.java 73 return extracted.startOffset + extracted.selectionStart;
  /frameworks/base/core/java/android/widget/
TextView.java     [all...]
  /cts/tests/tests/widget/src/android/widget/cts/
TextViewTest.java 305 final int selectionStart = 10;
314 selectionStart, selectionEnd);
321 assertEquals(selectionStart, Selection.getSelectionStart(mTextView.getText()));
326 assertEquals(selectionStart, Selection.getSelectionStart(mTextView.getText()));
327 assertEquals(selectionStart, Selection.getSelectionEnd(mTextView.getText()));
333 selectionStart, selectionEnd);
340 assertEquals(selectionStart, Selection.getSelectionStart(mTextView.getText()));
345 assertEquals(selectionStart, Selection.getSelectionStart(mTextView.getText()));
    [all...]
  /external/webkit/WebKit/win/
DOMHTMLClasses.cpp     [all...]
  /external/webkit/WebCore/accessibility/
AccessibilityObject.h 398 unsigned selectionStart() const { return selectedTextRange().start; }

Completed in 1672 milliseconds

1 2