Home
last modified time | relevance | path

Searched refs:getLineAscent (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/text/
DDynamicLayoutTest.java252 assertEquals(-textSize, layout.getLineAscent(0)); in testFallbackLineSpacing()
254 assertEquals(-textSize, layout.getLineAscent(1)); in testFallbackLineSpacing()
256 assertEquals(-textSize, layout.getLineAscent(2)); in testFallbackLineSpacing()
266 assertEquals(-textSize, layout.getLineAscent(0)); in testFallbackLineSpacing()
268 assertEquals(-3 * textSize, layout.getLineAscent(1)); in testFallbackLineSpacing()
270 assertEquals(-textSize, layout.getLineAscent(2)); in testFallbackLineSpacing()
279 assertEquals(-textSize, layout.getLineAscent(0)); in testFallbackLineSpacing()
281 assertEquals(-textSize, layout.getLineAscent(1)); in testFallbackLineSpacing()
283 assertEquals(-textSize, layout.getLineAscent(2)); in testFallbackLineSpacing()
DStaticLayoutTest.java419 assertEquals(info, ascent, l.getLineAscent(line)); in assertLineMetrics()
852 assertEquals(-textSize, layout.getLineAscent(0));
854 assertEquals(-textSize, layout.getLineAscent(1));
856 assertEquals(-textSize, layout.getLineAscent(2));
860 assertEquals(-textSize, layout.getLineAscent(3));
870 assertEquals(-textSize, layout.getLineAscent(0));
872 assertEquals(-3 * textSize, layout.getLineAscent(1));
874 assertEquals(-textSize, layout.getLineAscent(2));
876 assertEquals(-textSize, layout.getLineAscent(3));
885 assertEquals(-textSize, layout.getLineAscent(0));
[all …]
DLayoutTest.java286 assertEquals(-8, layout.getLineAscent(0)); in testGetLineAscent()
/frameworks/base/core/tests/coretests/src/android/widget/
DTextViewFallbackLineSpacingTest.java122 assertEquals(-em, layout.getLineAscent(0)); in testFallbackLineSpacing()
127 assertEquals(-3 * em, layout.getLineAscent(1)); in testFallbackLineSpacing()
131 assertEquals(-em, layout.getLineAscent(1)); in testFallbackLineSpacing()
135 assertEquals(-em, layout.getLineAscent(2)); in testFallbackLineSpacing()
/frameworks/base/graphics/java/android/graphics/text/
DLineBreaker.java434 public @Px float getLineAscent(@IntRange(from = 0) int lineIndex) { in getLineAscent() method in LineBreaker.Result
/frameworks/base/core/java/android/text/
DStaticLayout.java962 ascents[i] = res.getLineAscent(i); in generate()
DLayout.java2814 public final int getLineAscent(int line) { in getLineAscent() method in Layout
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/base/core/api/
Dcurrent.txt18132 method @Px public float getLineAscent(@IntRange(from=0) int);
47741 method public final int getLineAscent(int);
/frameworks/base/boot/
Dboot-image-profile.txt7902 HSPLandroid/graphics/text/LineBreaker$Result;->getLineAscent(I)F
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt29690 method public final int getLineAscent(int);
/frameworks/base/config/
Dboot-image-profile.txt7905 HSPLandroid/graphics/text/LineBreaker$Result;->getLineAscent(I)F