/cts/tests/tests/graphics/src/android/graphics/cts/ |
Paint_FontMetricsIntTest.java | 34 int descent = 3; local 41 fontMetricsInt.descent = descent;
|
PaintTest.java | 649 assertEquals(p.descent(), fm.descent); 654 assertEquals(p.descent(), fm.descent); 667 assertEquals(p.descent(), fm.descent); 672 assertEquals(p.descent(), fm.descent); 721 float descent10 = p.descent(); 725 float descent20 = p.descent(); [all...] |
/frameworks/base/core/tests/coretests/src/android/text/ |
StaticLayoutTest.java | 51 fmi.ascent, fmi.descent); 65 * Top and bottom padding are affected, as is the line descent and height. 74 assertVertMetrics(l, fmi.top - fmi.ascent, fmi.bottom - fmi.descent, 80 * Ascent of top line and descent of bottom line are affected. 90 assertVertMetrics(l, fmi.top - fmi.ascent, fmi.bottom - fmi.descent, 91 fmi.top, fmi.descent, 97 * First line ascent is top, bottom line descent is bottom. 108 assertVertMetrics(l, fmi.top - fmi.ascent, fmi.bottom - fmi.descent, 109 fmi.top, fmi.descent, 110 fmi.ascent, fmi.descent, [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/fonts/ |
FontMetrics.h | 64 void setDescent(float descent) { m_descent = descent; } 95 int descent(FontBaseline baselineType = AlphabeticBaseline) const function in class:WebCore::FontMetrics 104 return ascent(baselineType) + descent(baselineType); 112 return ascent() == other.ascent() && descent() == other.descent() && lineGap() == other.lineGap();
|
/frameworks/base/graphics/tests/graphicstests/src/android/graphics/ |
TypefaceTest.java | 76 float descent = 0; local 82 descent = fm.descent; 85 assertTrue("fontMetrics", fm.descent == descent);
|
/external/chromium/chrome/browser/ui/views/bookmarks/ |
bookmark_bar_instructions_view.cc | 40 int ascent = 0, descent = 0, height = 0, width = 0; local 47 descent = std::max(descent, pref.height() - baseline); 55 height = std::max(ascent + descent, height);
|
/external/chromium_org/chrome/browser/ui/views/bookmarks/ |
bookmark_bar_instructions_view.cc | 52 int ascent = 0, descent = 0, height = 0, width = 0; local 59 descent = std::max(descent, pref.height() - baseline); 67 height = std::max(ascent + descent, height);
|
/external/chromium_org/third_party/WebKit/Source/web/ |
WebFontImpl.h | 48 virtual int descent() const;
|
WebFontImpl.cpp | 70 int WebFontImpl::descent() const function in class:blink::WebFontImpl 72 return m_font.fontMetrics().descent();
|
/external/chromium_org/third_party/WebKit/public/web/ |
WebFont.h | 56 virtual int descent() const = 0;
|
/frameworks/base/core/java/android/text/style/ |
IconMarginSpan.java | 61 int need = ht - (v + fm.descent - fm.ascent - istartv); 63 fm.descent += need;
|
DrawableMarginSpan.java | 64 int need = ht - (v + fm.descent - fm.ascent - istartv); 66 fm.descent += need;
|
DynamicDrawableSpan.java | 85 fm.descent = 0; 103 transY -= paint.getFontMetricsInt().descent;
|
/external/harfbuzz_ng/util/ |
view-cairo.cc | 80 double descent; local 82 descent = font_extents.height * (lines->len + .5); 84 descent = font_extents.height - font_extents.ascent; 85 cairo_translate (cr, v * descent, h * -descent);
|
/external/chromium_org/third_party/WebKit/Source/platform/fonts/skia/ |
SimpleFontDataSkia.cpp | 86 float descent; local 89 // metrics *exactly* (except the adjustment of ascent/descent on Linux/Android). 92 descent = -vdmxDescent; 95 descent = SkScalarRound(metrics.fDescent); 97 // When subpixel positioning is enabled, if the descent is rounded down, the descent part 100 // FIXME: This can be removed if sub-pixel ascent/descent is supported. 101 if (platformData().fontRenderStyle().useSubpixelPositioning && descent < SkScalarToFloat(metrics.fDescent) && ascent >= 1) { 102 ++descent; 109 m_fontMetrics.setDescent(descent); [all...] |
/external/chromium_org/third_party/WebKit/Source/core/svg/ |
SVGFontFaceElement.h | 47 int descent() const;
|
SVGFontFaceElement.cpp | 234 int SVGFontFaceElement::descent() const function in class:WebCore::SVGFontFaceElement 236 // Spec: Same syntax and semantics as the 'descent' descriptor within an @font-face rule. The maximum 241 // 14 different W3C SVG 1.1 testcases use a negative descent value, 244 int descent = static_cast<int>(ceilf(descentValue.toFloat())); local 245 return descent < 0 ? -descent : descent;
|
/external/chromium_org/third_party/ots/src/ |
metrics.h | 18 int16_t descent; member in struct:ots::OpenTypeMetricsHeader
|
/cts/tests/tests/text/src/android/text/style/cts/ |
DynamicDrawableSpanTest.java | 47 assertEquals(0, fm.descent); 56 assertEquals(0, fm.descent);
|
IconMarginSpanTest.java | 86 assertEquals(0, fm.descent); 94 assertEquals(HEIGHT, fm.descent);
|
/external/chromium_org/third_party/WebKit/Source/platform/fonts/win/ |
SimpleFontDataWin.cpp | 75 // FIXME: Access ascent/descent/lineGap with floating point precision. 77 float descent = textMetric.tmDescent; local 94 m_fontMetrics.setDescent(descent); 97 m_fontMetrics.setLineSpacing(ascent + descent + lineGap);
|
/external/chromium_org/ui/gfx/ |
font_list.cc | 278 int descent = 0; local 283 descent = std::max(descent, i->GetHeight() - i->GetBaseline()); 285 common_height_ = ascent + descent;
|
/external/icu4c/samples/layout/ |
FontMap.cpp | 260 le_int32 ascent, descent, leading; local 271 descent = fFontInstances[i]->getDescent(); 278 if (descent > fDescent) { 279 fDescent = descent;
|
paragraph.cpp | 88 le_int32 descent = 0; local 133 if (pDescent > descent) { 134 descent = pDescent; 156 fLineHeight = ascent + descent + leading;
|
/packages/apps/Calculator/src/com/android/calculator2/ |
ColorButton.java | 58 mTextY = (getHeight() - paint.ascent() - paint.descent()) / 2;
|