Searched refs:getLineDescent (Results 1 – 4 of 4) sorted by relevance
159 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()
87 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()
265 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()
319 public int getLineDescent(int line) { in getLineDescent() method in LayoutTest.MockLayout