MCPcopy Create free account

hub / github.com/binaryfork/Spanny / functions

Functions21 in github.com/binaryfork/Spanny

↓ 20 callersMethodappend
Appends the character sequence {@code text} and spans {@code spans} over the appended part. @param text the character sequence to append. @param spans
spanny/src/main/java/com/binaryfork/spanny/Spanny.java:63
↓ 8 callersMethodsetSpan
Mark the specified range of text with the specified object. The flags determine how the span will behave when text is inserted at the start or end of
spanny/src/main/java/com/binaryfork/spanny/Spanny.java:120
↓ 2 callersMethodapplyCustomTypeFace
(Paint paint, Typeface tf)
app/src/main/java/com/binaryfork/spannysample/CustomTypefaceSpan.java:32
↓ 1 callersMethoddp
(int value)
app/src/main/java/com/binaryfork/spannysample/MainActivity.java:68
↓ 1 callersMethodfindAndSpan
Sets a span object to all appearances of specified text in the spannable. A new instance of a span object must be provided for each iteration because
spanny/src/main/java/com/binaryfork/spanny/Spanny.java:133
↓ 1 callersMethodgetSpan
@return A new span object should be returned.
spanny/src/main/java/com/binaryfork/spanny/Spanny.java:153
↓ 1 callersMethodspanText
Sets span objects to the text. This is more efficient than creating a new instance of Spanny or SpannableStringBuilder. @return {@code SpannableString
spanny/src/main/java/com/binaryfork/spanny/Spanny.java:161
MethodCustomAlignmentSpan
(int position)
app/src/main/java/com/binaryfork/spannysample/CustomAlignmentSpan.java:22
MethodCustomBackgroundSpan
(int color, int corner)
app/src/main/java/com/binaryfork/spannysample/CustomBackgroundSpan.java:14
MethodCustomTypefaceSpan
(Typeface type)
app/src/main/java/com/binaryfork/spannysample/CustomTypefaceSpan.java:12
MethodSpanny
()
spanny/src/main/java/com/binaryfork/spanny/Spanny.java:37
MethodappendText
@deprecated use {@link #append(CharSequence text)}
spanny/src/main/java/com/binaryfork/spanny/Spanny.java:100
Methoddraw
(Canvas canvas, CharSequence text, int start, int end, float x, int top, int y, int bottom, Paint paint)
app/src/main/java/com/binaryfork/spannysample/CustomBackgroundSpan.java:23
Methoddraw
(Canvas canvas, CharSequence text, int start, int end, float defaultX, int top,
app/src/main/java/com/binaryfork/spannysample/CustomAlignmentSpan.java:36
MethodgetSize
(Paint paint, CharSequence text, int start, int end, Paint.FontMetricsInt fm)
app/src/main/java/com/binaryfork/spannysample/CustomBackgroundSpan.java:19
MethodgetSize
(Paint paint, CharSequence text, int start, int end, Paint. FontMetricsInt fm)
app/src/main/java/com/binaryfork/spannysample/CustomAlignmentSpan.java:31
MethodgetSpan
()
app/src/main/java/com/binaryfork/spannysample/MainActivity.java:61
MethodonCreate
(Bundle savedInstanceState)
app/src/main/java/com/binaryfork/spannysample/MainActivity.java:29
MethodsetFlag
Change the flag. Default is SPAN_EXCLUSIVE_EXCLUSIVE. The flags determine how the span will behave when text is inserted at the start or end of the sp
spanny/src/main/java/com/binaryfork/spanny/Spanny.java:111
MethodupdateDrawState
(TextPaint textPaint)
app/src/main/java/com/binaryfork/spannysample/CustomTypefaceSpan.java:22
MethodupdateMeasureState
(TextPaint paint)
app/src/main/java/com/binaryfork/spannysample/CustomTypefaceSpan.java:27