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

1 2 3 4

  /cts/tests/tests/view/src/android/view/inputmethod/cts/
ExtractedTextTest.java 29 extractedText.selectionEnd = 11;
39 assertEquals(extractedText.selectionEnd, target.selectionEnd);
  /external/chromium_org/third_party/WebKit/Source/core/html/
HTMLTextFormControlElementTest.cpp 43 EXPECT_EQ(0, textControl().selectionEnd());
47 EXPECT_EQ(0, textControl().selectionEnd());
51 EXPECT_EQ(3, textControl().selectionEnd());
HTMLTextAreaElement.idl 52 attribute long selectionEnd;
  /frameworks/base/core/java/android/text/method/
BaseKeyListener.java 102 int selectionEnd = Selection.getSelectionEnd(content);
103 if (selectionEnd < selectionStart) {
104 int temp = selectionEnd;
105 selectionEnd = selectionStart;
108 if (selectionStart != selectionEnd) {
109 content.delete(selectionStart, selectionEnd);
184 int selectionEnd = Selection.getSelectionEnd(content);
185 if (selectionEnd < selectionStart) {
186 int temp = selectionEnd;
187 selectionEnd = selectionStart
    [all...]
ArrowKeyMovementMethod.java 200 final int selectionEnd = widget.getSelectionEnd();
202 wordIterator.setCharSequence(buffer, selectionEnd, selectionEnd);
209 final int selectionEnd = widget.getSelectionEnd();
211 wordIterator.setCharSequence(buffer, selectionEnd, selectionEnd);
  /external/chromium_org/content/public/android/java/src/org/chromium/content/browser/input/
AdapterInputConnection.java 127 * @param selectionEnd The character offset of the selection end, or the caret position if there
136 public void updateState(String text, int selectionStart, int selectionEnd, int compositionStart,
139 Log.w(TAG, "updateState [" + text + "] [" + selectionStart + " " + selectionEnd + "] ["
150 selectionEnd = Math.min(selectionEnd, text.length());
161 Selection.setSelection(mEditable, selectionStart, selectionEnd);
186 int selectionEnd = Selection.getSelectionEnd(mEditable);
191 mLastUpdateSelectionEnd == selectionEnd &&
197 Log.w(TAG, "updateSelectionIfRequired [" + selectionStart + " " + selectionEnd + "] ["
203 selectionStart, selectionEnd, compositionStart, compositionEnd)
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/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());
  /external/chromium_org/content/test/data/
touch_selection.html 28 var end = div.selectionEnd;
  /frameworks/base/core/java/android/view/inputmethod/
ExtractedText.java 66 * <var>startOffset</var>+<var>selectionEnd</var>.
68 public int selectionEnd;
101 dest.writeInt(selectionEnd);
117 res.selectionEnd = source.readInt();
  /external/chromium_org/third_party/WebKit/Source/web/
WebTextInputInfo.cpp 41 && selectionEnd == other.selectionEnd
WebFormControlElement.cpp 163 int WebFormControlElement::selectionEnd() const
166 return constUnwrap<HTMLInputElement>()->selectionEnd();
168 return constUnwrap<HTMLTextAreaElement>()->selectionEnd();
  /external/chromium_org/content/public/android/javatests/src/org/chromium/content/browser/input/
AdapterInputConnectionTest.java 125 public void verifyUpdateSelectionCall(int index, int selectionStart, int selectionEnd,
129 assertEquals("Selection end did not match", selectionEnd, state.selectionEnd);
154 private static void assertCorrectState(String text, int selectionStart, int selectionEnd,
158 assertEquals("Selection end did not match", selectionEnd, actual.selectionEnd);
ImeTest.java 320 final int index, String text, int selectionStart, int selectionEnd,
329 text, selectionStart, selectionEnd, compositionStart, compositionEnd);
472 public void updateState(String text, int selectionStart, int selectionEnd,
474 mImeUpdateQueue.add(new TestImeState(text, selectionStart, selectionEnd,
476 super.updateState(text, selectionStart, selectionEnd, compositionStart,
488 public TestImeState(String text, int selectionStart, int selectionEnd,
492 mSelectionEnd = selectionEnd;
497 public void assertEqualState(String text, int selectionStart, int selectionEnd,
501 assertEquals("Selection end did not match", selectionEnd, mSelectionEnd);
  /external/chromium_org/third_party/eyesfree/src/android/java/src/com/googlecode/eyesfree/braille/selfbraille/
WriteData.java 32 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/test/chromedriver/js/
focus_test.html 12 assertEquals(2, a.selectionEnd);
18 assertEquals(3, a.selectionEnd);
  /external/chromium_org/third_party/WebKit/public/web/
WebTextInputInfo.h 46 int selectionEnd;
63 , selectionEnd(0)
  /external/chromium_org/chrome/browser/accessibility/
accessibility_extension_api_constants.cc 21 const char kSelectionEndKey[] = "details.selectionEnd";
  /external/chromium_org/chrome/browser/resources/chromeos/chromevox/common/
content_editable_extractor.js 79 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) {
braille_util.js 251 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 = cursorPosition
    [all...]
editable_text.js 835 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 = index + 1
    [all...]
  /external/chromium_org/chrome/common/extensions/docs/examples/extensions/speak_selection/
content_script.js 15 focused.selectionStart, focused.selectionEnd);
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
TextDecorator.java 108 * @param selectionEnd the cursor index (exclusive) when the indicator should be displayed.
111 final int selectionEnd) {
114 mWaitingCursorEnd = selectionEnd;
249 final int selectionEnd = info.getSelectionEnd();
255 if (selectionStart != mWaitingCursorStart || selectionEnd != mWaitingCursorEnd) {
262 if (selectionStart != mWaitingCursorStart || selectionEnd != mWaitingCursorEnd) {
  /external/chromium-trace/trace-viewer/src/ui/
filter_control.js 84 this.filterEl_.selectionEnd = this.filterEl_.value.length;
  /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/chromium_org/chrome/browser/resources/chromeos/chromevox/host/chrome/
expanding_braille_translator.js 243 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);

Completed in 2319 milliseconds

1 2 3 4