Searched refs:wordWidth (Results 1 – 1 of 1) sorted by relevance
229 final int wordWidth; in onDraw() local231 wordWidth = mWordWidth[i]; in onDraw()234 wordWidth = (int) textWidth + X_GAP * 2; in onDraw()235 mWordWidth[i] = wordWidth; in onDraw()240 if (touchX + scrollX >= x && touchX + scrollX < x + wordWidth && !scrolled && in onDraw()244 mSelectionHighlight.setBounds(0, bgPadding.top, wordWidth, height); in onDraw()256 canvas.translate(x + wordWidth, 0); in onDraw()258 canvas.translate(-x - wordWidth, 0); in onDraw()261 x += wordWidth; in onDraw()450 int wordWidth = (int) (mPaint.measureText(word, 0, word.length()) + X_GAP * 2); in showPreview() local[all …]