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
96
) sorted by null
1
2
3
4
/cts/tests/tests/view/src/android/view/inputmethod/cts/util/
InputConnectionTestUtils.java
47
int
selectionEnd
= -1;
55
selectionEnd
= builder.length();
71
if (
selectionEnd
< 0) {
74
Selection.setSelection(builder, selectionStart,
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();
/packages/apps/Messaging/src/com/android/messaging/ui/
PlainTextEditText.java
51
int
selectionEnd
= getSelectionEnd();
71
selectionEnd
= selectionStart;
79
setSelection(selectionStart,
selectionEnd
);
/frameworks/base/core/tests/coretests/src/android/widget/espresso/
TextViewAssertions.java
109
int
selectionEnd
= textView.getSelectionEnd();
112
assertThat(
selectionEnd
, index);
155
int
selectionEnd
= textView.getSelectionEnd();
158
.subSequence(selectionStart,
selectionEnd
)
/frameworks/base/core/java/android/text/method/
BaseKeyListener.java
403
int
selectionEnd
= Selection.getSelectionEnd(content);
404
if (
selectionEnd
< selectionStart) {
405
int temp =
selectionEnd
;
406
selectionEnd
= selectionStart;
409
if (selectionStart !=
selectionEnd
) {
410
content.delete(selectionStart,
selectionEnd
);
486
int
selectionEnd
= Selection.getSelectionEnd(content);
487
if (
selectionEnd
< selectionStart) {
488
int temp =
selectionEnd
;
489
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
);
/frameworks/base/core/java/android/view/
ViewStructure.java
165
* extending from <var>selectionStart</var> through <var>
selectionEnd
</var>.
167
public abstract void setText(CharSequence text, int selectionStart, int
selectionEnd
);
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/
HyperlinksTest.java
301
int
selectionEnd
= selectionStart + selection.y;
302
if (
selectionEnd
> selectionStart) {
305
text.substring(selectionStart,
selectionEnd
) + "]" +
306
text.substring(
selectionEnd
);
/external/robolectric/v1/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
;
/prebuilts/devtools/adt/lib/
sdktestutils.jar
/external/libgdx/gdx/src/com/badlogic/gdx/scenes/scene2d/ui/
TextField.java
609
public void setSelection (int selectionStart, int
selectionEnd
) {
611
if (
selectionEnd
< 0) throw new IllegalArgumentException("
selectionEnd
must be >= 0");
613
selectionEnd
= Math.min(text.length(),
selectionEnd
);
614
if (
selectionEnd
== selectionStart) {
618
if (
selectionEnd
< selectionStart) {
619
int temp =
selectionEnd
;
620
selectionEnd
= selectionStart;
626
cursor =
selectionEnd
;
[
all
...]
/external/droiddriver/src/io/appium/droiddriver/base/
BaseUiElement.java
164
final int
selectionEnd
= getSelectionEnd();
166
return selectionStart >= 0 && selectionStart !=
selectionEnd
;
/prebuilts/gradle-plugin/com/android/tools/testutils/24.3.1/
testutils-24.3.1.jar
/prebuilts/gradle-plugin/com/android/tools/testutils/24.4.0-alpha1/
testutils-24.4.0-alpha1.jar
/prebuilts/gradle-plugin/com/android/tools/testutils/24.4.0-beta3/
testutils-24.4.0-beta3.jar
/prebuilts/gradle-plugin/com/android/tools/testutils/24.4.0-beta5/
testutils-24.4.0-beta5.jar
/prebuilts/gradle-plugin/com/android/tools/testutils/24.4.0-beta6/
testutils-24.4.0-beta6.jar
/prebuilts/gradle-plugin/com/android/tools/testutils/24.5.0/
testutils-24.5.0.jar
/prebuilts/gradle-plugin/com/android/tools/testutils/25.0.0/
testutils-25.0.0.jar
/prebuilts/gradle-plugin/com/android/tools/testutils/25.0.0-alpha1/
testutils-25.0.0-alpha1.jar
/prebuilts/gradle-plugin/com/android/tools/testutils/25.0.0-alpha3/
testutils-25.0.0-alpha3.jar
/prebuilts/gradle-plugin/com/android/tools/testutils/25.0.0-alpha5/
testutils-25.0.0-alpha5.jar
/prebuilts/gradle-plugin/com/android/tools/testutils/25.0.0-alpha7/
testutils-25.0.0-alpha7.jar
Completed in 1010 milliseconds
1
2
3
4