/frameworks/base/core/java/android/text/ |
AlteredCharSequence.java | 70 public int getSpanStart(Object span) { 71 return mSpanned.getSpanStart(span);
|
Spanned.java | 158 public int getSpanStart(Object tag);
|
SpannableStringInternal.java | 41 int st = sp.getSpanStart(spans[i]); 163 public int getSpanStart(Object what) {
|
SpannableStringBuilder.java | 76 int st = sp.getSpanStart(spans[i]) - start; 332 int st = sp.getSpanStart(spans[i]); 340 if (getSpanStart(spans[i]) < 0) { 633 public int getSpanStart(Object what) { [all...] |
Layout.java | 357 int startLine = getLineForOffset(sp.getSpanStart(margin)); [all...] |
TextUtils.java | 637 p.writeInt(sp.getSpanStart(o)); 783 printer.println(prefix + cs.subSequence(sp.getSpanStart(o), 787 + " (" + sp.getSpanStart(o) + "-" + sp.getSpanEnd(o) 813 int start = tb.getSpanStart(sources[i]); 910 int start = ((Spanned) text).getSpanStart(spans[i]); 947 int start = ((Spanned) text).getSpanStart(spans[i]); 983 int st = source.getSpanStart(spans[i]); [all...] |
/frameworks/base/core/java/android/text/method/ |
ReplacementTransformationMethod.java | 187 public int getSpanStart(Object tag) { 188 return mSpanned.getSpanStart(tag);
|
/packages/apps/Email/tests/src/com/android/emailcommon/utility/ |
TextUtilitiesTests.java | 205 assertEquals(text.indexOf("visi"), ssb.getSpanStart(span)); 216 assertEquals(text.indexOf("search word"), ssb.getSpanStart(span)); 219 assertEquals(text.indexOf("search result"), ssb.getSpanStart(span)); 232 assertEquals(text.indexOf("should"), ssb.getSpanStart(span)); 235 assertEquals(text.indexOf("visi"), ssb.getSpanStart(span)); 248 assertEquals(text.indexOf("should"), ssb.getSpanStart(span)); 260 assertEquals(text.indexOf("should"), ssb.getSpanStart(span)); 273 assertEquals(text.indexOf("shoulder"), ssb.getSpanStart(span)); 277 assertEquals(text.indexOf("s are visible"), ssb.getSpanStart(span));
|
/cts/tests/tests/text/src/android/text/cts/ |
AlteredCharSequenceTest.java | 183 public int getSpanStart(Object tag) {
|
TextUtilsTest.java | 179 assertEquals(0, strResult.getSpanStart(urlSpan)); 181 assertEquals(string1.length() + comma.length(), strResult.getSpanStart(bgColorSpan)); 225 assertEquals(0, dest1.getSpanStart(urlSpan)); 228 assertEquals(midPos - 1, dest1.getSpanStart(bgColorSpan)); 240 assertEquals(0, dest2.getSpanStart(urlSpan)); 262 assertEquals(0, dest4.getSpanStart(spans[0])); [all...] |
/packages/apps/Contacts/src/com/android/contacts/widget/ |
TextHighlightingAnimation.java | 96 public int getSpanStart(Object tag) {
|
/cts/tests/tests/text/src/android/text/method/cts/ |
MetaKeyKeyListenerTest.java | 476 public int getSpanStart(Object tag) {
|
/frameworks/base/core/tests/coretests/src/android/text/ |
TextUtilsTest.java | 59 assertEquals(1, ((Spanned) TextUtils.concat(foo)).getSpanStart("foo")); 61 assertEquals(1, ((Spanned) TextUtils.concat(foo, bar)).getSpanStart("foo")); 62 assertEquals(4, ((Spanned) TextUtils.concat(foo, bar)).getSpanStart("bar")); 64 assertEquals(1, ((Spanned) TextUtils.concat(foo, bar, baz)).getSpanStart("foo")); 65 assertEquals(4, ((Spanned) TextUtils.concat(foo, bar, baz)).getSpanStart("bar")); 66 assertEquals(7, ((Spanned) TextUtils.concat(foo, bar, baz)).getSpanStart("baz")); 140 assertEquals(start, text.getSpanStart(i)); 502 public int getSpanStart(Object tag) {
|
/frameworks/ex/chips/tests/src/com/android/ex/chips/ |
ChipsTest.java | 195 assertEquals(mEditable.getSpanStart(mMockRecips[mMockRecips.length - 1]), firstStart 240 assertEquals(mEditable.getSpanStart(moreChip), thirdStart); 270 assertEquals(view.getText().getSpanStart(moreChip), secondStart); 300 assertEquals(mEditable.getSpanStart(mMockRecips[mMockRecips.length - 3]), firstStart); 301 assertEquals(mEditable.getSpanStart(mMockRecips[mMockRecips.length - 2]), secondStart); 304 assertEquals(mEditable.getSpanStart(moreChip), thirdStart); 309 assertEquals(mEditable.getSpanStart(mMockRecips[mMockRecips.length - 3]), firstStart); 311 assertEquals(mEditable.getSpanStart(mMockRecips[mMockRecips.length - 2]), secondStart); 312 assertEquals(mEditable.getSpanStart(mMockRecips[mMockRecips.length - 1]), thirdStart); 315 assertEquals(mEditable.getSpanStart(moreChip), -1) [all...] |
/prebuilt/sdk/11/ |
android.jar | |
/prebuilt/sdk/12/ |
android.jar | |
/prebuilt/sdk/14/ |
android.jar | |
/prebuilt/sdk/9/ |
android.jar | |
/prebuilt/sdk/4/ |
android.jar | |
/prebuilt/sdk/5/ |
android.jar | |
/prebuilt/sdk/6/ |
android.jar | |
/prebuilt/sdk/8/ |
android.jar | |