Searched refs:ascent (Results 1 – 8 of 8) sorted by relevance
187 int ascent = 0; in add() local192 ascent = (int) Math.ceil(-textPaint.ascent()); in add()196 int textHeight = ascent + descent; in add()234 int vBase = v + ascent; in add()253 mLabels.add(new Label(width, height, ascent, in add()
58 float y = 64/2 - (mFontMetrics.ascent + mFontMetrics.descent)/2; in doDraw()
57 c.drawText("Alpha", x/2, (y-fm.ascent)/2, p); in drawIntoBitmap()
91 mPaintTextOffset = (fm.descent + fm.ascent) * 0.5f; in SampleView()
303 ((height-size)/2) - fm.ascent, mPaint); in text()
168 mAscent = (int) mTextPaint.ascent(); in measureHeight()
172 rectTop + 2 - (int) mTextPaint.ascent(), in onDraw()
179 final int y = (int) (((height - mPaint.getTextSize()) / 2) - mPaint.ascent()); in onDraw()