Home
last modified time | relevance | path

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

/cts/tests/tests/widget/src/android/widget/cts/
DTextViewTest.java1191 final int originalEms = originalWidth / mTextView.getLineHeight(); in testSetMinEms() local
1193 setMinEms(originalEms + 1); in testSetMinEms()
1194 assertEquals((originalEms + 1) * mTextView.getLineHeight(), mTextView.getWidth()); in testSetMinEms()
1196 assertEquals(originalEms + 1, mTextView.getMinEms()); in testSetMinEms()
1198 setMinEms(originalEms - 1); in testSetMinEms()
1201 assertEquals(originalEms - 1, mTextView.getMinEms()); in testSetMinEms()
1213 final int originalEms = originalWidth / mTextView.getLineHeight(); in testSetMaxEms() local
1215 setMaxEms(originalEms + 1); in testSetMaxEms()
1219 assertEquals(originalEms + 1, mTextView.getMaxEms()); in testSetMaxEms()
1221 setMaxEms(originalEms - 1); in testSetMaxEms()
[all …]