Searched refs:mTextMetrics (Results 1 – 2 of 2) sorted by relevance
59 private final Paint.FontMetrics mTextMetrics = new Paint.FontMetrics(); field in TestWallpaper.ClockEngine113 mTextPaint.getFontMetrics(mTextMetrics); in onCreate()216 final int ascdesc = (int)(-mTextMetrics.ascent + mTextMetrics.descent); in drawFrame()217 final int linegap = (int)(-mTextMetrics.ascent + mTextMetrics.descent in drawFrame()218 + mTextMetrics.leading); in drawFrame()
120 private final FontMetricsInt mTextMetrics = new FontMetricsInt(); field in PointerLocationView195 mTextPaint.getFontMetricsInt(mTextMetrics); in onMeasure()196 mHeaderBottom = -mTextMetrics.ascent+mTextMetrics.descent+2; in onMeasure()198 Log.i("foo", "Metrics: ascent=" + mTextMetrics.ascent in onMeasure()199 + " descent=" + mTextMetrics.descent in onMeasure()200 + " leading=" + mTextMetrics.leading in onMeasure()201 + " top=" + mTextMetrics.top in onMeasure()202 + " bottom=" + mTextMetrics.bottom); in onMeasure()225 final int base = -mTextMetrics.ascent+1; in onDraw()