FileDocCategorySizeDatePackage
AbsoluteSizeSpan.javaAPI DocAndroid 1.5 API1548Wed May 06 22:41:56 BST 2009android.text.style

AbsoluteSizeSpan

public class AbsoluteSizeSpan extends MetricAffectingSpan implements android.text.ParcelableSpan

Fields Summary
private final int
mSize
Constructors Summary
public AbsoluteSizeSpan(int size)

        mSize = size;
    
public AbsoluteSizeSpan(android.os.Parcel src)

        mSize = src.readInt();
    
Methods Summary
public intdescribeContents()

        return 0;
    
public intgetSize()

        return mSize;
    
public intgetSpanTypeId()

        return TextUtils.ABSOLUTE_SIZE_SPAN;
    
public voidupdateDrawState(android.text.TextPaint ds)

        ds.setTextSize(mSize);
    
public voidupdateMeasureState(android.text.TextPaint ds)

        ds.setTextSize(mSize);
    
public voidwriteToParcel(android.os.Parcel dest, int flags)

        dest.writeInt(mSize);