public class SubscriptSpan extends MetricAffectingSpan implements ParcelableSpan
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
Constructor and Description |
---|
SubscriptSpan() |
SubscriptSpan(Parcel src) |
Modifier and Type | Method and Description |
---|---|
int |
describeContents()
Describe the kinds of special objects contained in this Parcelable's
marshalled representation.
|
int |
getSpanTypeId()
Return a special type identifier for this span class.
|
void |
updateDrawState(TextPaint tp) |
void |
updateMeasureState(TextPaint tp) |
void |
writeToParcel(Parcel dest,
int flags)
Flatten this object in to a Parcel.
|
getUnderlying
wrap
public SubscriptSpan()
public SubscriptSpan(Parcel src)
public int getSpanTypeId()
ParcelableSpan
getSpanTypeId
in interface ParcelableSpan
public int describeContents()
Parcelable
describeContents
in interface Parcelable
public void writeToParcel(Parcel dest, int flags)
Parcelable
writeToParcel
in interface Parcelable
dest
- The Parcel in which the object should be written.flags
- Additional flags about how the object should be written.
May be 0 or Parcelable.PARCELABLE_WRITE_RETURN_VALUE
.public void updateDrawState(TextPaint tp)
updateDrawState
in class CharacterStyle
public void updateMeasureState(TextPaint tp)
updateMeasureState
in class MetricAffectingSpan