Home
last modified time | relevance | path

Searched refs:TextPaint (Results 1 – 25 of 65) sorted by relevance

123

/frameworks/base/core/java/android/text/
DTextPaint.java26 public class TextPaint extends Paint { class
48 public TextPaint() { in TextPaint() method in TextPaint
52 public TextPaint(int flags) { in TextPaint() method in TextPaint
56 public TextPaint(Paint p) { in TextPaint() method in TextPaint
64 public void set(TextPaint tp) { in set()
DBoringLayout.java39 TextPaint paint, int outerwidth, in make()
49 TextPaint paint, int outerwidth, in make()
64 public BoringLayout replaceOrMake(CharSequence source, TextPaint paint, in replaceOrMake()
86 public BoringLayout replaceOrMake(CharSequence source, TextPaint paint, in replaceOrMake()
119 TextPaint paint, int outerwidth, in BoringLayout()
134 TextPaint paint, int outerwidth, in BoringLayout()
169 TextPaint paint, int outerwidth, in init()
219 TextPaint paint) { in isBoring()
228 public static Metrics isBoring(CharSequence text, TextPaint paint, Metrics metrics) { in isBoring()
267 public static Metrics isBoring(CharSequence text, TextPaint paint, in isBoring()
DMeasuredText.java41 private TextPaint mWorkPaint;
45 mWorkPaint = new TextPaint(); in MeasuredText()
163 float addStyleRun(TextPaint paint, int len, Paint.FontMetricsInt fm) { in addStyleRun()
174 if (mBuilder == null || paint.getClass() != TextPaint.class) { in addStyleRun()
215 float addStyleRun(TextPaint paint, MetricAffectingSpan[] spans, int len, in addStyleRun()
218 TextPaint workPaint = mWorkPaint; in addStyleRun()
/frameworks/base/core/java/android/text/style/
DMetricAffectingSpan.java19 import android.text.TextPaint;
29 public abstract void updateMeasureState(TextPaint p); in updateMeasureState()
63 public void updateDrawState(TextPaint tp) { in updateDrawState()
71 public void updateMeasureState(TextPaint tp) { in updateMeasureState()
DCharacterStyle.java19 import android.text.TextPaint;
27 public abstract void updateDrawState(TextPaint tp); in updateDrawState()
74 public void updateDrawState(TextPaint tp) { in updateDrawState()
DSuperscriptSpan.java21 import android.text.TextPaint;
53 public void updateDrawState(TextPaint tp) { in updateDrawState()
58 public void updateMeasureState(TextPaint tp) { in updateMeasureState()
DSubscriptSpan.java21 import android.text.TextPaint;
53 public void updateDrawState(TextPaint tp) { in updateDrawState()
58 public void updateMeasureState(TextPaint tp) { in updateMeasureState()
DReplacementSpan.java24 import android.text.TextPaint;
67 public void updateMeasureState(TextPaint p) { } in updateMeasureState()
73 public void updateDrawState(TextPaint ds) { } in updateDrawState()
DRelativeSizeSpan.java21 import android.text.TextPaint;
63 public void updateDrawState(TextPaint ds) { in updateDrawState()
68 public void updateMeasureState(TextPaint ds) { in updateMeasureState()
DScaleXSpan.java21 import android.text.TextPaint;
63 public void updateDrawState(TextPaint ds) { in updateDrawState()
68 public void updateMeasureState(TextPaint ds) { in updateMeasureState()
DAbsoluteSizeSpan.java21 import android.text.TextPaint;
83 public void updateDrawState(TextPaint ds) { in updateDrawState()
92 public void updateMeasureState(TextPaint ds) { in updateMeasureState()
DTypefaceSpan.java23 import android.text.TextPaint;
74 public void updateDrawState(TextPaint ds) { in updateDrawState()
79 public void updateMeasureState(TextPaint paint) { in updateMeasureState()
DStyleSpan.java23 import android.text.TextPaint;
82 public void updateDrawState(TextPaint ds) { in updateDrawState()
87 public void updateMeasureState(TextPaint paint) { in updateMeasureState()
DLocaleSpan.java25 import android.text.TextPaint;
117 public void updateDrawState(TextPaint ds) { in updateDrawState()
122 public void updateMeasureState(TextPaint paint) { in updateMeasureState()
DMaskFilterSpan.java20 import android.text.TextPaint;
35 public void updateDrawState(TextPaint ds) { in updateDrawState()
DRasterizerSpan.java20 import android.text.TextPaint;
38 public void updateDrawState(TextPaint ds) { in updateDrawState()
DClickableSpan.java19 import android.text.TextPaint;
42 public void updateDrawState(TextPaint ds) { in updateDrawState()
DLineHeightSpan.java20 import android.text.TextPaint;
32 Paint.FontMetricsInt fm, TextPaint paint); in chooseHeight()
DStrikethroughSpan.java21 import android.text.TextPaint;
54 public void updateDrawState(TextPaint ds) { in updateDrawState()
DUnderlineSpan.java21 import android.text.TextPaint;
54 public void updateDrawState(TextPaint ds) { in updateDrawState()
DBackgroundColorSpan.java21 import android.text.TextPaint;
64 public void updateDrawState(TextPaint ds) { in updateDrawState()
DSuggestionRangeSpan.java21 import android.text.TextPaint;
72 public void updateDrawState(TextPaint tp) { in updateDrawState()
/frameworks/base/apct-tests/perftests/core/src/android/graphics/perftests/
DPaintMeasureTextTest.java23 import android.text.TextPaint;
73 TextPaint paint = new TextPaint(); in testMeasureTextPerf()
/frameworks/base/tests/BiDiTests/src/com/android/bidi/
DBiDiTestViewDrawText.java24 import android.text.TextPaint;
59 final TextPaint paint = new TextPaint(); in onDraw()
/frameworks/base/core/tests/coretests/src/android/text/
DTextLayoutTest.java30 private TextPaint mPaint;
35 mPaint = new TextPaint(); in setup()

123