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