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()224 final int ascdesc = (int)(-mTextMetrics.ascent + mTextMetrics.descent); in drawFrame()225 final int linegap = (int)(-mTextMetrics.ascent + mTextMetrics.descent in drawFrame()226 + mTextMetrics.leading); in drawFrame()
136 private final FontMetricsInt mTextMetrics = new FontMetricsInt(); field in PointerLocationView241 mTextPaint.getFontMetricsInt(mTextMetrics); in onMeasure()242 mHeaderBottom = mHeaderPaddingTop-mTextMetrics.ascent+mTextMetrics.descent+2; in onMeasure()244 Log.i("foo", "Metrics: ascent=" + mTextMetrics.ascent in onMeasure()245 + " descent=" + mTextMetrics.descent in onMeasure()246 + " leading=" + mTextMetrics.leading in onMeasure()247 + " top=" + mTextMetrics.top in onMeasure()248 + " bottom=" + mTextMetrics.bottom); in onMeasure()271 final int base = mHeaderPaddingTop-mTextMetrics.ascent+1; in onDraw()