Searched refs:charWidth (Results 1 – 4 of 4) sorted by relevance
70 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()
79 int charWidth; field in TerminalView.TerminalMetrics103 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()
181 final float charWidth = widths[offset - offsetStart]; in extractFromTextViewInternal() local191 left = secondary - charWidth; in extractFromTextViewInternal()195 right = primary + charWidth; in extractFromTextViewInternal()200 right = secondary + charWidth; in extractFromTextViewInternal()202 left = primary - charWidth; in extractFromTextViewInternal()
482 float charWidth = paint.measureText(ch); in updateWidestChar() local483 if (widestCharWidth < charWidth) { in updateWidestChar()484 widestCharWidth = charWidth; in updateWidestChar()