Searched refs:selectionEnd (Results 1 - 25 of 69) sorted by relevance

123

/external/chromium_org/third_party/WebKit/Source/web/
H A DWebTextInputInfo.cpp41 && selectionEnd == other.selectionEnd
H A DWebFormControlElement.cpp162 int WebFormControlElement::selectionEnd() const function in class:blink::WebFormControlElement
165 return constUnwrap<HTMLInputElement>()->selectionEnd();
167 return constUnwrap<HTMLTextAreaElement>()->selectionEnd();
/external/chromium_org/third_party/WebKit/public/web/
H A DWebTextInputInfo.h47 int selectionEnd; member in struct:blink::WebTextInputInfo
65 , selectionEnd(0)
H A DWebFormControlElement.h101 BLINK_EXPORT int selectionEnd() const;
/external/chromium_org/third_party/WebKit/Source/core/editing/
H A DMoveSelectionCommand.cpp49 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());
H A DInputMethodController.h55 void setComposition(const String&, const Vector<CompositionUnderline>&, unsigned selectionStart, unsigned selectionEnd);
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/input/
H A DAdapterInputConnection.java137 * @param selectionEnd The character offset of the selection end, or the caret position if there
146 public void updateState(String text, int selectionStart, int selectionEnd, int compositionStart, argument
149 Log.w(TAG, "updateState [" + text + "] [" + selectionStart + " " + selectionEnd + "] ["
160 selectionEnd = Math.min(selectionEnd, text.length());
171 Selection.setSelection(mEditable, selectionStart, selectionEnd);
196 int selectionEnd = Selection.getSelectionEnd(mEditable);
201 mLastUpdateSelectionEnd == selectionEnd &&
207 Log.w(TAG, "updateSelectionIfRequired [" + selectionStart + " " + selectionEnd + "] ["
213 selectionStart, selectionEnd, compositionStar
520 public final int selectionEnd; field in class:AdapterInputConnection.ImeState
524 ImeState(String text, int selectionStart, int selectionEnd, int compositionStart, int compositionEnd) argument
[all...]
/external/chromium_org/third_party/eyesfree/src/android/java/src/com/googlecode/eyesfree/braille/selfbraille/
H A DWriteData.java32 private static final String PROP_SELECTION_END = "selectionEnd";
123 int selectionEnd = getSelectionEnd();
125 if (selectionStart > 0 || selectionEnd > 0) {
130 if (selectionStart < 0 && selectionEnd >= 0) {
135 if (selectionStart > textLength || selectionEnd > textLength) {
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/common/
H A Dbraille_util.js251 var selectionEnd = cvox.BrailleUtil.clamp_(
252 node.selectionEnd, 0, spannable.getLength());
254 Math.min(selectionStart, selectionEnd),
255 Math.max(selectionStart, selectionEnd));
261 var lineIndex = shadow.getLineIndex(node.selectionEnd);
270 var selectionEnd = cvox.BrailleUtil.clamp_(
271 node.selectionEnd - lineStart, 0, spannable.getLength());
273 Math.min(selectionStart, selectionEnd),
274 Math.max(selectionStart, selectionEnd));
403 node.selectionStart = node.selectionEnd
[all...]
H A Dcontent_editable_extractor.js79 var selectionEnd = new cvox.Cursor(sel.extentNode, sel.extentOffset, '');
135 endCursor.node == selectionEnd.node &&
136 endCursor.index >= selectionEnd.index) {
137 if (endCursor.index > selectionEnd.index) {
H A Deditable_text.js835 node.selectionEnd++;
836 node.selectionStart = node.selectionEnd;
847 node.selectionEnd = node.selectionStart;
858 var substring = node.value.substring(node.selectionEnd);
864 var index = (match === null) ? length : match.index + node.selectionEnd;
865 node.selectionStart = node.selectionEnd = index;
883 node.selectionStart = node.selectionEnd = index;
894 var index = node.selectionEnd >= length ? length :
895 node.value.indexOf('\n', node.selectionEnd);
899 node.selectionStart = node.selectionEnd
[all...]
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/speak_selection/
H A Dcontent_script.js15 focused.selectionStart, focused.selectionEnd);
/external/chromium_org/content/public/android/javatests/src/org/chromium/content/browser/input/
H A DAdapterInputConnectionTest.java177 public void verifyUpdateSelectionCall(int index, int selectionStart, int selectionEnd, argument
181 assertEquals("Selection end did not match", selectionEnd, state.selectionEnd);
206 private static void assertCorrectState(String text, int selectionStart, int selectionEnd, argument
210 assertEquals("Selection end did not match", selectionEnd, actual.selectionEnd);
H A DImeTest.java744 final int index, String text, int selectionStart, int selectionEnd,
753 text, selectionStart, selectionEnd, compositionStart, compositionEnd);
923 public void updateState(String text, int selectionStart, int selectionEnd, argument
925 mImeUpdateQueue.add(new TestImeState(text, selectionStart, selectionEnd,
927 super.updateState(text, selectionStart, selectionEnd, compositionStart,
939 public TestImeState(String text, int selectionStart, int selectionEnd, argument
943 mSelectionEnd = selectionEnd;
948 public void assertEqualState(String text, int selectionStart, int selectionEnd, argument
952 assertEquals("Selection end did not match", selectionEnd, mSelectionEnd);
743 waitAndVerifyEditableCallback(final ArrayList<TestImeState> states, final int index, String text, int selectionStart, int selectionEnd, int compositionStart, int compositionEnd) argument
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/host/chrome/
H A Dexpanding_braille_translator.js243 var selectionEnd = text.getSpanEnd(selection);
244 if (selectionStart < valueStart || selectionEnd > valueEnd) {
253 if (selectionStart == selectionEnd && selectionStart > valueStart) {
259 if (selectionEnd > selectionStart + 1) {
262 expandPositions.push(selectionEnd - 1);
H A Dbraille_input_handler.js163 var selectionEnd = /** @type {number} */ (text.getSpanEnd(selectionSpan));
164 if (selectionStart < valueStart || selectionEnd > valueEnd) {
173 this.currentTextAfter_ = text.toString().substring(selectionEnd, valueEnd);
/external/chromium-trace/trace-viewer/src/ui/
H A Dfilter_control.js84 this.filterEl_.selectionEnd = this.filterEl_.value.length;
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/chromevox/background/
H A Dexterns.js125 AccessibilityObject.prototype.details.selectionEnd;
/external/chromium_org/third_party/WebKit/Source/core/html/ime/
H A DInputMethodContext.h68 int selectionEnd() const;
/external/chromium_org/third_party/polymer/components-chromium/core-input/
H A Dcore-input-extracted.js274 setSelectionRange: function(selectionStart, selectionEnd, selectionDirection) {
276 this.$.input.setSelectionRange(selectionStart, selectionEnd, selectionDirection);
/external/chromium_org/third_party/WebKit/Source/core/html/
H A DHTMLTextAreaElement.idl52 attribute long selectionEnd;
H A DHTMLTextFormControlElementTest.cpp100 EXPECT_EQ(0, textControl().selectionEnd());
104 EXPECT_EQ(0, textControl().selectionEnd());
108 EXPECT_EQ(3, textControl().selectionEnd());
H A DHTMLTextFormControlElement.h70 int selectionEnd() const;
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/components/
H A DFilterSuggestionBuilder.js51 var end = input.selectionEnd;
111 var end = input.selectionEnd;
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowTextView.java50 protected int selectionEnd = 0; field in class:ShadowTextView
86 boolean isSelectEndAtEnd = selectionEnd == this.text.length();
98 selectionEnd = this.text.length();
494 selectionEnd = end;
504 return selectionEnd;

Completed in 800 milliseconds

123