Searched refs:charWidth (Results 1 – 5 of 5) 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()
244 float charWidth; in initPositions() local249 charWidth = mCharWidth; in initPositions()251 mCurrentPos = mMinPos = (int) Math.round(initPrecOffset * charWidth); in initPositions()258 mMaxCharOffset = (int) Math.round(mMaxPos/charWidth); in initPositions()263 mMinPos -= charWidth; // Allow for future minus sign. in initPositions()316 mMaxPos = Math.min((int) Math.round(mMaxCharOffset * charWidth), MAX_RIGHT_SCROLL); in initPositions()
435 float charWidth = paint.measureText(ch); in updateWidestChar() local436 if (widestCharWidth < charWidth) { in updateWidestChar()437 widestCharWidth = charWidth; in updateWidestChar()