Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/com/android/internal/widget/
DMessagingLinearLayoutTest.java132 public static final int LINE_HEIGHT = 50; field in MessagingLinearLayoutTest.FakeImageFloatingTextView
143 return Math.max(LINE_HEIGHT, getMeasuredHeight()); in getLayoutHeight()
169 if (size <= LINE_HEIGHT) {
172 return (size / LINE_HEIGHT) * LINE_HEIGHT;
181 return LINE_HEIGHT * getLineCount();
/frameworks/base/core/tests/coretests/src/android/text/
DLayoutTest.java53 private static final int LINE_HEIGHT = 12; field in LayoutTest
252 assertEquals(LINE_HEIGHT, layout.getLineBottom(0)); in testGetLineBottom()
575 return LINE_HEIGHT * (line); in getLineTop()
631 float expected_y = (i + 1) * LINE_HEIGHT - LINE_DESCENT; in testDraw()