Methods Summary |
---|
private static void | apply(android.graphics.Paint paint, java.util.Locale locale)
paint.setTextLocale(locale);
|
public int | describeContents()
return 0;
|
public java.util.Locale | getLocale()Returns the {@link Locale}.
return mLocale;
|
public int | getSpanTypeId()
return TextUtils.LOCALE_SPAN;
|
public void | updateDrawState(android.text.TextPaint ds)
apply(ds, mLocale);
|
public void | updateMeasureState(android.text.TextPaint paint)
apply(paint, mLocale);
|
public void | writeToParcel(android.os.Parcel dest, int flags)
dest.writeString(mLocale.getLanguage());
dest.writeString(mLocale.getCountry());
dest.writeString(mLocale.getVariant());
|