Home
last modified time | relevance | path

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

12

/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/tests/coretests/src/android/text/
DStaticLayoutTest.java19 import android.graphics.Paint.FontMetricsInt;
50 FontMetricsInt fmi = b.paint.getFontMetricsInt(); in testGetters1()
77 FontMetricsInt fmi = b.paint.getFontMetricsInt(); in testGetters2()
93 FontMetricsInt fmi = b.paint.getFontMetricsInt(); in testGetters3()
111 FontMetricsInt fmi = b.paint.getFontMetricsInt(); in testGetters4()
132 FontMetricsInt fmi = b.paint.getFontMetricsInt(); in testGetters5()
160 FontMetricsInt fmi = b.paint.getFontMetricsInt(); in testGetters6()
181 FontMetricsInt fmi = b.paint.getFontMetricsInt(); in testGetters7()
203 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/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/base/core/java/android/text/
DTextLine.java22 import android.graphics.Paint.FontMetricsInt;
250 float metrics(FontMetricsInt fmi) { in metrics()
267 float measure(int offset, boolean trailing, FontMetricsInt fmi) { in measure()
386 FontMetricsInt fmi) {
654 private static void expandMetricsFromPaint(FontMetricsInt fmi, TextPaint wp) { in expandMetricsFromPaint()
667 static void updateMetrics(FontMetricsInt fmi, int previousTop, int previousAscent, in updateMetrics()
698 FontMetricsInt fmi, boolean needWidth, int offset) { in handleText()
788 float x, int top, int y, int bottom, FontMetricsInt fmi, in handleReplacement()
853 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.java408 Paint.FontMetricsInt mFontMetricsInt = new Paint.FontMetricsInt();
588 Paint.FontMetricsInt fm = b.mFontMetricsInt;
874 Paint.FontMetricsInt fm, int flags,
DBoringLayout.java427 public static class Metrics extends Paint.FontMetricsInt {
DDynamicLayout.java160 Paint.FontMetricsInt fm = paint.getFontMetricsInt(); in DynamicLayout()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
DErrorFragment.java31 import android.graphics.Paint.FontMetricsInt;
179 FontMetricsInt metrics = getFontMetricsInt(mTextView); in onCreateView()
233 private static FontMetricsInt getFontMetricsInt(TextView textView) { in getFontMetricsInt()
DErrorSupportFragment.java33 import android.graphics.Paint.FontMetricsInt;
181 FontMetricsInt metrics = getFontMetricsInt(mTextView); in onCreateView()
235 private static FontMetricsInt getFontMetricsInt(TextView textView) { in getFontMetricsInt()
/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.java1643 public static class FontMetricsInt { class in Paint
1667 public int getFontMetricsInt(FontMetricsInt fmi) { in getFontMetricsInt()
1672 long typefacePtr, FontMetricsInt fmi); in nGetFontMetricsInt()
1674 public FontMetricsInt getFontMetricsInt() { in getFontMetricsInt()
1675 FontMetricsInt fm = new FontMetricsInt(); in getFontMetricsInt()
/frameworks/base/core/tests/coretests/src/android/text/method/
DEditorState.java67 Paint.FontMetricsInt fm) { in getSize()
/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;
599 long nativeTypeface, FontMetricsInt fmi) { in nGetFontMetricsInt()
/frameworks/base/
Dpreloaded-classes849 android.graphics.Paint$FontMetricsInt

12