Home
last modified time | relevance | path

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

/cts/tests/tests/widget/src/android/widget/cts/
DTextViewTest.java2749 int originalLines = mTextView.getLineCount(); in testSetMinLines() local
2751 setMinLines(originalLines - 1); in testSetMinLines()
2752 assertTrue((originalLines - 1) * mTextView.getLineHeight() <= mTextView.getHeight()); in testSetMinLines()
2754 setMinLines(originalLines + 1); in testSetMinLines()
2755 assertTrue((originalLines + 1) * mTextView.getLineHeight() <= mTextView.getHeight()); in testSetMinLines()
2762 int originalLines = mTextView.getLineCount(); in testSetLines() local
2764 setLines(originalLines - 1); in testSetLines()
2765 assertTrue((originalLines - 1) * mTextView.getLineHeight() <= mTextView.getHeight()); in testSetLines()
2767 setLines(originalLines + 1); in testSetLines()
2768 assertTrue((originalLines + 1) * mTextView.getLineHeight() <= mTextView.getHeight()); in testSetLines()