java.lang.Object | |
↳ | com.android.contacts.TextHighlightingAnimation |
An animation that alternately dims and brightens the non-highlighted portion of text.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
TextHighlightingAnimation.TextWithHighlighting | A Spanned that highlights a part of text by dimming another part of that text. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructor.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns a Spanned that can be used by a text view to show text with highlighting.
| |||||||||||
Animation step.
| |||||||||||
Starts the highlighting animation, which will dim portions of text.
| |||||||||||
Starts un-highlighting animation, which will brighten the dimmed portions of text
to the brightness level of the rest of text.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Override and invalidate (redraw) TextViews showing
TextHighlightingAnimation.TextWithHighlighting . | |||||||||||
Called when the animation has stopped.
| |||||||||||
Called when the animation starts.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
java.lang.Runnable
|
Constructor.
Returns a Spanned that can be used by a text view to show text with highlighting.
Animation step.
Starts the highlighting animation, which will dim portions of text.
Starts un-highlighting animation, which will brighten the dimmed portions of text to the brightness level of the rest of text.
Override and invalidate (redraw) TextViews showing TextHighlightingAnimation.TextWithHighlighting
.
Called when the animation has stopped.
Called when the animation starts.