Lines Matching refs:metrics
43 BoringLayout.Metrics metrics, boolean includepad) {
45 spacingmult, spacingadd, metrics,
53 BoringLayout.Metrics metrics, boolean includepad,
56 spacingmult, spacingadd, metrics,
68 BoringLayout.Metrics metrics,
78 metrics, includepad, true);
90 BoringLayout.Metrics metrics,
115 metrics, includepad, trust);
123 BoringLayout.Metrics metrics, boolean includepad) {
131 metrics, includepad, true);
138 BoringLayout.Metrics metrics, boolean includepad,
166 metrics, includepad, trust);
173 BoringLayout.Metrics metrics, boolean includepad,
186 spacing = metrics.bottom - metrics.top;
188 spacing = metrics.descent - metrics.ascent;
198 mDesc = spacing + metrics.top;
200 mDesc = spacing + metrics.ascent;
204 mMax = metrics.width;
214 mMax = (int) FloatMath.ceil(line.metrics(null));
219 mTopPadding = metrics.top - metrics.ascent;
220 mBottomPadding = metrics.bottom - metrics.descent;
247 public static Metrics isBoring(CharSequence text, TextPaint paint, Metrics metrics) {
248 return isBoring(text, paint, TextDirectionHeuristics.FIRSTSTRONG_LTR, metrics);
258 TextDirectionHeuristic textDir, Metrics metrics) {
300 Metrics fm = metrics;
308 fm.width = (int) FloatMath.ceil(line.metrics(fm));