Home
last modified time | relevance | path

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

/frameworks/minikin/tests/unittest/
DAndroidLineBreakerHelperTest.cpp25 const int LINE_COUNT = 10; in TEST() local
32 for (int i = 0; i < LINE_COUNT; ++i) { in TEST()
41 for (int i = 0; i < LINE_COUNT; ++i) { in TEST()
51 for (int i = 0; i < LINE_COUNT; ++i) { in TEST()
/frameworks/base/core/tests/coretests/src/android/text/
DLayoutTest.java52 private static final int LINE_COUNT = 5; field in LayoutTest
201 assertEquals(0, layout.getLineForVertical(LINE_COUNT)); in testGetLineForVertical()
202 assertEquals(LINE_COUNT - 1, layout.getLineForVertical(1000)); in testGetLineForVertical()
211 assertEquals(LINE_COUNT - 1, layout.getLineForOffset(LINE_COUNT - 1)); in testGetLineForOffset()
212 assertEquals(LINE_COUNT - 1, layout.getLineForOffset(1000)); in testGetLineForOffset()
239 assertEquals(LINE_COUNT, layout.getLineVisibleEnd(LINE_COUNT - 1)); in testGetLineVisibleEnd()
549 return LINE_COUNT; in getLineCount()
593 for (int i = 0; i < LINE_COUNT; i++) { in testGetLineWidth()
607 for (int i = 0; i < LINE_COUNT; i++) { in testGetCursorPath()
625 assertEquals(LINE_COUNT, drawCommands.size()); in testDraw()
[all …]