Searched refs:mDefaultLayout (Results 1 – 1 of 1) sorted by relevance
63 private StaticLayout mDefaultLayout; field in StaticLayoutTest76 if (mDefaultLayout == null) { in setUp()77 mDefaultLayout = createDefaultStaticLayout(); in setUp()231 assertEquals(0, mDefaultLayout.getLineForVertical(-1)); in testGetLineForVertical()232 assertEquals(0, mDefaultLayout.getLineForVertical(0)); in testGetLineForVertical()233 assertTrue(mDefaultLayout.getLineForVertical(50) > 0); in testGetLineForVertical()234 assertEquals(LAST_LINE, mDefaultLayout.getLineForVertical(VERTICAL_BELOW_TEXT)); in testGetLineForVertical()241 assertEquals(LINE_COUNT, mDefaultLayout.getLineCount()); in testGetLineCount()251 assertTrue(mDefaultLayout.getLineTop(0) >= 0); in testGetLineTop()252 assertTrue(mDefaultLayout.getLineTop(1) > mDefaultLayout.getLineTop(0)); in testGetLineTop()[all …]