Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/text/
DMeasuredText.java202 float wid; in addStyleRun() local
204 wid = addStyleRun(workPaint, len, fm); in addStyleRun()
207 wid = replacement.getSize(workPaint, mText, mTextStart + mPos, in addStyleRun()
210 w[mPos] = wid; in addStyleRun()
226 return wid; in addStyleRun()
DLayout.java556 public final void increaseWidthTo(int wid) { in increaseWidthTo() argument
557 if (wid < mWidth) { in increaseWidthTo()
561 mWidth = wid; in increaseWidthTo()
852 float wid = tl.measure(offset - start, trailing, null); in getHorizontal() local
855 if (clamped && wid > mWidth) { in getHorizontal()
856 wid = mWidth; in getHorizontal()
861 return getLineStartPos(line, left, right) + wid; in getHorizontal()
DTextLine.java355 float wid = bm.getWidth() * -bmAscent / bm.getHeight(); in measure()
356 h += mDir * wid; in measure()
DStaticLayout.java328 float wid = bm.getWidth() * -whichPaint.ascent() / bm.getHeight(); in generate() local
330 w += wid; in generate()
/frameworks/base/core/java/android/widget/
DEditor.java562 int wid = tv.getPaddingLeft() + tv.getPaddingRight(); in chooseSize() local
578 pop.setWidth(wid + (int) Math.ceil(max)); in chooseSize()