Home
last modified time | relevance | path

Searched refs:getLineDescent (Results 1 – 4 of 4) sorted by relevance

/cts/tests/tests/text/src/android/text/cts/
DDynamicLayoutTest.java159 assertEquals(mDynamicLayout.getLineDescent(LINE0) - mDynamicLayout.getLineAscent(LINE0), in testLineLayout()
162 assertEquals(mDynamicLayout.getLineDescent(LINE1) - mDynamicLayout.getLineAscent(LINE1), in testLineLayout()
165 assertEquals(mDynamicLayout.getLineDescent(LINE2) - mDynamicLayout.getLineAscent(LINE2), in testLineLayout()
DBoringLayoutTest.java87 assertEquals(boringLayout.getHeight() + METRICS_TOP, boringLayout.getLineDescent(0)); in verifyMultAddScale()
176 assertEquals(mBoringLayout.getHeight() + METRICS_TOP, mBoringLayout.getLineDescent(0)); in testIncludePadding()
191 assertEquals(boringLayout.getHeight() + METRICS_ASCENT, boringLayout.getLineDescent(0)); in testIncludePadding()
DStaticLayoutTest.java265 assertTrue(mDefaultLayout.getLineDescent(0) > 0); in testGetLineDescent()
266 assertTrue(mDefaultLayout.getLineDescent(1) > 0); in testGetLineDescent()
269 mDefaultLayout.getLineDescent(-1); in testGetLineDescent()
275 mDefaultLayout.getLineDescent(LARGER_THAN_LINE_COUNT ); in testGetLineDescent()
DLayoutTest.java319 public int getLineDescent(int line) { in getLineDescent() method in LayoutTest.MockLayout