Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/text/
DLayout.java781 public final void increaseWidthTo(int wid) { in increaseWidthTo() argument
782 if (wid < mWidth) { in increaseWidthTo()
786 mWidth = wid; in increaseWidthTo()
1213 float wid = tl.measure(offset - start, trailing, null); in getHorizontal() local
1216 if (clamped && wid > mWidth) { in getHorizontal()
1217 wid = mWidth; in getHorizontal()
1222 return getLineStartPos(line, left, right) + wid; in getHorizontal()
1259 float[] wid = tl.measureAllOffsets(trailings, null); in getLineHorizontals() local
1263 for (int offset = 0; offset < wid.length; ++offset) { in getLineHorizontals()
1264 if (wid[offset] > mWidth) { in getLineHorizontals()
[all …]
/frameworks/base/core/java/android/widget/
DEditor.java859 final int wid = tv.getPaddingLeft() + tv.getPaddingRight(); in chooseSize() local
878 pop.setWidth(wid + (int) Math.ceil(max)); in chooseSize()