Home
last modified time | relevance | path

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

/cts/tests/tests/text/src/android/text/cts/
DTextUtilsTest.java125 final float fullWidth = paint.measureText(fullString); in testListEllipsize() local
127 TextUtils.listEllipsize(mContext, null, separator, paint, fullWidth, moreId)); in testListEllipsize()
131 TextUtils.listEllipsize(mContext, emptyList, separator, paint, fullWidth, moreId)); in testListEllipsize()
135 null, fullList, separator, paint, fullWidth / 2, 0).toString(); in testListEllipsize()
144 TextUtils.listEllipsize(mContext, fullList, separator, paint, fullWidth, moreId) in testListEllipsize()
147 TextUtils.listEllipsize(mContext, fullList, separator, paint, fullWidth * 2, in testListEllipsize()
150 final float epsilon = fullWidth / 20; in testListEllipsize()
151 for (float width = epsilon; width < fullWidth - epsilon / 2; width += epsilon) { in testListEllipsize()