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.java3978 final Rect lineBounds = new Rect(); in testGetOffsetForPositionMultiLineLtr() local
3979 mTextView.getLayout().getLineBounds(0, lineBounds); in testGetOffsetForPositionMultiLineLtr()
3988 float y = lineBounds.height() / 2f + paddingTop; in testGetOffsetForPositionMultiLineLtr()
3996 mTextView.getLayout().getLineBounds(1, lineBounds); in testGetOffsetForPositionMultiLineLtr()
3997 y = lineBounds.top + lineBounds.height() / 2f + paddingTop; in testGetOffsetForPositionMultiLineLtr()
4046 final Rect lineBounds = new Rect(); in testGetOffsetForPositionMultiLineRtl() local
4047 mTextView.getLayout().getLineBounds(0, lineBounds); in testGetOffsetForPositionMultiLineRtl()
4056 float y = lineBounds.height() / 2f + paddingTop; in testGetOffsetForPositionMultiLineRtl()
4064 mTextView.getLayout().getLineBounds(1, lineBounds); in testGetOffsetForPositionMultiLineRtl()
4065 y = lineBounds.top + lineBounds.height() / 2f + paddingTop; in testGetOffsetForPositionMultiLineRtl()