Home
last modified time | relevance | path

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

/cts/tests/tests/widget/src/android/widget/cts/
DTextViewTest.java3894 final Rect lineBounds = new Rect(); in testGetOffsetForPositionMultiLineLtr() local
3895 mTextView.getLayout().getLineBounds(0, lineBounds); in testGetOffsetForPositionMultiLineLtr()
3904 float y = lineBounds.height() / 2f + paddingTop; in testGetOffsetForPositionMultiLineLtr()
3912 mTextView.getLayout().getLineBounds(1, lineBounds); in testGetOffsetForPositionMultiLineLtr()
3913 y = lineBounds.top + lineBounds.height() / 2f + paddingTop; in testGetOffsetForPositionMultiLineLtr()
3960 final Rect lineBounds = new Rect(); in testGetOffsetForPositionMultiLineRtl() local
3961 mTextView.getLayout().getLineBounds(0, lineBounds); in testGetOffsetForPositionMultiLineRtl()
3970 float y = lineBounds.height() / 2f + paddingTop; in testGetOffsetForPositionMultiLineRtl()
3978 mTextView.getLayout().getLineBounds(1, lineBounds); in testGetOffsetForPositionMultiLineRtl()
3979 y = lineBounds.top + lineBounds.height() / 2f + paddingTop; in testGetOffsetForPositionMultiLineRtl()