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