Home
last modified time | relevance | path

Searched refs:getFontMetrics (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/text/
DMeasuredParagraphTest.java77 assertEquals(0, mt.getFontMetrics().size()); in buildForBidi()
89 assertEquals(0, mt2.getFontMetrics().size()); in buildForBidi()
111 assertEquals(0, mt.getFontMetrics().size()); in buildForMeasurement()
128 assertEquals(0, mt2.getFontMetrics().size()); in buildForMeasurement()
150 assertNotEquals(0, mt.getFontMetrics().size()); in buildForStaticLayout()
166 assertNotEquals(0, mt2.getFontMetrics().size()); in buildForStaticLayout()
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/app/
DPerfTimeline.java107 Paint.FontMetrics fontMetrics = mTextPaint.getFontMetrics(); in invalidateTextPaintAndMeasurements()
/frameworks/base/tests/FlickerTests/test-apps/flickerapp/src/com/android/server/wm/flicker/testapp/
DMailAdapter.java66 Paint.FontMetrics fontMetrics = paint.getFontMetrics(); in draw()
/frameworks/base/tests/WallpaperTest/src/com/example/wallpapertest/
DTestWallpaper.java113 mTextPaint.getFontMetrics(mTextMetrics); in onCreate()
/frameworks/base/core/java/android/hardware/input/
DKeyboardLayoutPreviewDrawable.java452 mFontMetrics = mPrimaryGlyphPaint.getFontMetrics(); in ResourceProvider()
474 mPrimaryGlyphPaint.getFontMetrics(mFontMetrics); in updateTextSize()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/
DBatteryMeterDrawableBase.java255 mWarningTextHeight = -mWarningTextPaint.getFontMetrics().ascent; in updateSize()
437 mTextHeight = -mTextPaint.getFontMetrics().ascent; in draw()
/frameworks/base/core/java/com/android/internal/jank/
DInteractionMonitorDebugOverlay.java131 mDebugPaint.getFontMetrics(mDebugFontMetrics); in getTextHeight()
/frameworks/base/core/tests/coretests/src/android/graphics/
DTypefaceTest.java120 Paint.FontMetrics fm = p.getFontMetrics(); in testUniformY()
/frameworks/base/graphics/java/android/graphics/
DPaint.java2258 public float getFontMetrics(FontMetrics metrics) { in getFontMetrics() method in Paint
2266 public FontMetrics getFontMetrics() { in getFontMetrics() method in Paint
2268 getFontMetrics(fm); in getFontMetrics()
2564 return getFontMetrics(null); in getFontSpacing()
/frameworks/base/core/java/android/text/
DMeasuredParagraph.java331 public @NonNull IntArray getFontMetrics() { in getFontMetrics() method in MeasuredParagraph
DStaticLayout.java940 final int[] fmCache = measuredPara.getFontMetrics().getRawArray(); in generate()
/frameworks/base/libs/hwui/jni/
DPaint.cpp707 static jfloat getFontMetrics(JNIEnv* env, jobject, jlong paintHandle, jobject metricsObj, in getFontMetrics() function
1169 (void*)PaintGlue::getFontMetrics},
/frameworks/base/core/java/android/widget/
DEditor.java5387 final Paint.FontMetrics fontMetrics = mTextView.getPaint().getFontMetrics(); in tooLargeTextForMagnifier()
/frameworks/base/boot/
Dboot-image-profile.txt6435 HSPLandroid/graphics/Paint;->getFontMetrics()Landroid/graphics/Paint$FontMetrics;
6436 HSPLandroid/graphics/Paint;->getFontMetrics(Landroid/graphics/Paint$FontMetrics;)F
14716 HSPLandroid/text/MeasuredParagraph;->getFontMetrics()Landroid/text/AutoGrowArray$IntArray;
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/base/config/
Dboot-image-profile.txt6438 HSPLandroid/graphics/Paint;->getFontMetrics()Landroid/graphics/Paint$FontMetrics;
6439 HSPLandroid/graphics/Paint;->getFontMetrics(Landroid/graphics/Paint$FontMetrics;)F
14780 HSPLandroid/text/MeasuredParagraph;->getFontMetrics()Landroid/text/AutoGrowArray$IntArray;
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt10976 method public float getFontMetrics(android.graphics.Paint.FontMetrics);
10977 method public android.graphics.Paint.FontMetrics getFontMetrics();
/frameworks/base/core/api/
Dcurrent.txt16498 method public float getFontMetrics(android.graphics.Paint.FontMetrics);
16499 method public android.graphics.Paint.FontMetrics getFontMetrics();
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt55586 Landroid/text/MeasuredParagraph;->getFontMetrics()Landroid/text/AutoGrowArray$IntArray;