/external/chromium_org/third_party/WebKit/Source/web/ |
WebTextInputInfo.cpp | 40 && selectionStart == other.selectionStart
|
WebFormControlElement.cpp | 153 int WebFormControlElement::selectionStart() const 156 return constUnwrap<HTMLInputElement>()->selectionStart(); 158 return constUnwrap<HTMLTextAreaElement>()->selectionStart();
|
/external/chromium_org/third_party/WebKit/public/web/ |
WebTextInputInfo.h | 43 int selectionStart; 64 , selectionStart(0)
|
WebFormControlElement.h | 97 BLINK_EXPORT int selectionStart() const;
|
WebPlugin.h | 145 virtual bool setComposition(const WebString& text, const WebVector<WebCompositionUnderline>& underlines, int selectionStart, int selectionEnd) { return false; }
|
/frameworks/base/core/java/android/text/method/ |
BaseKeyListener.java | 101 int selectionStart = Selection.getSelectionStart(content); 103 if (selectionEnd < selectionStart) { 105 selectionEnd = selectionStart; 106 selectionStart = temp; 108 if (selectionStart != selectionEnd) { 109 content.delete(selectionStart, selectionEnd); 183 int selectionStart = Selection.getSelectionStart(content); 185 if (selectionEnd < selectionStart) { 187 selectionEnd = selectionStart; 188 selectionStart = temp [all...] |
/external/chromium_org/third_party/WebKit/Source/core/editing/ |
MoveSelectionCommand.cpp | 54 Position selectionStart = endingSelection().start(); 55 if (selectionStart.anchorType() == Position::PositionIsOffsetInAnchor && selectionStart.containerNode() == pos.containerNode()) 56 pos.moveToOffset(pos.offsetInContainerNode() + selectionStart.offsetInContainerNode());
|
InputMethodController.h | 55 void setComposition(const String&, const Vector<CompositionUnderline>&, unsigned selectionStart, unsigned selectionEnd);
|
/cts/tests/tests/view/src/android/view/inputmethod/cts/ |
ExtractedTextTest.java | 30 extractedText.selectionStart = 2; 40 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);
|
/frameworks/base/core/java/android/view/inputmethod/ |
ExtractedText.java | 59 * <var>startOffset</var>+<var>selectionStart</var>. 61 public int selectionStart; 100 dest.writeInt(selectionStart); 116 res.selectionStart = source.readInt();
|
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/input/ |
AdapterInputConnection.java | 135 * @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, 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, selectionEnd, compositionStart, compositionEnd) [all...] |
/external/chromium_org/third_party/eyesfree/src/android/java/src/com/googlecode/eyesfree/braille/selfbraille/ |
WriteData.java | 31 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/common/extensions/docs/examples/extensions/speak_selection/ |
content_script.js | 15 focused.selectionStart, focused.selectionEnd);
|
/external/chromium_org/third_party/WebKit/Source/core/html/ime/ |
InputMethodContext.h | 67 int selectionStart() const;
|
/external/chromium_org/content/public/android/javatests/src/org/chromium/content/browser/input/ |
AdapterInputConnectionTest.java | 177 public void verifyUpdateSelectionCall(int index, int selectionStart, int selectionEnd, 180 assertEquals("Selection start did not match", selectionStart, state.selectionStart); 206 private static void assertCorrectState(String text, int selectionStart, int selectionEnd, 209 assertEquals("Selection start did not match", selectionStart, actual.selectionStart);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/ |
HyperlinksTest.java | 300 int selectionStart = selection.x - lineStart; 301 int selectionEnd = selectionStart + selection.y; 302 if (selectionEnd > selectionStart) { 304 text = text.substring(0, selectionStart) + "[^" + 305 text.substring(selectionStart, selectionEnd) + "]" + 308 text = text.substring(0, selectionStart) + "^" + 309 text.substring(selectionStart);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
TextDecorator.java | 107 * @param selectionStart the cursor index (inclusive) when the indicator should be displayed. 110 public void showAddToDictionaryIndicator(final String word, final int selectionStart, 113 mWaitingCursorStart = selectionStart; 248 final int selectionStart = info.getSelectionStart(); 255 if (selectionStart != mWaitingCursorStart || selectionEnd != mWaitingCursorEnd) { 262 if (selectionStart != mWaitingCursorStart || selectionEnd != mWaitingCursorEnd) {
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/components/ |
FilterSuggestionBuilder.js | 55 var start = input.selectionStart; 94 var start = input.selectionStart; 110 var start = input.selectionStart;
|
/external/chromium_org/third_party/WebKit/Source/core/html/ |
HTMLTextFormControlElementTest.cpp | 99 EXPECT_EQ(0, textControl().selectionStart()); 103 EXPECT_EQ(0, textControl().selectionStart()); 107 EXPECT_EQ(1, textControl().selectionStart()); 219 ASSERT_EQ(3, input->selectionStart());
|
HTMLTextAreaElement.idl | 51 attribute long selectionStart;
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
CursorAnchorInfoUtils.java | 93 final int selectionStart = textView.getSelectionStart(); 94 builder.setSelectionRange(selectionStart, textView.getSelectionEnd()); 205 // Treat selectionStart as the insertion point. 206 if (0 <= selectionStart) { 207 final int offset = selectionStart;
|
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/host/chrome/ |
expanding_braille_translator.js | 242 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 + 1) [all...] |
/cts/tests/tests/text/src/android/text/method/cts/ |
BaseKeyListenerTest.java | 123 final boolean selectInTextView, final int selectionStart, final int selectionEnd) { 130 selectionStart, selectionEnd);
|
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/common/ |
content_editable_extractor.js | 78 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) {
|