Searched refs:lineBounds (Results 1 – 1 of 1) sorted by relevance
3640 final Rect lineBounds = new Rect(); in testGetOffsetForPositionMultiLineLtr() local3641 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() local3706 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()