Home
last modified time | relevance | path

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

12

/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.java46 @Nullable Paint.FontMetricsInt fm); in getSize()
DAccessibilityReplacementSpan.java83 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/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/tv/
DCenteredImageSpan.java36 Paint paint, CharSequence text, int start, int end, Paint.FontMetricsInt fontMetrics) { in getSize()
41 Paint.FontMetricsInt paintFontMetrics = paint.getFontMetricsInt(); 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/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()
/frameworks/base/graphics/java/android/graphics/text/
DMeasuredText.java157 @NonNull Paint.FontMetricsInt outMetrics) { in getFontMetricsInt()
238 private Paint.FontMetricsInt mCachedMetrics = new Paint.FontMetricsInt();
/frameworks/base/core/java/android/text/
DTextLine.java25 import android.graphics.Paint.FontMetricsInt;
469 public float metrics(FontMetricsInt fmi, @Nullable RectF drawBounds, boolean returnDrawWidth, in metrics()
571 @NonNull FontMetricsInt fmi, @Nullable RectF drawBounds, @Nullable LineInfo lineInfo) { in measure()
748 public float[] measureAllOffsets(boolean[] trailing, FontMetricsInt fmi) {
874 @Nullable FontMetricsInt fmi, @Nullable RectF drawBounds, @Nullable float[] advances,
1182 private static void expandMetricsFromPaint(FontMetricsInt fmi, TextPaint wp) { in expandMetricsFromPaint()
1196 int contextStart, int contextEnd, boolean runIsRtl, FontMetricsInt fmi) { in expandMetricsFromPaint()
1223 static void updateMetrics(FontMetricsInt fmi, int previousTop, int previousAscent, in updateMetrics()
1323 FontMetricsInt fmi, RectF drawBounds, boolean needWidth, int offset, in handleText()
1333 fmi = new FontMetricsInt(); in handleText()
[all …]
DMeasuredParagraph.java144 private @Nullable Paint.FontMetricsInt mCachedFm;
390 @NonNull Paint.FontMetricsInt fmi) { in getFontMetricsInt()
868 mCachedFm = new Paint.FontMetricsInt(); in applyMetricsAffectingSpan()
DDynamicLayout.java423 private final Paint.FontMetricsInt mFontMetricsInt = new Paint.FontMetricsInt();
601 final Paint.FontMetricsInt fm = b.mFontMetricsInt; in generate()
860 final Paint.FontMetricsInt fm = paint.getFontMetricsInt(); in contentMayProtrudeFromLineTopOrBottom()
DStaticLayout.java604 private final Paint.FontMetricsInt mFontMetricsInt = new Paint.FontMetricsInt();
783 Paint.FontMetricsInt fm = b.mFontMetricsInt; in generate()
1121 final LineHeightSpan[] chooseHt, final int[] chooseHtv, final Paint.FontMetricsInt fm,
DBoringLayout.java758 public static class Metrics extends Paint.FontMetricsInt {
/frameworks/base/graphics/java/android/graphics/
DPaint.java2320 @NonNull FontMetricsInt outMetrics) { in getFontMetricsInt()
2383 @NonNull FontMetricsInt outMetrics) { in getFontMetricsInt()
2416 public static class FontMetricsInt { class in Paint
2445 public void set(@NonNull FontMetricsInt fontMetricsInt) { in set()
2476 if (!(o instanceof FontMetricsInt)) return false; in equals()
2477 FontMetricsInt that = (FontMetricsInt) o; in equals()
2504 public int getFontMetricsInt(FontMetricsInt fmi) { in getFontMetricsInt()
2508 public FontMetricsInt getFontMetricsInt() { in getFontMetricsInt()
2509 FontMetricsInt fm = new FontMetricsInt(); in getFontMetricsInt()
2536 public void getFontMetricsIntForLocale(@NonNull FontMetricsInt metrics) { in getFontMetricsIntForLocale()
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DRestrictedLockImageSpan.java65 Paint.FontMetricsInt fontMetrics) { in getSize()
/frameworks/base/services/core/java/com/android/server/wm/
DWatermark.java24 import android.graphics.Paint.FontMetricsInt;
91 FontMetricsInt fm = mTextPaint.getFontMetricsInt(); in Watermark()
/frameworks/base/core/java/android/content/res/
DStringBlock.java536 Paint.FontMetricsInt fm) { in chooseHeight()
543 Paint.FontMetricsInt fm, TextPaint paint) { in chooseHeight()
/frameworks/base/core/java/com/android/internal/widget/
DPointerLocationView.java25 import android.graphics.Paint.FontMetricsInt;
137 private final FontMetricsInt mTextMetrics = new FontMetricsInt();
DEmphasizedNotificationButton.java408 @Nullable Paint.FontMetricsInt fontMetrics) { in getSize()
/frameworks/base/core/java/android/text/method/
DInsertModeTransformationMethod.java470 @Nullable Paint.FontMetricsInt fm) { in getSize()

12