OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:selectionEnd
(Results
1 - 25
of
69
) sorted by null
1
2
3
/external/webkit/Source/WebCore/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());
/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
199
final int
selectionEnd
= widget.getSelectionEnd();
201
wordIterator.setCharSequence(buffer,
selectionEnd
,
selectionEnd
);
208
final int
selectionEnd
= widget.getSelectionEnd();
210
wordIterator.setCharSequence(buffer,
selectionEnd
,
selectionEnd
);
/cts/tests/tests/view/src/android/view/inputmethod/cts/
ExtractedTextTest.java
29
extractedText.
selectionEnd
= 11;
39
assertEquals(extractedText.
selectionEnd
, target.
selectionEnd
);
/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
);
/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/webkit/Source/WebKit/chromium/public/
WebWidget.h
100
// If selectionStart and
selectionEnd
has the same value, then it indicates
108
int
selectionEnd
) = 0;
WebInputElement.h
77
WEBKIT_API int
selectionEnd
() const;
/external/webkit/Source/WebCore/bindings/js/
JSHTMLInputElementCustom.cpp
54
JSValue JSHTMLInputElement::
selectionEnd
(ExecState* exec) const
60
return jsNumber(input->
selectionEnd
());
/external/webkit/Source/WebCore/html/
HTMLTextAreaElement.idl
50
attribute long
selectionEnd
;
HTMLFormControlElement.h
204
int
selectionEnd
() const;
HTMLFormControlElement.cpp
655
setSelectionRange(start, max(start,
selectionEnd
()));
693
int HTMLTextFormControlElement::
selectionEnd
() const
701
return toRenderTextControl(renderer())->
selectionEnd
();
/external/webkit/Source/WebKit/chromium/src/
WebInputElement.cpp
138
int WebInputElement::
selectionEnd
() const
140
return constUnwrap<HTMLInputElement>()->
selectionEnd
();
WebPopupMenuImpl.h
76
int selectionStart, int
selectionEnd
);
/external/webkit/Source/WebCore/rendering/
RenderTextControl.h
43
int
selectionEnd
() const;
RenderReplaced.cpp
363
int selectionStart,
selectionEnd
;
364
selectionStartEnd(selectionStart,
selectionEnd
);
369
if (s ==
SelectionEnd
)
370
return
selectionEnd
== end;
372
return selectionStart == 0 &&
selectionEnd
== end;
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/
HyperlinksTest.java
302
int
selectionEnd
= selectionStart + selection.y;
303
if (
selectionEnd
> selectionStart) {
306
text.substring(selectionStart,
selectionEnd
) + "]" +
307
text.substring(
selectionEnd
);
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowTextView.java
50
protected int
selectionEnd
= 0;
86
boolean isSelectEndAtEnd =
selectionEnd
== this.text.length();
98
selectionEnd
= this.text.length();
494
selectionEnd
= end;
504
return
selectionEnd
;
/external/webkit/Source/WebCore/bindings/v8/custom/
V8HTMLInputElementCustom.cpp
69
INC_STATS("DOM.HTMLInputElement.
selectionEnd
._get");
74
return throwError("Accessing
selectionEnd
on an input element that cannot have a selection.");
76
int v = imp->
selectionEnd
();
82
INC_STATS("DOM.HTMLInputElement.
selectionEnd
._set");
87
throwError("Accessing
selectionEnd
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
) {
139
selectionEnd
);
/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
);
/prebuilts/devtools/adt/lib/
sdktestutils.jar
/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
273
final int
selectionEnd
= Selection.getSelectionEnd(editable);
291
isEditing =
selectionEnd
<= start || selectionStart > end;
293
isEditing =
selectionEnd
< start || selectionStart > end;
305
+
selectionEnd
+ ", start = " + start + ", end = " + end);
/external/webkit/Source/WebCore/bindings/objc/
DOMHTML.mm
140
int end = inputElement->
selectionEnd
();
Completed in 472 milliseconds
1
2
3