Searched defs:RelativeSizeSpan (Results 1 - 1 of 1) sorted by relevance

/frameworks/base/core/java/android/text/style/
H A DRelativeSizeSpan.java29 * For example, a <code>RelativeSizeSpan</code> that increases the text size by 50% can be
33 *string.setSpan(new RelativeSizeSpan(1.5f), 10, 24, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE);}</pre>
35 * <figcaption>Text increased by 50% with <code>RelativeSizeSpan</code>.</figcaption>
37 public class RelativeSizeSpan extends MetricAffectingSpan implements ParcelableSpan { class in inherits:MetricAffectingSpan,ParcelableSpan
42 * Creates a {@link RelativeSizeSpan} based on a proportion.
46 public RelativeSizeSpan(@FloatRange(from = 0) float proportion) { method in class:RelativeSizeSpan
51 * Creates a {@link RelativeSizeSpan} from a parcel.
53 public RelativeSizeSpan(@NonNull Parcel src) { method in class:RelativeSizeSpan

Completed in 504 milliseconds