HomeSort by relevance Sort by last modified time
    Searched refs:Spanned (Results 76 - 100 of 150) sorted by null

1 2 34 5 6

  /frameworks/base/core/java/android/text/
SpannableStringBuilder.java 79 if (text instanceof Spanned) {
80 Spanned sp = (Spanned) text;
275 * See {@link Spanned} for an explanation of what the flags mean.
277 * @param what the object to be spanned over the appended text.
278 * @param flags see {@link Spanned}.
309 if ((mSpanFlags[i] & Spanned.SPAN_EXCLUSIVE_EXCLUSIVE) ==
310 Spanned.SPAN_EXCLUSIVE_EXCLUSIVE &&
417 if (cs instanceof Spanned) {
418 Spanned sp = (Spanned) cs
589 Spanned spanned = (Spanned) text; local
    [all...]
BoringLayout.java 291 if (boring && text instanceof Spanned) {
292 Spanned sp = (Spanned) text;
MeasuredText.java 118 if (text instanceof Spanned) {
119 Spanned spanned = (Spanned) text; local
120 ReplacementSpan[] spans = spanned.getSpans(start, end,
124 int startInPara = spanned.getSpanStart(spans[i]) - start;
125 int endInPara = spanned.getSpanEnd(spans[i]) - start;
DynamicLayout.java 104 : (display instanceof Spanned)
229 if (text instanceof Spanned) {
230 Spanned sp = (Spanned) text;
  /external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/widget/
NumberPicker.java 23 import android.text.Spanned;
316 public CharSequence filter(CharSequence source, int start, int end, Spanned dest, int dstart,
350 public CharSequence filter(CharSequence source, int start, int end, Spanned dest, int dstart,
  /frameworks/base/core/java/android/widget/
DialerFilter.java 25 import android.text.Spanned;
362 span.setSpan(watcher, 0, text.length(), Spanned.SPAN_INCLUSIVE_INCLUSIVE);
368 span.setSpan(watcher, 0, text.length(), Spanned.SPAN_INCLUSIVE_INCLUSIVE);
SpellChecker.java 22 import android.text.Spanned;
197 editable.setSpan(spellCheckSpan, start, end, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE);
497 editable.setSpan(suggestionSpan, start, end, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE);
532 editable.setSpan(mRange, start, end, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE);
    [all...]
  /frameworks/base/core/java/android/text/method/
BaseKeyListener.java 91 if (!(text instanceof Spanned)) {
95 ReplacementSpan[] spans = ((Spanned) text).getSpans(offset, offset, ReplacementSpan.class);
97 final int start = ((Spanned) text).getSpanStart(spans[i]);
98 final int end = ((Spanned) text).getSpanEnd(spans[i]);
MetaKeyKeyListener.java 22 import android.text.Spanned;
251 if (!(text instanceof Spanned)) {
255 Spanned sp = (Spanned) text;
  /frameworks/base/core/tests/coretests/src/android/widget/
SuggestionsPopupWindowTest.java 48 import android.text.Spanned;
78 text.setSpan(span, start, end, Spanned.SPAN_INCLUSIVE_INCLUSIVE);
316 final Spanned spanned = (Spanned) suggestion.getText();
317 assertNotNull(spanned);
326 assertEquals(expectedText, spanned.toString());
329 final TextAppearanceSpan[] taSpan = spanned.getSpans(
347 assertEquals(expectedStart, spanned.getSpanStart(taSpan[0]));
348 assertEquals(expectedEnd, spanned.getSpanEnd(taSpan[0]))
    [all...]
  /packages/apps/TV/src/com/android/tv/guide/
ProgramItemView.java 29 import android.text.Spanned;
297 description.setSpan(titleStyle, 0, middle, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE);
299 Spanned.SPAN_EXCLUSIVE_EXCLUSIVE);
302 Spanned.SPAN_EXCLUSIVE_EXCLUSIVE);
  /cts/tests/tests/text/src/android/text/cts/
TextUtilsTest.java 35 import android.text.Spanned;
148 string1.setSpan(urlSpan, 0, string1.length() - 1, Spanned.SPAN_INCLUSIVE_INCLUSIVE);
150 string2.setSpan(bgColorSpan, 0, string2.length() - 1, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE);
153 Spanned strResult = (Spanned) TextUtils.concat(string1, comma, string2);
187 source1.setSpan(urlSpan, 0, midPos, Spanned.SPAN_INCLUSIVE_INCLUSIVE);
190 source1.length() - 1, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE);
203 assertEquals(Spanned.SPAN_INCLUSIVE_INCLUSIVE, dest1.getSpanFlags(urlSpan));
206 assertEquals(Spanned.SPAN_EXCLUSIVE_EXCLUSIVE, dest1.getSpanFlags(bgColorSpan));
209 source2.setSpan(urlSpan, 0, source2.length() - 1, Spanned.SPAN_EXCLUSIVE_INCLUSIVE)
2041 SpannableString spanned = new SpannableString(source); local
    [all...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
CursorAnchorInfoUtils.java 27 import android.text.Spanned;
153 if ((spanFlag & Spanned.SPAN_COMPOSING) != 0) {
  /frameworks/base/packages/SettingsLib/src/com/android/settingslib/
RestrictedLockUtils.java 31 import android.text.Spanned;
581 Spanned.SPAN_EXCLUSIVE_EXCLUSIVE);
583 sb.append(" ", image, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE);
670 sb.append(" ", image, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE);
687 Spanned.SPAN_EXCLUSIVE_EXCLUSIVE);
    [all...]
  /packages/apps/UnifiedEmail/src/com/google/android/mail/common/html/parser/
HtmlTree.java 18 import android.text.Spanned;
112 private Spanned constructedSpan;
593 // Spanned view of the html tree
596 * @return a Spanned representation of the html tree
598 public Spanned getSpanned() {
618 Converter<Spanned> converter = (Converter<Spanned>) converterFactory.createInstance();
    [all...]
  /packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
OpenWnnEN.java 27 import android.text.Spanned;
837 Spanned.SPAN_EXCLUSIVE_EXCLUSIVE);
841 Spanned.SPAN_EXCLUSIVE_EXCLUSIVE);
843 Spanned.SPAN_EXCLUSIVE_EXCLUSIVE);
847 Spanned.SPAN_EXCLUSIVE_EXCLUSIVE);
    [all...]
  /packages/apps/ExactCalculator/src/com/android/calculator2/
CalculatorResult.java 27 import android.text.Spanned;
527 Spanned.SPAN_EXCLUSIVE_EXCLUSIVE);
560 text.setSpan(mHighlightSpan, 0, text.length(), Spanned.SPAN_EXCLUSIVE_EXCLUSIVE);
  /development/samples/ApiDemos/src/com/example/android/apis/content/
TextUndoActivity.java 25 import android.text.Spanned;
  /frameworks/base/core/java/android/content/
ClipData.java 30 import android.text.Spanned;
391 if (text instanceof Spanned) {
421 * {@link Html#toHtml(Spanned) Html.toHtml(Spanned)} is used to
449 if (text instanceof Spanned) {
450 return Html.toHtml((Spanned)text);
    [all...]
  /frameworks/base/core/java/com/android/internal/util/
NotificationColorUtil.java 35 import android.text.Spanned;
181 if (charSequence instanceof Spanned) {
182 Spanned ss = (Spanned) charSequence;
  /packages/apps/Dialer/tests/src/com/android/dialer/calllog/
PhoneCallDetailsHelperTest.java 27 import android.text.Spanned;
194 /** Asserts that a char sequence is actually a Spanned corresponding to the expected HTML. */
196 // In order to contain HTML, the text should actually be a Spanned.
197 assertTrue(actualText instanceof Spanned);
198 Spanned actualSpanned = (Spanned) actualText;
  /packages/apps/UnifiedEmail/src/com/android/mail/ui/
ConversationSyncDisabledTipView.java 26 import android.text.Spanned;
  /frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
BatteryTile.java 26 import android.text.Spanned;
244 Spanned.SPAN_INCLUSIVE_EXCLUSIVE);
  /packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/EN/
TutorialEN.java 44 import android.text.Spanned;
248 spannable.setSpan(span, target, target + 1, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE);
  /cts/tests/tests/text/src/android/text/method/cts/
LinkMovementMethodTest.java 26 import android.text.Spanned;
112 assertEquals(Spanned.SPAN_POINT_POINT, spannable.getSpanFlags(span));
464 mSpannable.setSpan(clickableSpan, start, end, Spanned.SPAN_MARK_MARK);

Completed in 1938 milliseconds

1 2 34 5 6