HomeSort by relevance Sort by last modified time
    Searched refs:selectionStart (Results 26 - 50 of 98) sorted by null

12 3 4

  /external/chromium_org/third_party/WebKit/public/web/
WebWidget.h 171 // If selectionStart and selectionEnd has the same value, then it indicates
178 int selectionStart,
WebAXObject.h 142 BLINK_EXPORT unsigned selectionStart() const;
175 BLINK_EXPORT void setSelectedTextRange(int selectionStart, int selectionEnd) const;
  /external/droiddriver/src/com/google/android/droiddriver/base/
BaseUiElement.java 157 final int selectionStart = getSelectionStart();
160 return selectionStart >= 0 && selectionStart != selectionEnd;
  /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;
  /external/chromium_org/chrome/browser/resources/chromeos/chromevox/common/
braille_util.js 249 var selectionStart = cvox.BrailleUtil.clamp_(
250 node.selectionStart, 0, spannable.getLength());
254 Math.min(selectionStart, selectionEnd),
255 Math.max(selectionStart, selectionEnd));
268 var selectionStart = cvox.BrailleUtil.clamp_(
269 node.selectionStart - lineStart, 0, spannable.getLength());
273 Math.min(selectionStart, selectionEnd),
274 Math.max(selectionStart, selectionEnd));
403 node.selectionStart = node.selectionEnd = cursorPosition;
editable_text.js 836 node.selectionStart = node.selectionEnd;
846 node.selectionStart--;
847 node.selectionEnd = node.selectionStart;
865 node.selectionStart = node.selectionEnd = index;
876 var substring = node.value.substring(0, node.selectionStart);
879 if (re.lastIndex < node.selectionStart) {
883 node.selectionStart = node.selectionEnd = index;
899 node.selectionStart = node.selectionEnd = index + 1;
909 var index = node.selectionStart <= 0 ? 0 :
910 node.value.lastIndexOf('\n', node.selectionStart - 2) + 1
    [all...]
  /external/chromium_org/third_party/WebKit/Source/devtools/front_end/source_frame/
CodeMirrorTextEditor.js     [all...]
  /external/chromium_org/content/public/android/javatests/src/org/chromium/content/browser/input/
ImeTest.java 744 final int index, String text, int selectionStart, int selectionEnd,
753 text, selectionStart, selectionEnd, compositionStart, compositionEnd);
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/html/
HTMLTextFormControlElement.h 69 int selectionStart() const;
HTMLInputElement.idl 80 [RaisesException, ImplementedAs=selectionStartForBinding] attribute long selectionStart;
HTMLTextFormControlElement.cpp 178 setSelectionRange(std::min(end, selectionStart()), end, selectionDirection());
183 setSelectionRange(selectionStart(), selectionEnd(), direction);
209 setRangeText(replacement, selectionStart(), selectionEnd(), String(), exceptionState);
224 unsigned newSelectionStart = selectionStart();
414 int HTMLTextFormControlElement::selectionStart() const
555 // selectionStart() or selectionEnd() will return cached selection when this node doesn't have focus
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/html/ime/
InputMethodContext.cpp 129 int InputMethodContext::selectionStart() const
  /external/chromium_org/third_party/WebKit/Source/web/
WebPopupMenuImpl.h 78 int selectionStart, int selectionEnd) OVERRIDE FINAL;
WebAXObject.cpp 710 unsigned WebAXObject::selectionStart() const
735 VisiblePosition position = m_private->visiblePositionForIndex(selectionStart());
748 void WebAXObject::setSelectedTextRange(int selectionStart, int selectionEnd) const
753 m_private->setSelectedTextRange(AXObject::PlainTextRange(selectionStart, selectionEnd - selectionStart));
  /external/chromium_org/third_party/WebKit/Source/web/tests/
WebViewTest.cpp 594 EXPECT_EQ(5, info.selectionStart);
607 EXPECT_EQ(8, info.selectionStart);
627 EXPECT_EQ(3, info.selectionStart);
634 EXPECT_EQ(3, info.selectionStart);
642 EXPECT_EQ(6, info.selectionStart);
649 EXPECT_EQ(8, info.selectionStart);
669 EXPECT_EQ(4, info.selectionStart);
676 EXPECT_EQ(4, info.selectionStart);
684 EXPECT_EQ(5, info.selectionStart);
701 EXPECT_EQ(5, info.selectionStart);
    [all...]
  /frameworks/base/core/java/android/widget/
SpellChecker.java 264 final int selectionStart = Selection.getSelectionStart(editable);
284 final boolean apostrophe = (selectionStart == end + 1 && editable.charAt(end) == '\'');
289 isEditing = !apostrophe && (selectionEnd <= start || selectionStart > end);
291 isEditing = !apostrophe && (selectionEnd < start || selectionStart > end);
300 + mIds[i] + ", sel start = " + selectionStart + ", sel end = "
    [all...]
Editor.java 689 int selectionStart, selectionEnd;
696 selectionStart = ((Spanned) mTextView.getText()).getSpanStart(urlSpan);
702 selectionStart = wordIterator.getBeginning(minOffset);
705 if (selectionStart == BreakIterator.DONE || selectionEnd == BreakIterator.DONE ||
706 selectionStart == selectionEnd) {
709 selectionStart = TextUtils.unpackRangeStartFromLong(range);
714 Selection.setSelection((Spannable) mTextView.getText(), selectionStart, selectionEnd);
715 return selectionEnd > selectionStart;
759 int selectionStart = mTextView.getSelectionStart();
762 if (selectionStart == selectionEnd)
    [all...]
  /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/chromium_org/third_party/WebKit/Source/core/rendering/
RenderReplaced.cpp 551 int selectionStart, selectionEnd;
552 selectionStartEnd(selectionStart, selectionEnd);
553 if (s == SelectionStart)
554 return selectionStart == 0;
560 return selectionStart == 0 && selectionEnd == end;
RenderView.h 101 RenderObject* selectionStart() const { return m_selectionStart; }
InlineTextBox.cpp 163 if (state == RenderObject::SelectionStart || state == RenderObject::SelectionEnd || state == RenderObject::SelectionBoth) {
173 bool end = (state != RenderObject::SelectionStart && endPos > m_start && endPos <= lastSelectable);
177 state = RenderObject::SelectionStart;
181 (state == RenderObject::SelectionStart || endPos > lastSelectable))
495 int selectionStart = 0;
498 selectionStartEnd(selectionStart, selectionEnd);
505 selectionStart = std::min<int>(selectionStart, m_truncation);
522 if (paintSelectedTextSeparately && selectionStart < selectionEnd) {
524 endOffset = selectionStart;
    [all...]
  /external/chromium_org/chrome/browser/resources/chromeos/chromevox/chromevox/background/
externs.js 123 AccessibilityObject.prototype.details.selectionStart;
  /frameworks/base/core/java/android/text/
SpannableStringBuilder.java 489 int selectionStart = 0;
492 selectionStart = Selection.getSelectionStart(this);
499 if (selectionStart > start && selectionStart < end) {
500 final int offset = (selectionStart - start) * newLen / origLen;
501 selectionStart = start + offset;
503 setSpan(false, Selection.SELECTION_START, selectionStart, selectionStart,
    [all...]
  /packages/apps/Dialer/src/com/android/dialer/dialpad/
DialpadFragment.java     [all...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
RichInputConnection.java 130 if (et.selectionStart != mExpectedSelStart
133 + "\nActual selection start = " + et.selectionStart
139 Log.e(TAG, "Exp <> Actual : " + mExpectedSelStart + " <> " + et.selectionStart);
    [all...]

Completed in 1772 milliseconds

12 3 4