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

123

/external/chromium_org/third_party/WebKit/Source/web/
H A DWebTextInputInfo.cpp40 && selectionStart == other.selectionStart
H A DWebFormControlElement.cpp153 int WebFormControlElement::selectionStart() const function in class:blink::WebFormControlElement
156 return constUnwrap<HTMLInputElement>()->selectionStart();
158 return constUnwrap<HTMLTextAreaElement>()->selectionStart();
/external/chromium_org/third_party/WebKit/public/web/
H A DWebTextInputInfo.h43 int selectionStart; member in struct:blink::WebTextInputInfo
64 , selectionStart(0)
H A DWebFormControlElement.h97 BLINK_EXPORT int selectionStart() const;
/external/chromium_org/third_party/WebKit/Source/core/editing/
H A DMoveSelectionCommand.cpp54 Position selectionStart = endingSelection().start(); local
55 if (selectionStart.anchorType() == Position::PositionIsOffsetInAnchor && selectionStart.containerNode() == pos.containerNode())
56 pos.moveToOffset(pos.offsetInContainerNode() + selectionStart.offsetInContainerNode());
H A DInputMethodController.h55 void setComposition(const String&, const Vector<CompositionUnderline>&, unsigned selectionStart, unsigned selectionEnd);
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/host/chrome/
H A Dexpanding_braille_translator.js242 var selectionStart = text.getSpanStart(selection);
244 if (selectionStart < valueStart || selectionEnd > valueEnd) {
248 if (selectionStart == valueEnd) {
249 if (selectionStart > valueStart) {
250 expandPositions.push(selectionStart - 1);
253 if (selectionStart == selectionEnd && selectionStart > valueStart) {
254 expandPositions.push(selectionStart - 1);
256 expandPositions.push(selectionStart);
259 if (selectionEnd > selectionStart
[all...]
H A Dbraille_input_handler.js161 var selectionStart =
164 if (selectionStart < valueStart || selectionEnd > valueEnd) {
172 valueStart, selectionStart);
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/input/
H A DAdapterInputConnection.java135 * @param selectionStart The character offset of the selection start, or the caret position if
146 public void updateState(String text, int selectionStart, int selectionEnd, int compositionStart, argument
149 Log.w(TAG, "updateState [" + text + "] [" + selectionStart + " " + selectionEnd + "] ["
159 selectionStart = Math.min(selectionStart, text.length());
171 Selection.setSelection(mEditable, selectionStart, selectionEnd);
195 int selectionStart = Selection.getSelectionStart(mEditable);
200 if (mLastUpdateSelectionStart == selectionStart &&
207 Log.w(TAG, "updateSelectionIfRequired [" + selectionStart + " " + selectionEnd + "] ["
213 selectionStart, selectionEn
519 public final int selectionStart; 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.java31 private static final String PROP_SELECTION_START = "selectionStart";
122 int selectionStart = getSelectionStart();
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.js249 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;
H A Dcontent_editable_extractor.js78 var selectionStart = new cvox.Cursor(sel.baseNode, sel.baseOffset, '');
125 endCursor.node == selectionStart.node &&
126 endCursor.index >= selectionStart.index) {
127 if (endCursor.index > selectionStart.index) {
H A Deditable_text.js836 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
[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
180 assertEquals("Selection start did not match", selectionStart, state.selectionStart);
206 private static void assertCorrectState(String text, int selectionStart, int selectionEnd, argument
209 assertEquals("Selection start did not match", selectionStart, actual.selectionStart);
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/components/
H A DFilterSuggestionBuilder.js55 var start = input.selectionStart;
94 var start = input.selectionStart;
110 var start = input.selectionStart;
/external/chromium-trace/trace-viewer/src/ui/
H A Dfilter_control.js83 this.filterEl_.selectionStart = 0;
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/chromevox/background/
H A Dexterns.js123 AccessibilityObject.prototype.details.selectionStart;
/external/chromium_org/third_party/WebKit/Source/core/html/
H A DHTMLTextFormControlElementTest.cpp99 EXPECT_EQ(0, textControl().selectionStart());
103 EXPECT_EQ(0, textControl().selectionStart());
107 EXPECT_EQ(1, textControl().selectionStart());
219 ASSERT_EQ(3, input->selectionStart());
H A DHTMLTextAreaElement.idl51 attribute long selectionStart;
/external/chromium_org/third_party/WebKit/Source/core/html/ime/
H A DInputMethodContext.h67 int selectionStart() 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/droiddriver/src/com/google/android/droiddriver/base/
H A DBaseUiElement.java157 final int selectionStart = getSelectionStart();
160 return selectionStart >= 0 && selectionStart != selectionEnd;
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowTextView.java49 protected int selectionStart = 0; field in class:ShadowTextView
85 boolean isSelectStartAtEnd = selectionStart == this.text.length();
95 selectionStart = this.text.length();
493 selectionStart = start;
499 return selectionStart;
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/source_frame/
H A DCodeMirrorTextEditor.js1579 if (this._highlightDescriptor && this._highlightDescriptor.selectionStart)
1580 this._codeMirror.removeLineClass(this._highlightDescriptor.selectionStart.line, "wrap", "cm-line-with-selection");
1581 var selectionStart = this._highlightRange ? new CodeMirror.Pos(this._highlightRange.startLine, this._highlightRange.startColumn) : null;
1582 if (selectionStart)
1583 this._codeMirror.addLineClass(selectionStart.line, "wrap", "cm-line-with-selection");
1587 this._highlightDescriptor.selectionStart = selectionStart;
1590 this._setHighlighter(this._searchHighlighter.bind(this, this._highlightRegex), selectionStart);
1611 if (this._highlightDescriptor && this._highlightDescriptor.selectionStart)
1612 this._codeMirror.removeLineClass(this._highlightDescriptor.selectionStart
[all...]

Completed in 588 milliseconds

123