Home
last modified time | relevance | path

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

/packages/apps/Terminal/src/com/android/terminal/
DTerminalLineView.java70 final int x = col * m.charWidth; in onDraw()
71 final int xEnd = x + (m.run.colSize * m.charWidth); in onDraw()
75 canvas.clipRect(0, 0, m.run.colSize * m.charWidth, m.charHeight); in onDraw()
87 canvas.translate(mTerm.getCursorCol() * m.charWidth, 0); in onDraw()
88 canvas.drawRect(0, 0, m.charWidth, m.charHeight, m.cursorPaint); in onDraw()
DTerminalView.java79 int charWidth; field in TerminalView.TerminalMetrics
103 charWidth = (int) Math.ceil(widths[0]); in setTextSize()
108 pos[i * 2] = i * charWidth; in setTextSize()
254 final int cols = w / mMetrics.charWidth; in onSizeChanged()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DCursorAnchorInfoUtils.java181 final float charWidth = widths[offset - offsetStart]; in extractFromTextViewInternal() local
191 left = secondary - charWidth; in extractFromTextViewInternal()
195 right = primary + charWidth; in extractFromTextViewInternal()
200 right = secondary + charWidth; in extractFromTextViewInternal()
202 left = primary - charWidth; in extractFromTextViewInternal()
/packages/apps/TV/tuner/src/com/android/tv/tuner/cc/
DCaptionWindowLayout.java482 float charWidth = paint.measureText(ch); in updateWidestChar() local
483 if (widestCharWidth < charWidth) { in updateWidestChar()
484 widestCharWidth = charWidth; in updateWidestChar()