Code examples for SpannedString

Codota analyzed 7,668,838 open source code samples to find the most common, credible and clear examples.
You can now enable Codota on your own code to easily search and navigate your Java codebase.
63:	RelativeSizeSpan[] sizeSpan = spannable.getSpans(0, spannable.length(), RelativeSizeSpan.class); 
-
65:	assertEquals(0, spannable.getSpanStart(sizeSpan[0])); 
Full Snippet Info
8
CodeRank
72:	checkPostProcess(HtmlUtils.postprocess(getContext(), new SpannedString(builder))); 
Full Snippet Info
7
CodeRank
72:	checkPostProcess(HtmlUtils.postprocess(getContext(), new SpannedString(builder))); 
Full Snippet Info
6
CodeRank
80:	CharSequence charSeq = new SpannedString(mString); 
81:	mTextView.setText(charSeq); 
Full Snippet Info
5
CodeRank
73:	SpannedString s = new SpannedString(TablatureHolder.getInstance().getSelectedTab().getDetails()); 
74:	webview.loadData(Html.toHtml(s), "text/html", null); 
Full Snippet Info
4
CodeRank
80:	CharSequence charSeq = new SpannedString(mString); 
Full Snippet Info
4
CodeRank
41:	if (source == null || TextUtils.isEmpty(source)) return new SpannedString(""); 
Full Snippet Info
4
CodeRank
153:	this.text = new SpannedString(""); 
Full Snippet Info
3
CodeRank