(StringBuilder out, Spanned text, int option)
| 90 | } |
| 91 | |
| 92 | private /* static */ void withinHtml(StringBuilder out, Spanned text, int option) { |
| 93 | if ((option & TO_HTML_PARAGRAPH_FLAG) == TO_HTML_PARAGRAPH_LINES_CONSECUTIVE) { |
| 94 | encodeTextAlignmentByDiv(out, text, option); |
| 95 | return; |
| 96 | } |
| 97 | |
| 98 | Log.breadcrumb("withinHtml", "length", Integer.toString(text.length())); |
| 99 | withinDiv(out, text, 0, text.length(), option); |
| 100 | } |
| 101 | |
| 102 | private /* static */ void encodeTextAlignmentByDiv(StringBuilder out, Spanned text, int option) { |
| 103 | int len = text.length(); |
no test coverage detected