MCPcopy Create free account
hub / github.com/M66B/FairEmail / nextSpanTransition

Method nextSpanTransition

app/src/main/java/eu/faircode/email/HtmlEx.java:593–600  ·  view source on GitHub ↗
(Spanned text, int start, int limit, Class type)

Source from the content-addressed store, hash-verified

591 }
592
593 private static int nextSpanTransition(Spanned text, int start, int limit, Class type) {
594 try {
595 return text.nextSpanTransition(start, limit, type);
596 } catch (Throwable ex) {
597 Log.e(ex);
598 return limit;
599 }
600 }
601
602 private static <T> T[] getSpans(Spanned text, int start, int end, Class<T> type) {
603 try {

Callers 5

withinDivMethod · 0.95
withinParagraphMethod · 0.95
renumberMethod · 0.45
getMethod · 0.45

Calls 1

eMethod · 0.95

Tested by

no test coverage detected