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.java164 public static final int LINE_HEIGHT = 50; field in MessagingLinearLayoutTest.FakeImageFloatingTextView
187 return Math.max(LINE_HEIGHT, getMeasuredHeight()); in getLayoutHeight()
199 if (size <= LINE_HEIGHT) { in clampToMultiplesOfLineHeight()
202 return (size / LINE_HEIGHT) * LINE_HEIGHT; in clampToMultiplesOfLineHeight()
211 return LINE_HEIGHT * getLineCount(); in getDesiredHeight()
/frameworks/base/core/tests/coretests/src/android/text/
DLayoutTest.java48 private static final int LINE_HEIGHT = 12; field in LayoutTest
236 assertEquals(LINE_HEIGHT, layout.getLineBottom(0)); in testGetLineBottom()
350 return LINE_HEIGHT * (line); in getLineTop()
406 float expected_y = (i + 1) * LINE_HEIGHT - LINE_DESCENT; in testDraw()