OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:subsequence
(Results
1 - 25
of
634
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/cts/tests/tests/text/src/android/text/cts/
SpannedStringTest.java
64
CharSequence
subSequence
= spanned.
subSequence
(0, 2);
65
assertTrue(
subSequence
instanceof SpannedString);
66
assertEquals("he",
subSequence
.toString());
68
subSequence
= spanned.
subSequence
(0, text.length());
69
assertTrue(
subSequence
instanceof SpannedString);
70
assertEquals(text,
subSequence
.toString());
73
spanned.
subSequence
(-1, text.length() + 1);
74
fail("
subSequence
failed when index is out of bounds")
[
all
...]
SpannableStringTest.java
134
CharSequence
subSequence
= spannable.
subSequence
(0, 2);
135
assertEquals("he",
subSequence
.toString());
137
subSequence
= spannable.
subSequence
(0, text.length());
138
assertEquals(text,
subSequence
.toString());
141
spannable.
subSequence
(-1, text.length() + 1);
142
fail("
subSequence
failed when index is out of bounds");
147
spannable.
subSequence
(2, 0);
148
fail("
subSequence
failed on invalid index")
[
all
...]
/art/test/022-interface/classes/
Main$SubInterfaceImpl.class
Main$1.class
/external/libphonenumber/libphonenumber/src/com/google/i18n/phonenumbers/
PhoneNumberMatch.java
28
* {@linkplain #start() start} and {@linkplain #end() end} offsets of the corresponding
subsequence
29
* of the searched text. Use {@link #rawString()} to obtain a copy of the matched
subsequence
.
45
* // start() and end() define the range of the matched
subsequence
.
46
* CharSequence
subsequence
= text.
subSequence
(m.start(), m.end());
47
* "+1 425 882-8080".contentEquals(
subsequence
);
/art/test/022-interface/src/
Main.java
64
public CharSequence
subSequence
(int s, int e) {
65
return toString().
subSequence
(s, e);
81
public CharSequence
subSequence
(int s, int e) {
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowSpannableStringBuilder.java
58
@Override public CharSequence
subSequence
(int start, int end) {
59
return builder.
subSequence
(start, end);
ShadowEditText.java
34
str = str.
subSequence
(0, maxLength);
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/util/
BrNameUtil.java
33
name.
subSequence
(3, name.length());
37
return "" + Character.toLowerCase(secondChar) + name.
subSequence
(2, name.length());
50
propertyName = name.
subSequence
(3, name.length());
52
propertyName = name.
subSequence
(2, name.length());
59
propertyName.
subSequence
(1, propertyName.length());
/developers/samples/android/ui/text/TextStyling-Kotlin/app/src/main/java/com/android/example/text/styling/parser/
Parser.kt
57
val text = string.
subSequence
(lastStartIndex, startIndex)
63
val quotedText = string.
subSequence
(endIndex, endOfQuote)
69
val text = string.
subSequence
(lastStartIndex, string.length)
98
val mark = string.
subSequence
(startIndex, endIndex)
101
parents.addAll(findElements(string.
subSequence
(lastStartIndex, startIndex),
110
text = string.
subSequence
(endIndex, endOfBulletPoint)
141
val text = string.
subSequence
(lastStartIndex, string.length)
/libcore/ojluni/src/main/java/java/io/
StringWriter.java
127
* character buffer will return a
subsequence
whose content depends upon
148
* Appends a
subsequence
of the specified character sequence to this writer.
155
* out.write(csq.
subSequence
(start, end).toString()) </pre>
158
* The character sequence from which a
subsequence
will be
164
* The index of the first character in the
subsequence
168
*
subsequence
181
write(cs.
subSequence
(start, end).toString());
CharArrayWriter.java
153
* character buffer will return a
subsequence
whose content depends upon
172
* Appends a
subsequence
of the specified character sequence to this writer.
179
* out.write(csq.
subSequence
(start, end).toString()) </pre>
182
* The character sequence from which a
subsequence
will be
188
* The index of the first character in the
subsequence
192
*
subsequence
204
String s = (csq == null ? "null" : csq).
subSequence
(start, end).toString();
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
ShadowTextUtils.java
26
return text.
subSequence
(0, (int) avail);
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/
ConstantMultiFieldModifier.java
60
return String.format("<ConstantMultiFieldModifier prefix:'%s' suffix:'%s'>", temp.
subSequence
(0, prefixLength),
61
temp.
subSequence
(prefixLength, temp.length()));
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
ConstantMultiFieldModifier.java
58
return String.format("<ConstantMultiFieldModifier prefix:'%s' suffix:'%s'>", temp.
subSequence
(0, prefixLength),
59
temp.
subSequence
(prefixLength, temp.length()));
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
CharSequencesTest.java
40
String a = toString(forAsciiBytes(bytes, 0, 3).
subSequence
(2, 3));
43
String empty = toString(forAsciiBytes(bytes, 0, 3).
subSequence
(3, 3));
/libcore/luni/src/test/java/libcore/java/lang/
OldStringBufferTest.java
294
testBuffer.
subSequence
(4, 7));
296
testBuffer.
subSequence
(10, 21));
298
testBuffer.
subSequence
(0, testBuffer.length()));
301
testBuffer.
subSequence
(0, Integer.MAX_VALUE);
308
testBuffer.
subSequence
(Integer.MAX_VALUE, testBuffer.length());
315
testBuffer.
subSequence
(-1, testBuffer.length());
/libcore/ojluni/src/main/java/java/lang/
Appendable.java
59
* the
subsequence
to append is defined by the buffer's position and limit.
74
* Appends a
subsequence
of the specified character sequence to this
82
* out.append(csq.
subSequence
(start, end)) </pre>
85
* The character sequence from which a
subsequence
will be
91
* The index of the first character in the
subsequence
95
*
subsequence
/external/icu/android_icu4j/src/main/java/android/icu/text/
FilteredNormalizer2.java
124
if(!norm2.isNormalized(s.
subSequence
(prevSpanLimit, spanLimit))) {
147
norm2.quickCheck(s.
subSequence
(prevSpanLimit, spanLimit));
172
norm2.spanQuickCheckYes(s.
subSequence
(prevSpanLimit, spanLimit));
231
dest.append(norm2.normalize(src.
subSequence
(prevSpanLimit, spanLimit), tempDest));
258
CharSequence prefix=second.
subSequence
(0, prefixLimit);
268
first.
subSequence
(suffixStart, first.length()));
278
CharSequence rest=second.
subSequence
(prefixLimit, second.length());
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
FilteredNormalizer2.java
133
if(!norm2.isNormalized(s.
subSequence
(prevSpanLimit, spanLimit))) {
157
norm2.quickCheck(s.
subSequence
(prevSpanLimit, spanLimit));
183
norm2.spanQuickCheckYes(s.
subSequence
(prevSpanLimit, spanLimit));
245
dest.append(norm2.normalize(src.
subSequence
(prevSpanLimit, spanLimit), tempDest));
272
CharSequence prefix=second.
subSequence
(0, prefixLimit);
282
first.
subSequence
(suffixStart, first.length()));
292
CharSequence rest=second.
subSequence
(prefixLimit, second.length());
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/inspector/
HeaderTextSelectorTest.java
62
testSequence.
subSequence
(mTestSelector.mStart, mTestSelector.mStop);
78
testSequence.
subSequence
(mTestSelector.mStart, mTestSelector.mStop);
91
testSequence.
subSequence
(mTestSelector.mStart, mTestSelector.mStop);
/libcore/ojluni/src/main/java/java/util/regex/
MatchResult.java
54
* Returns the start index of the
subsequence
captured by the given group
91
* Returns the offset after the last character of the
subsequence
117
* Returns the input
subsequence
matched by the previous match.
128
* @return The (possibly empty)
subsequence
matched by the previous match,
138
* Returns the input
subsequence
captured by the given group during the
160
* @return The (possibly empty)
subsequence
captured by the group
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/base/reference/
BaseStringReference.java
60
@Override public CharSequence
subSequence
(int start, int end) { return getString().
subSequence
(start, end); }
BaseTypeReference.java
64
@Override public CharSequence
subSequence
(int start, int end) { return getType().
subSequence
(start, end); }
/external/autotest/client/common_lib/
sequence_utils.py
10
Computes the length of a Longest Common
Subsequence
(LCS) of x and y.
Completed in 1559 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>