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.java126 final float fullWidth = paint.measureText(fullString); in testListEllipsize() local
128 TextUtils.listEllipsize(mContext, null, separator, paint, fullWidth, moreId)); in testListEllipsize()
132 TextUtils.listEllipsize(mContext, emptyList, separator, paint, fullWidth, moreId)); in testListEllipsize()
136 null, fullList, separator, paint, fullWidth / 2, 0).toString(); in testListEllipsize()
145 TextUtils.listEllipsize(mContext, fullList, separator, paint, fullWidth, moreId) in testListEllipsize()
148 TextUtils.listEllipsize(mContext, fullList, separator, paint, fullWidth * 2, in testListEllipsize()
151 final float epsilon = fullWidth / 20; in testListEllipsize()
152 for (float width = epsilon; width < fullWidth - epsilon / 2; width += epsilon) { in testListEllipsize()