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.java3276 int originalLines = mTextView.getLineCount(); in testSetMinLines() local
3278 setMinLines(originalLines - 1); in testSetMinLines()
3279 assertTrue((originalLines - 1) * mTextView.getLineHeight() <= mTextView.getHeight()); in testSetMinLines()
3281 setMinLines(originalLines + 1); in testSetMinLines()
3282 assertTrue((originalLines + 1) * mTextView.getLineHeight() <= mTextView.getHeight()); in testSetMinLines()
3289 int originalLines = mTextView.getLineCount(); in testSetLines() local
3291 setLines(originalLines - 1); in testSetLines()
3292 assertTrue((originalLines - 1) * mTextView.getLineHeight() <= mTextView.getHeight()); in testSetLines()
3294 setLines(originalLines + 1); in testSetLines()
3295 assertTrue((originalLines + 1) * mTextView.getLineHeight() <= mTextView.getHeight()); in testSetLines()