Public Constructors |
|
ImageSpan(Bitmap b)
|
|
ImageSpan(Bitmap b, int verticalAlignment)
This constructor was deprecated
in API level 4.
Use {@link #ImageSpan(Context, Bitmap, int) instead.
|
|
ImageSpan(Context context, Bitmap b)
|
|
ImageSpan(Context context, Bitmap b, int verticalAlignment)
|
|
ImageSpan(Drawable d)
|
|
ImageSpan(Drawable d, int verticalAlignment)
|
|
ImageSpan(Drawable d, String source)
|
|
ImageSpan(Drawable d, String source, int verticalAlignment)
|
|
ImageSpan(Context context, Uri uri)
|
|
ImageSpan(Context context, Uri uri, int verticalAlignment)
|
|
ImageSpan(Context context, int resourceId)
|
|
ImageSpan(Context context, int resourceId, int verticalAlignment)
|
[Expand]
Inherited Methods |
From class
android.text.style.DynamicDrawableSpan
void
|
draw(Canvas canvas, CharSequence text, int start, int end, float x, int top, int y, int bottom, Paint paint)
|
abstract
Drawable
|
getDrawable()
Your subclass must implement this method to provide the bitmap
to be drawn.
|
int
|
getSize(Paint paint, CharSequence text, int start, int end, Paint.FontMetricsInt fm)
|
int
|
getVerticalAlignment()
|
|
From class
android.text.style.ReplacementSpan
abstract
void
|
draw(Canvas canvas, CharSequence text, int start, int end, float x, int top, int y, int bottom, Paint paint)
|
abstract
int
|
getSize(Paint paint, CharSequence text, int start, int end, Paint.FontMetricsInt fm)
|
void
|
updateDrawState(TextPaint ds)
This method does nothing, since ReplacementSpans are drawn
explicitly instead of affecting Paint properties.
|
void
|
updateMeasureState(TextPaint p)
This method does nothing, since ReplacementSpans are measured
explicitly instead of affecting Paint properties.
|
|
From class
android.text.style.MetricAffectingSpan
|
From class
android.text.style.CharacterStyle
|
From class
java.lang.Object
Object
|
clone()
Creates and returns a copy of this Object .
|
boolean
|
equals(Object o)
Compares this instance with the specified object and indicates if they
are equal.
|
void
|
finalize()
Invoked when the garbage collector has detected that this instance is no longer reachable.
|
final
Class<?>
|
getClass()
Returns the unique instance of Class that represents this
object's class.
|
int
|
hashCode()
Returns an integer hash code for this object.
|
final
void
|
notify()
Causes a thread which is waiting on this object's monitor (by means of
calling one of the wait() methods) to be woken up.
|
final
void
|
notifyAll()
Causes all threads which are waiting on this object's monitor (by means
of calling one of the wait() methods) to be woken up.
|
String
|
toString()
Returns a string containing a concise, human-readable description of this
object.
|
final
void
|
wait()
Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object.
|
final
void
|
wait(long millis, int nanos)
Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object or until the
specified timeout expires.
|
final
void
|
wait(long millis)
Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object or until the
specified timeout expires.
|
|