Home
last modified time | relevance | path

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

/cts/tests/tests/text/src/android/text/cts/
DBoringLayoutTest.java66 private static final int METRICS_ASCENT = 20; field in BoringLayoutTest
77 METRICS_ASCENT,
225 final int height = METRICS_DESCENT - METRICS_ASCENT; in testGetLineDescent_withoutIncludePadding()
226 assertEquals(height + METRICS_ASCENT, boringLayout.getLineDescent(0)); in testGetLineDescent_withoutIncludePadding()
231 assertEquals(METRICS_TOP - METRICS_ASCENT, mBoringLayout.getTopPadding()); in testIncludePadding()
247 assertEquals(METRICS_DESCENT - METRICS_ASCENT, boringLayout.getHeight()); in testIncludePadding()