HomeSort by relevance Sort by last modified time
    Searched full:descent (Results 1 - 25 of 329) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /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...]
  /cts/tests/tests/graphics/src/android/graphics/cts/
Paint_FontMetricsIntTest.java 34 int descent = 3; local
41 fontMetricsInt.descent = descent;
PaintTest.java 673 assertEquals(p.descent(), fm.descent);
678 assertEquals(p.descent(), fm.descent);
691 assertEquals(p.descent(), fm.descent);
696 assertEquals(p.descent(), fm.descent);
745 float descent10 = p.descent();
749 float descent20 = p.descent();
    [all...]
  /external/chromium_org/third_party/WebKit/Source/platform/fonts/
FontMetrics.h 66 void setDescent(float descent) { m_descent = descent; }
97 int descent(FontBaseline baselineType = AlphabeticBaseline) const function in class:blink::FontMetrics
106 return ascent(baselineType) + descent(baselineType);
114 return ascent() == other.ascent() && descent() == other.descent() && lineGap() == other.lineGap();
  /frameworks/opt/chips/src/com/android/ex/chips/recipientchip/
ReplacementDrawableSpan.java 33 final int textHeight = fm.descent - fm.ascent;
36 fm.descent = Math.max(fm.bottom, fm.bottom + (bounds.bottom - textHeight) / 2)
39 fm.bottom = fm.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);
  /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_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/ots/src/
metrics.h 18 int16_t descent; member in struct:ots::OpenTypeMetricsHeader
  /external/chromium_org/third_party/WebKit/Source/platform/fonts/skia/
SimpleFontDataSkia.cpp 95 float descent; local
98 // metrics *exactly* (except the adjustment of ascent/descent on Linux/Android).
101 descent = -vdmxDescent;
104 descent = SkScalarRoundToInt(metrics.fDescent);
106 // When subpixel positioning is enabled, if the descent is rounded down, the descent part
109 // FIXME: This can be removed if sub-pixel ascent/descent is supported.
110 if (platformData().fontRenderStyle().useSubpixelPositioning && descent < SkScalarToFloat(metrics.fDescent) && ascent >= 1) {
111 ++descent;
118 m_fontMetrics.setDescent(descent);
    [all...]
  /frameworks/base/core/java/android/text/style/
IconMarginSpan.java 60 int need = ht - (v + fm.descent - fm.ascent - istartv);
62 fm.descent += need;
DrawableMarginSpan.java 63 int need = ht - (v + fm.descent - fm.ascent - istartv);
65 fm.descent += need;
  /cts/tests/tests/text/src/android/text/style/cts/
DynamicDrawableSpanTest.java 47 assertEquals(0, fm.descent);
56 assertEquals(0, fm.descent);
  /external/chromium_org/third_party/icu/source/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;
  /external/icu/icu4c/source/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;
  /external/chromium_org/third_party/WebKit/Source/core/svg/
SVGFontFaceElement.cpp 232 int SVGFontFaceElement::descent() const function in class:blink::SVGFontFaceElement
234 // Spec: Same syntax and semantics as the 'descent' descriptor within an @font-face rule. The maximum
239 // 14 different W3C SVG 1.1 testcases use a negative descent value,
242 int descent = static_cast<int>(ceilf(descentValue.toFloat())); local
243 return descent < 0 ? -descent : descent;
  /external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/glx/xlib/
glx_usefont.c 49 printf("%sascent = %d, descent = %d, attributes = %u\n",
50 prefix, ch->ascent, ch->descent, (unsigned int) ch->attributes);
56 printf("ascent = %d, descent = %d\n", font->ascent, font->descent);
240 max_height = fs->max_bounds.ascent + fs->max_bounds.descent;
322 height = ch->ascent + ch->descent;
324 y0 = ch->descent - 0; /* XXX used to subtract 1 here */
  /external/chromium_org/third_party/mesa/src/src/glx/
xfont.c 55 printf("%sascent = %d, descent = %d, attributes = %u\n",
56 prefix, ch->ascent, ch->descent, (unsigned int) ch->attributes);
62 printf("ascent = %d, descent = %d\n", font->ascent, font->descent);
244 max_height = fs->max_bounds.ascent + fs->max_bounds.descent;
325 height = ch->ascent + ch->descent;
327 y0 = ch->descent - 1;
  /external/chromium_org/third_party/mesa/src/src/mesa/drivers/x11/
xfonts.c 56 printf("%sascent = %d, descent = %d, attributes = %u\n",
57 prefix, ch->ascent, ch->descent, (unsigned int) ch->attributes);
63 printf("ascent = %d, descent = %d\n", font->ascent, font->descent);
246 max_height = fs->max_bounds.ascent + fs->max_bounds.descent;
328 height = ch->ascent + ch->descent;
330 y0 = ch->descent - 0; /* XXX used to subtract 1 here */
  /external/mesa3d/src/gallium/state_trackers/glx/xlib/
glx_usefont.c 49 printf("%sascent = %d, descent = %d, attributes = %u\n",
50 prefix, ch->ascent, ch->descent, (unsigned int) ch->attributes);
56 printf("ascent = %d, descent = %d\n", font->ascent, font->descent);
240 max_height = fs->max_bounds.ascent + fs->max_bounds.descent;
322 height = ch->ascent + ch->descent;
324 y0 = ch->descent - 0; /* XXX used to subtract 1 here */
  /external/mesa3d/src/glx/
xfont.c 55 printf("%sascent = %d, descent = %d, attributes = %u\n",
56 prefix, ch->ascent, ch->descent, (unsigned int) ch->attributes);
62 printf("ascent = %d, descent = %d\n", font->ascent, font->descent);
244 max_height = fs->max_bounds.ascent + fs->max_bounds.descent;
325 height = ch->ascent + ch->descent;
327 y0 = ch->descent - 1;
  /external/mesa3d/src/mesa/drivers/x11/
xfonts.c 56 printf("%sascent = %d, descent = %d, attributes = %u\n",
57 prefix, ch->ascent, ch->descent, (unsigned int) ch->attributes);
63 printf("ascent = %d, descent = %d\n", font->ascent, font->descent);
246 max_height = fs->max_bounds.ascent + fs->max_bounds.descent;
328 height = ch->ascent + ch->descent;
330 y0 = ch->descent - 0; /* XXX used to subtract 1 here */
  /external/chromium_org/third_party/WebKit/Source/core/rendering/
RootInlineBox.cpp 595 static void setAscentAndDescent(int& ascent, int& descent, int newAscent, int newDescent, bool& ascentDescentSet)
600 descent = newDescent;
603 descent = std::max(descent, newDescent);
607 void RootInlineBox::ascentAndDescentForBox(InlineBox* box, GlyphOverflowAndFallbackFontsMap& textBoxDataMap, int& ascent, int& descent,
617 descent = box->lineHeight() - ascent;
619 // Replaced elements always affect both the ascent and descent.
645 int usedFontDescent = fontMetrics.descent(baselineType());
650 setAscentAndDescent(ascent, descent, usedFontAscent, usedFontDescent, ascentDescentSet);
654 setAscentAndDescent(ascent, descent, usedFontAscentAndLeading, usedFontDescentAndLeading, ascentDescentSet)
    [all...]

Completed in 607 milliseconds

1 2 3 4 5 6 7 8 91011>>