OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mTextMetrics
(Results
1 - 2
of
2
) sorted by null
/frameworks/base/tests/WallpaperTest/src/com/example/wallpapertest/
TestWallpaper.java
59
private final Paint.FontMetrics
mTextMetrics
= new Paint.FontMetrics();
113
mTextPaint.getFontMetrics(
mTextMetrics
);
216
final int ascdesc = (int)(-
mTextMetrics
.ascent +
mTextMetrics
.descent);
217
final int linegap = (int)(-
mTextMetrics
.ascent +
mTextMetrics
.descent
218
+
mTextMetrics
.leading);
/frameworks/base/core/java/com/android/internal/widget/
PointerLocationView.java
120
private final FontMetricsInt
mTextMetrics
= new FontMetricsInt();
195
mTextPaint.getFontMetricsInt(
mTextMetrics
);
196
mHeaderBottom = -
mTextMetrics
.ascent+
mTextMetrics
.descent+2;
198
Log.i("foo", "Metrics: ascent=" +
mTextMetrics
.ascent
199
+ " descent=" +
mTextMetrics
.descent
200
+ " leading=" +
mTextMetrics
.leading
201
+ " top=" +
mTextMetrics
.top
202
+ " bottom=" +
mTextMetrics
.bottom);
225
final int base = -
mTextMetrics
.ascent+1
[
all
...]
Completed in 199 milliseconds