Searched refs:getLineAscent (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/core/tests/coretests/src/android/text/ |
D | DynamicLayoutTest.java | 252 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()
|
D | StaticLayoutTest.java | 419 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 …]
|
D | LayoutTest.java | 266 assertEquals(-8, layout.getLineAscent(0)); in testGetLineAscent()
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
D | TextViewFallbackLineSpacingTest.java | 122 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/ |
D | LineBreaker.java | 397 public @Px float getLineAscent(@IntRange(from = 0) int lineIndex) { in getLineAscent() method in LineBreaker.Result
|
/frameworks/base/core/java/android/text/ |
D | StaticLayout.java | 779 ascents[i] = res.getLineAscent(i); in generate()
|
D | Layout.java | 1738 public final int getLineAscent(int line) { in getLineAscent() method in Layout
|
/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
D | android-28.jar | META-INF/
META-INF/MANIFEST.MF
javax/
javax/net/
javax/ ... |