Home
last modified time | relevance | path

Searched refs:horizontalPosFix (Results 1 – 1 of 1) sorted by relevance

/cts/tests/tests/widget/src/android/widget/cts/
DTextViewTest.java3918 final float horizontalPosFix = (float) Math.ceil( in testGetOffsetForPositionSingleLineLtr() local
3933 x = mTextView.getLayout().getLineWidth(0) + paddingLeft - horizontalPosFix; in testGetOffsetForPositionSingleLineLtr()
3945 x = mTextView.getLayout().getLineWidth(0) / 2f + paddingLeft - horizontalPosFix; in testGetOffsetForPositionSingleLineLtr()
3981 final float horizontalPosFix = (float) Math.ceil( in testGetOffsetForPositionMultiLineLtr() local
4004 x = mTextView.getLayout().getLineWidth(1) + paddingLeft - horizontalPosFix; in testGetOffsetForPositionMultiLineLtr()
4012 x = mTextView.getLayout().getLineWidth(1) / 2f + paddingLeft - horizontalPosFix; in testGetOffsetForPositionMultiLineLtr()
4049 final float horizontalPosFix = (float) Math.ceil( in testGetOffsetForPositionMultiLineRtl() local
4077 - horizontalPosFix); in testGetOffsetForPositionMultiLineRtl()
4082 - horizontalPosFix); in testGetOffsetForPositionMultiLineRtl()