Home
last modified time | relevance | path

Searched refs:FontMetricsInt (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/base/core/tests/coretests/src/android/text/
DStaticLayoutTest.java19 import android.graphics.Paint.FontMetricsInt;
44 FontMetricsInt fmi = b.paint.getFontMetricsInt(); in testGetters1()
71 FontMetricsInt fmi = b.paint.getFontMetricsInt(); in testGetters2()
87 FontMetricsInt fmi = b.paint.getFontMetricsInt(); in testGetters3()
105 FontMetricsInt fmi = b.paint.getFontMetricsInt(); in testGetters4()
126 FontMetricsInt fmi = b.paint.getFontMetricsInt(); in testGetters5()
154 FontMetricsInt fmi = b.paint.getFontMetricsInt(); in testGetters6()
175 FontMetricsInt fmi = b.paint.getFontMetricsInt(); in testGetters7()
197 FontMetricsInt fmi = b.paint.getFontMetricsInt(); in testGetters8()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DAbstractDetailsDescriptionPresenter.java17 import android.graphics.Paint.FontMetricsInt;
50 private final FontMetricsInt mTitleFontMetricsInt;
51 private final FontMetricsInt mSubtitleFontMetricsInt;
52 private final FontMetricsInt mBodyFontMetricsInt;
62 FontMetricsInt titleFontMetricsInt = getFontMetricsInt(mTitle); in ViewHolder()
143 private FontMetricsInt getFontMetricsInt(TextView textView) { in getFontMetricsInt()
DStreamingTextView.java280 Paint.FontMetricsInt fontMetricsInt) { in getSize()
/frameworks/base/core/java/android/text/style/
DLineHeightSpan.java27 Paint.FontMetricsInt fm); in chooseHeight()
32 Paint.FontMetricsInt fm, TextPaint paint); in chooseHeight()
DReplacementSpan.java27 Paint.FontMetricsInt fm); in getSize()
DIconMarginSpan.java56 Paint.FontMetricsInt fm) { in chooseHeight()
DDrawableMarginSpan.java59 Paint.FontMetricsInt fm) { in chooseHeight()
DDynamicDrawableSpan.java76 Paint.FontMetricsInt fm) { in getSize()
/frameworks/opt/chips/src/com/android/ex/chips/recipientchip/
DReplacementDrawableSpan.java28 private void setupFontMetrics(Paint.FontMetricsInt fm, Paint paint) { in setupFontMetrics()
45 public int getSize(Paint paint, CharSequence text, int i, int i2, Paint.FontMetricsInt fm) { in getSize()
DInvisibleRecipientChip.java102 final Paint.FontMetricsInt fm) { in getSize()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
DErrorFragment.java31 import android.graphics.Paint.FontMetricsInt;
217 FontMetricsInt metrics = getFontMetricsInt(mTextView); in onCreateView()
278 private static FontMetricsInt getFontMetricsInt(TextView textView) { in getFontMetricsInt()
DErrorSupportFragment.java33 import android.graphics.Paint.FontMetricsInt;
219 FontMetricsInt metrics = getFontMetricsInt(mTextView); in onCreateView()
280 private static FontMetricsInt getFontMetricsInt(TextView textView) { in getFontMetricsInt()
/frameworks/base/core/java/android/text/
DTextLine.java22 import android.graphics.Paint.FontMetricsInt;
269 float metrics(FontMetricsInt fmi) { in metrics()
286 float measure(int offset, boolean trailing, FontMetricsInt fmi) { in measure()
416 FontMetricsInt fmi) {
684 private static void expandMetricsFromPaint(FontMetricsInt fmi, TextPaint wp) { in expandMetricsFromPaint()
697 static void updateMetrics(FontMetricsInt fmi, int previousTop, int previousAscent, in updateMetrics()
727 FontMetricsInt fmi, boolean needWidth) { in handleText()
817 float x, int top, int y, int bottom, FontMetricsInt fmi, in handleReplacement()
882 int bottom, FontMetricsInt fmi, boolean needWidth) { in handleRun()
DMeasuredText.java163 float addStyleRun(TextPaint paint, int len, Paint.FontMetricsInt fm) { in addStyleRun()
216 Paint.FontMetricsInt fm) { in addStyleRun()
DStaticLayout.java406 Paint.FontMetricsInt mFontMetricsInt = new Paint.FontMetricsInt();
586 Paint.FontMetricsInt fm = b.mFontMetricsInt;
864 Paint.FontMetricsInt fm, int flags,
DBoringLayout.java428 public static class Metrics extends Paint.FontMetricsInt {
DDynamicLayout.java160 Paint.FontMetricsInt fm = paint.getFontMetricsInt(); in DynamicLayout()
/frameworks/base/services/core/java/com/android/server/wm/
DWatermark.java25 import android.graphics.Paint.FontMetricsInt;
91 FontMetricsInt fm = mTextPaint.getFontMetricsInt(); in Watermark()
/frameworks/base/graphics/java/android/graphics/
DPaint.java1430 public static class FontMetricsInt { class in Paint
1454 public native int getFontMetricsInt(FontMetricsInt fmi); in getFontMetricsInt()
1456 public FontMetricsInt getFontMetricsInt() { in getFontMetricsInt()
1457 FontMetricsInt fm = new FontMetricsInt(); in getFontMetricsInt()
/frameworks/base/core/java/android/content/res/
DStringBlock.java413 Paint.FontMetricsInt fm) { in chooseHeight()
420 Paint.FontMetricsInt fm, TextPaint paint) { in chooseHeight()
/frameworks/base/core/java/com/android/internal/widget/
DPointerLocationView.java23 import android.graphics.Paint.FontMetricsInt;
120 private final FontMetricsInt mTextMetrics = new FontMetricsInt();
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DPaint_Delegate.java28 import android.graphics.Paint.FontMetricsInt;
579 /*package*/ static int getFontMetricsInt(Paint thisPaint, FontMetricsInt fmi) { in getFontMetricsInt()
/frameworks/base/
Dpreloaded-classes795 android.graphics.Paint$FontMetricsInt
/frameworks/base/api/
Dcurrent.txt11534 method public int getFontMetricsInt(android.graphics.Paint.FontMetricsInt);
11535 method public android.graphics.Paint.FontMetricsInt getFontMetricsInt();
11656 public static class Paint.FontMetricsInt {
11657 ctor public Paint.FontMetricsInt();
32019 public static class BoringLayout.Metrics extends android.graphics.Paint.FontMetricsInt {
32976 …id chooseHeight(java.lang.CharSequence, int, int, int, int, android.graphics.Paint.FontMetricsInt);
32986 …e(android.graphics.Paint, java.lang.CharSequence, int, int, android.graphics.Paint.FontMetricsInt);
33018 …id chooseHeight(java.lang.CharSequence, int, int, int, int, android.graphics.Paint.FontMetricsInt);
33065 …id chooseHeight(java.lang.CharSequence, int, int, int, int, android.graphics.Paint.FontMetricsInt);
33069 …t(java.lang.CharSequence, int, int, int, int, android.graphics.Paint.FontMetricsInt, android.text.…
[all …]
Dsystem-current.txt11871 method public int getFontMetricsInt(android.graphics.Paint.FontMetricsInt);
11872 method public android.graphics.Paint.FontMetricsInt getFontMetricsInt();
11993 public static class Paint.FontMetricsInt {
11994 ctor public Paint.FontMetricsInt();
34311 public static class BoringLayout.Metrics extends android.graphics.Paint.FontMetricsInt {
35268 …id chooseHeight(java.lang.CharSequence, int, int, int, int, android.graphics.Paint.FontMetricsInt);
35278 …e(android.graphics.Paint, java.lang.CharSequence, int, int, android.graphics.Paint.FontMetricsInt);
35310 …id chooseHeight(java.lang.CharSequence, int, int, int, int, android.graphics.Paint.FontMetricsInt);
35357 …id chooseHeight(java.lang.CharSequence, int, int, int, int, android.graphics.Paint.FontMetricsInt);
35361 …t(java.lang.CharSequence, int, int, int, int, android.graphics.Paint.FontMetricsInt, android.text.…
[all …]

12