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.java3640 final Rect lineBounds = new Rect(); in testGetOffsetForPositionMultiLineLtr() local
3641 mTextView.getLayout().getLineBounds(0, lineBounds); in testGetOffsetForPositionMultiLineLtr()
3649 float y = lineBounds.height() / 2f + paddingTop; in testGetOffsetForPositionMultiLineLtr()
3657 mTextView.getLayout().getLineBounds(1, lineBounds); in testGetOffsetForPositionMultiLineLtr()
3658 y = lineBounds.top + lineBounds.height() / 2f + paddingTop; in testGetOffsetForPositionMultiLineLtr()
3705 final Rect lineBounds = new Rect(); in testGetOffsetForPositionMultiLineRtl() local
3706 mTextView.getLayout().getLineBounds(0, lineBounds); in testGetOffsetForPositionMultiLineRtl()
3715 float y = lineBounds.height() / 2f + paddingTop; in testGetOffsetForPositionMultiLineRtl()
3723 mTextView.getLayout().getLineBounds(1, lineBounds); in testGetOffsetForPositionMultiLineRtl()
3724 y = lineBounds.top + lineBounds.height() / 2f + paddingTop; in testGetOffsetForPositionMultiLineRtl()