OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:selectionStart
(Results
1 - 25
of
71
) sorted by null
1
2
3
/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/webkit/Source/WebCore/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());
/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/webkit/Source/WebKit/chromium/public/
WebWidget.h
100
// If
selectionStart
and selectionEnd has the same value, then it indicates
107
int
selectionStart
,
WebInputElement.h
76
WEBKIT_API int
selectionStart
() const;
/external/webkit/Source/WebCore/bindings/js/
JSHTMLInputElementCustom.cpp
36
JSValue JSHTMLInputElement::
selectionStart
(ExecState* exec) const
42
return jsNumber(input->
selectionStart
());
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/
HyperlinksTest.java
301
int
selectionStart
= selection.x - lineStart;
302
int selectionEnd =
selectionStart
+ selection.y;
303
if (selectionEnd >
selectionStart
) {
305
text = text.substring(0,
selectionStart
) + "[^" +
306
text.substring(
selectionStart
, selectionEnd) + "]" +
309
text = text.substring(0,
selectionStart
) + "^" +
310
text.substring(
selectionStart
);
/external/webkit/Source/WebCore/html/
HTMLTextAreaElement.idl
49
attribute long
selectionStart
;
HTMLFormControlElement.h
203
int
selectionStart
() const;
HTMLFormControlElement.cpp
660
setSelectionRange(min(end,
selectionStart
()), end);
682
int HTMLTextFormControlElement::
selectionStart
() const
690
return toRenderTextControl(renderer())->
selectionStart
();
HTMLInputElement.idl
92
attribute [Custom] long
selectionStart
;
/external/webkit/Source/WebKit/chromium/src/
WebInputElement.cpp
133
int WebInputElement::
selectionStart
() const
135
return constUnwrap<HTMLInputElement>()->
selectionStart
();
WebPopupMenuImpl.h
76
int
selectionStart
, int selectionEnd);
/external/webkit/Source/WebCore/rendering/
RenderTextControl.h
42
int
selectionStart
() const;
RenderReplaced.cpp
363
int
selectionStart
, selectionEnd;
364
selectionStartEnd(
selectionStart
, selectionEnd);
365
if (s ==
SelectionStart
)
366
return
selectionStart
== 0;
372
return
selectionStart
== 0 && selectionEnd == end;
/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/webkit/Source/WebCore/bindings/v8/custom/
V8HTMLInputElementCustom.cpp
43
INC_STATS("DOM.HTMLInputElement.
selectionStart
._get");
48
return throwError("Accessing
selectionStart
on an input element that cannot have a selection.");
50
int v = imp->
selectionStart
();
56
INC_STATS("DOM.HTMLInputElement.
selectionStart
._set");
61
throwError("Accessing
selectionStart
on an input element that cannot have a selection.");
/cts/tests/tests/text/src/android/text/method/cts/
BaseKeyListenerTest.java
132
final int
selectionStart
, final int selectionEnd) {
138
Selection.setSelection((Editable) mTextView.getText(),
selectionStart
,
/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/webkit/Source/WebKit2/UIProcess/mac/
WebPageProxyMac.mm
144
void WebPageProxy::setComposition(const String& text, Vector<CompositionUnderline> underlines, uint64_t
selectionStart
, uint64_t selectionEnd, uint64_t replacementRangeStart, uint64_t replacementRangeEnd)
146
process()->sendSync(Messages::WebPage::SetComposition(text, underlines,
selectionStart
, selectionEnd, replacementRangeStart, replacementRangeEnd), Messages::WebPage::SetComposition::Reply(m_editorState), m_pageID);
/frameworks/base/core/java/android/widget/
SpellChecker.java
272
final int
selectionStart
= Selection.getSelectionStart(editable);
291
isEditing = selectionEnd <= start ||
selectionStart
> end;
293
isEditing = selectionEnd < start ||
selectionStart
> end;
304
+ mIds[i] + ", sel start = " +
selectionStart
+ ", sel end = "
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
RichInputConnectionTests.java
144
et.
selectionStart
= 7;
/external/webkit/Source/WebCore/bindings/objc/
DOMHTML.mm
139
int start = inputElement->
selectionStart
();
Completed in 439 milliseconds
1
2
3