Home
last modified time | relevance | path

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

12

/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DAbstractDetailsDescriptionPresenter.java17 import android.graphics.Paint.FontMetricsInt;
50 final FontMetricsInt mTitleFontMetricsInt;
51 final FontMetricsInt mSubtitleFontMetricsInt;
52 final FontMetricsInt mBodyFontMetricsInt;
62 FontMetricsInt titleFontMetricsInt = getFontMetricsInt(mTitle); in ViewHolder()
143 private FontMetricsInt getFontMetricsInt(TextView textView) { in getFontMetricsInt()
DStreamingTextView.java279 Paint.FontMetricsInt fontMetricsInt) { in getSize()
/frameworks/support/emoji/core/src/android/support/text/emoji/
DEmojiSpan.java38 private final Paint.FontMetricsInt mTmpFontMetrics = new Paint.FontMetricsInt();
77 final int end, final Paint.FontMetricsInt fm) { in getSize()
/frameworks/base/core/tests/coretests/src/android/text/
DStaticLayoutTest.java22 import android.graphics.Paint.FontMetricsInt;
45 FontMetricsInt fmi = b.paint.getFontMetricsInt(); in testGetters1()
72 FontMetricsInt fmi = b.paint.getFontMetricsInt(); in testGetters2()
88 FontMetricsInt fmi = b.paint.getFontMetricsInt(); in testGetters3()
106 FontMetricsInt fmi = b.paint.getFontMetricsInt(); in testGetters4()
127 FontMetricsInt fmi = b.paint.getFontMetricsInt(); in testGetters5()
155 FontMetricsInt fmi = b.paint.getFontMetricsInt(); in testGetters6()
176 FontMetricsInt fmi = b.paint.getFontMetricsInt(); in testGetters7()
198 FontMetricsInt fmi = b.paint.getFontMetricsInt(); in testGetters8()
/frameworks/base/core/java/android/text/style/
DLineHeightSpan.java27 Paint.FontMetricsInt fm); in chooseHeight()
32 Paint.FontMetricsInt fm, TextPaint paint); in chooseHeight()
DReplacementSpan.java44 @Nullable 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/support/emoji/core/tests/java/android/support/text/emoji/
DEmojiSpanTest.java31 import android.graphics.Paint.FontMetricsInt;
63 when(paint.getFontMetricsInt(any(FontMetricsInt.class))).thenAnswer(new Answer<Object>() { in testGetSize()
66 final FontMetricsInt fontMetrics = (FontMetricsInt) invocation.getArguments()[0]; in testGetSize()
/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.java103 final Paint.FontMetricsInt fm) { in getSize()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
DErrorSupportFragment.java20 import android.graphics.Paint.FontMetricsInt;
178 FontMetricsInt metrics = getFontMetricsInt(mTextView); in onCreateView()
232 private static FontMetricsInt getFontMetricsInt(TextView textView) { in getFontMetricsInt()
DErrorFragment.java17 import android.graphics.Paint.FontMetricsInt;
175 FontMetricsInt metrics = getFontMetricsInt(mTextView); in onCreateView()
229 private static FontMetricsInt getFontMetricsInt(TextView textView) { in getFontMetricsInt()
/frameworks/base/core/java/android/text/
DTextLine.java21 import android.graphics.Paint.FontMetricsInt;
271 float metrics(FontMetricsInt fmi) { in metrics()
288 float measure(int offset, boolean trailing, FontMetricsInt fmi) { in measure()
407 FontMetricsInt fmi) {
676 private static void expandMetricsFromPaint(FontMetricsInt fmi, TextPaint wp) { in expandMetricsFromPaint()
689 static void updateMetrics(FontMetricsInt fmi, int previousTop, int previousAscent, in updateMetrics()
720 FontMetricsInt fmi, boolean needWidth, int offset) { in handleText()
811 float x, int top, int y, int bottom, FontMetricsInt fmi, in handleReplacement()
888 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.java423 Paint.FontMetricsInt mFontMetricsInt = new Paint.FontMetricsInt();
604 Paint.FontMetricsInt fm = b.mFontMetricsInt;
892 Paint.FontMetricsInt fm, int flags,
DDynamicLayout.java166 Paint.FontMetricsInt fm = paint.getFontMetricsInt(); in DynamicLayout()
405 final Paint.FontMetricsInt fm = paint.getFontMetricsInt(); in contentMayProtrudeFromLineTopOrBottom()
DBoringLayout.java408 public static class Metrics extends Paint.FontMetricsInt {
/frameworks/base/apct-tests/perftests/core/src/android/text/
DDynamicLayoutPerfTest.java22 import android.graphics.Paint.FontMetricsInt;
73 public int getSize(Paint paint, CharSequence text, int start, int end, FontMetricsInt fm) { in getSize()
/frameworks/base/services/core/java/com/android/server/wm/
DWatermark.java27 import android.graphics.Paint.FontMetricsInt;
93 FontMetricsInt fm = mTextPaint.getFontMetricsInt(); in Watermark()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DRestrictedLockImageSpan.java65 Paint.FontMetricsInt fontMetrics) { in getSize()
/frameworks/base/graphics/java/android/graphics/
DPaint.java1723 public static class FontMetricsInt { class in Paint
1764 public int getFontMetricsInt(FontMetricsInt fmi) { in getFontMetricsInt()
1768 public FontMetricsInt getFontMetricsInt() { in getFontMetricsInt()
1769 FontMetricsInt fm = new FontMetricsInt(); in getFontMetricsInt()
2799 long typefacePtr, FontMetricsInt fmi); in nGetFontMetricsInt()
/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();

12