/cts/tests/tests/text/src/android/text/cts/ |
SpannedStringTest.java | 35 SpannedString spanned = SpannedString.valueOf(text); local 36 assertEquals(text, spanned.toString()); 38 spanned = new SpannedString(text); 39 assertSame(spanned, SpannedString.valueOf(spanned)); 50 SpannedString spanned = new SpannedString(text); local 52 CharSequence subSequence = spanned.subSequence(0, 2); 56 subSequence = spanned.subSequence(0, text.length()); 61 spanned.subSequence(-1, text.length() + 1); 67 spanned.subSequence(2, 0) [all...] |
HtmlTest.java | 24 import android.text.Spanned; 43 Spanned spanned = Html.fromHtml(source); local 44 assertSingleTagOnWhileString(spanned); 45 spanned = Html.fromHtml(source, null, null); 46 assertSingleTagOnWhileString(spanned); 49 private void assertSingleTagOnWhileString(Spanned spanned) { 56 Object[] spans = spanned.getSpans(start, end, Object.class); 58 assertEquals(expectStart, spanned.getSpanStart(spans[0])) 65 Spanned spanned = Html.fromHtml(source); local 84 String spanned = Html.fromHtml(source).toString(); local [all...] |
AlteredCharSequenceTest.java | 21 import android.text.Spanned; 108 MockSpanned spanned = new MockSpanned("This is a spanned."); local 109 mAlteredCharSequence = AlteredCharSequence.make(spanned, sub, 0, sub.length); 140 class MockSpanned implements Spanned {
|
TextUtilsTest.java | 35 import android.text.Spanned; 151 string1.setSpan(urlSpan, 0, string1.length() - 1, Spanned.SPAN_INCLUSIVE_INCLUSIVE); 153 string2.setSpan(bgColorSpan, 0, string2.length() - 1, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); 156 Spanned strResult = (Spanned) TextUtils.concat(string1, comma, string2); 190 source1.setSpan(urlSpan, 0, midPos, Spanned.SPAN_INCLUSIVE_INCLUSIVE); 193 source1.length() - 1, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); 206 assertEquals(Spanned.SPAN_INCLUSIVE_INCLUSIVE, dest1.getSpanFlags(urlSpan)); 209 assertEquals(Spanned.SPAN_EXCLUSIVE_EXCLUSIVE, dest1.getSpanFlags(bgColorSpan)); 212 source2.setSpan(urlSpan, 0, source2.length() - 1, Spanned.SPAN_EXCLUSIVE_INCLUSIVE) 2030 SpannableString spanned = new SpannableString(source); local [all...] |
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/common/ |
traverse_table.js | 29 * Whether or not the active cell is spanned by a preceding cell. 32 ShadowTableNode.prototype.spanned; 36 * Whether or not this cell is spanned by a rowSpan. 43 * Whether or not this cell is spanned by a colspan 137 * that shadow nodes that have spanned set to true will not be included in 438 // This position is not spanned. 439 shadowNode.spanned = false; 450 // This position is spanned. 451 shadowNode.spanned = true; 491 if (! shadowNode.spanned) { [all...] |
traverse_content.js | 188 * @return {string} The current spanned content.
|
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/walkers/ |
table_shifter.js | 98 annotation: cvox.ChromeVox.msgs.getMsg('spanned')
|
/external/libvorbis/doc/ |
a1-encapsulation-ogg.tex | 121 subsequent block. A page that is entirely spanned by a single
|
/external/chromium_org/chrome/third_party/chromevox/ |
chromeVoxChromePageScript.js | [all...] |