Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/text/
DMeasuredText.java233 float wid; in addStyleRun() local
235 wid = addStyleRun(workPaint, len, fm); in addStyleRun()
238 wid = replacement.getSize(workPaint, mText, mTextStart + mPos, in addStyleRun()
242 w[mPos] = wid; in addStyleRun()
246 mBuilder.addReplacementRun(mPos, mPos + len, wid); in addStyleRun()
261 return wid; in addStyleRun()
DLayout.java617 public final void increaseWidthTo(int wid) { in increaseWidthTo() argument
618 if (wid < mWidth) { in increaseWidthTo()
622 mWidth = wid; in increaseWidthTo()
929 float wid = tl.measure(offset - start, trailing, null); in getHorizontal() local
932 if (clamped && wid > mWidth) { in getHorizontal()
933 wid = mWidth; in getHorizontal()
938 return getLineStartPos(line, left, right) + wid; in getHorizontal()
DTextLine.java358 float wid = bm.getWidth() * -bmAscent / bm.getHeight(); in measure()
359 h += mDir * wid; in measure()
/frameworks/base/core/java/android/widget/
DEditor.java708 int wid = tv.getPaddingLeft() + tv.getPaddingRight(); in chooseSize() local
724 pop.setWidth(wid + (int) Math.ceil(max)); in chooseSize()