Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/text/style/
DLineHeightSpan.java46 Paint.FontMetricsInt fm); in chooseHeight()
66 Paint.FontMetricsInt fm, TextPaint paint); in chooseHeight()
141 @NonNull Paint.FontMetricsInt fm) { in chooseHeight()
DReplacementSpan.java44 @Nullable Paint.FontMetricsInt fm); in getSize()
DIconMarginSpan.java97 Paint.FontMetricsInt fm) { in chooseHeight()
DDrawableMarginSpan.java100 @NonNull Paint.FontMetricsInt fm) { in chooseHeight()
DDynamicDrawableSpan.java143 @Nullable 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.java103 final Paint.FontMetricsInt fm) { in getSize()
/frameworks/base/core/java/android/text/
DTextLine.java25 import android.graphics.Paint.FontMetricsInt;
304 public float metrics(FontMetricsInt fmi) { in metrics()
350 @NonNull FontMetricsInt fmi) { in measure()
406 public float[] measureAllOffsets(boolean[] trailing, FontMetricsInt fmi) {
432 FontMetricsInt crtfmi = advance ? fmi : null;
506 FontMetricsInt fmi) {
776 private static void expandMetricsFromPaint(FontMetricsInt fmi, TextPaint wp) { in expandMetricsFromPaint()
789 static void updateMetrics(FontMetricsInt fmi, int previousTop, int previousAscent, in updateMetrics()
855 FontMetricsInt fmi, boolean needWidth, int offset, in handleText()
971 float x, int top, int y, int bottom, FontMetricsInt fmi, in handleReplacement()
[all …]
DDynamicLayout.java301 private final Paint.FontMetricsInt mFontMetricsInt = new Paint.FontMetricsInt();
463 final Paint.FontMetricsInt fm = b.mFontMetricsInt; in generate()
717 final Paint.FontMetricsInt fm = paint.getFontMetricsInt(); in contentMayProtrudeFromLineTopOrBottom()
DMeasuredParagraph.java129 private @Nullable Paint.FontMetricsInt mCachedFm;
573 mCachedFm = new Paint.FontMetricsInt(); in applyMetricsAffectingSpan()
DStaticLayout.java442 private final Paint.FontMetricsInt mFontMetricsInt = new Paint.FontMetricsInt();
623 Paint.FontMetricsInt fm = b.mFontMetricsInt; in generate()
915 final LineHeightSpan[] chooseHt, final int[] chooseHtv, final Paint.FontMetricsInt fm,
DBoringLayout.java480 public static class Metrics extends Paint.FontMetricsInt {
/frameworks/base/apct-tests/perftests/core/src/android/text/
DDynamicLayoutPerfTest.java23 import android.graphics.Paint.FontMetricsInt;
67 public int getSize(Paint paint, CharSequence text, int start, int end, FontMetricsInt fm) { in getSize()
/frameworks/base/core/tests/coretests/src/android/text/
DStaticLayoutTest.java26 import android.graphics.Paint.FontMetricsInt;
107 FontMetricsInt fmi = b.paint.getFontMetricsInt(); in testGetters1()
134 FontMetricsInt fmi = b.paint.getFontMetricsInt(); in testLineMetrics_withPadding()
150 FontMetricsInt fmi = b.paint.getFontMetricsInt(); in testLineMetrics_withPaddingAndWidth()
170 FontMetricsInt fmi = b.paint.getFontMetricsInt(); in testLineMetrics_withThreeLines()
193 FontMetricsInt fmi = b.paint.getFontMetricsInt(); in testLineMetrics_withLargeText()
223 FontMetricsInt fmi = b.paint.getFontMetricsInt(); in testLineMetrics_withSpacingAdd()
246 FontMetricsInt fmi = b.paint.getFontMetricsInt(); in testLineMetrics_withSpacingMult()
272 FontMetricsInt fmi = b.paint.getFontMetricsInt(); in testLineMetrics_withUnitIntervalSpacingMult()
DDynamicLayoutTest.java63 Paint.FontMetricsInt fm) { in getSize()
DTextLineTest.java321 Paint.FontMetricsInt fm) { in getSize()
/frameworks/base/services/core/java/com/android/server/wm/
DWatermark.java23 import android.graphics.Paint.FontMetricsInt;
92 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.java2091 public static class FontMetricsInt { class in Paint
2135 public int getFontMetricsInt(FontMetricsInt fmi) { in getFontMetricsInt()
2139 public FontMetricsInt getFontMetricsInt() { in getFontMetricsInt()
2140 FontMetricsInt fm = new FontMetricsInt(); in getFontMetricsInt()
3085 private static native int nGetFontMetricsInt(long paintPtr, FontMetricsInt fmi); in nGetFontMetricsInt()
/frameworks/base/core/java/android/content/res/
DStringBlock.java451 Paint.FontMetricsInt fm) { in chooseHeight()
458 Paint.FontMetricsInt fm, TextPaint paint) { in chooseHeight()
/frameworks/base/core/java/com/android/internal/widget/
DPointerLocationView.java23 import android.graphics.Paint.FontMetricsInt;
126 private final FontMetricsInt mTextMetrics = new FontMetricsInt();
/frameworks/layoutlib/bridge/src/android/graphics/
DPaint_Delegate.java28 import android.graphics.Paint.FontMetricsInt;
613 /*package*/ static int nGetFontMetricsInt(long nativePaint, FontMetricsInt fmi) { in nGetFontMetricsInt()
/frameworks/base/core/java/android/widget/
DTextView.java62 import android.graphics.Paint.FontMetricsInt;
3473 final FontMetricsInt fontMetrics = getPaint().getFontMetricsInt(); in setFirstBaselineToTopHeight()
3517 final FontMetricsInt fontMetrics = getPaint().getFontMetricsInt(); in setLastBaselineToBottomHeight()
/frameworks/base/config/
Dpreloaded-classes1219 android.graphics.Paint$FontMetricsInt
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...