Searched defs:descent (Results 1 - 25 of 52) sorted by path

123

/external/chromium_org/chrome/browser/ui/views/bookmarks/
H A Dbookmark_bar_instructions_view.cc52 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/ppapi/c/dev/
H A Dppb_font_dev.h130 int32_t descent; member in struct:PP_FontMetrics_Dev
/external/chromium_org/ppapi/c/trusted/
H A Dppb_browser_font_trusted.h132 int32_t descent; member in struct:PP_BrowserFont_Trusted_Metrics
/external/chromium_org/third_party/WebKit/Source/core/html/canvas/
H A DCanvasRenderingContext2D.cpp2114 const float descent = fontMetrics.floatDescent(); local
2118 metrics->setFontBoundingBoxDescent(descent + baselineY);
2129 metrics->setIdeographicBaseline(descent + baselineY);
2280 return -fontMetrics.descent();
2282 return -fontMetrics.descent() + fontMetrics.height() / 2;
/external/chromium_org/third_party/WebKit/Source/core/rendering/
H A DInlineFlowBox.cpp518 // The primary purpose of this function is to compute the maximal ascent and descent values for
532 // part of the box (EXCLUDING leading) is above (for ascent) or below (for descent) the root box's baseline.
540 int descent = 0; local
541 rootBox->ascentAndDescentForBox(rootBox, textBoxDataMap, ascent, descent, affectsAscent, affectsDescent);
547 if (maxDescent < descent || !setMaxDescent) {
548 maxDescent = descent;
572 int descent = 0; local
573 rootBox->ascentAndDescentForBox(curr, textBoxDataMap, ascent, descent, affectsAscent, affectsDescent);
575 LayoutUnit boxHeight = ascent + descent;
585 // if our box (excluding line-height) was above (for ascent) or below (for descent) th
[all...]
H A DInlineTextBox.cpp1004 int descent = logicalHeight() - baseline; local
1006 if (descent <= (2 + lineThickness)) {
H A DRenderDeprecatedFlexibleBox.cpp380 LayoutUnit descent = (child->height() + child->marginHeight()) - ascent; local
385 // Update our maximum descent.
386 maxDescent = std::max(maxDescent, descent);
H A DRenderFlexibleBox.cpp1111 LayoutUnit descent = (crossAxisMarginExtentForChild(*child) + crossAxisExtentForChild(*child)) - ascent; local
1114 maxDescent = std::max(maxDescent, descent);
1303 // FIXME: If we get here in columns, we want the use the descent, except we currently can't get the ascent/descent of orthogonal children.
H A DRootInlineBox.cpp595 static void setAscentAndDescent(int& ascent, int& descent, int newAscent, int newDescent, bool& ascentDescentSet) argument
600 descent = newDescent;
603 descent = std::max(descent, newDescent);
607 void RootInlineBox::ascentAndDescentForBox(InlineBox* box, GlyphOverflowAndFallbackFontsMap& textBoxDataMap, int& ascent, int& descent, argument
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, usedFontAscentAndLeadin
[all...]
/external/chromium_org/third_party/WebKit/Source/core/svg/
H A DSVGFontData.cpp84 float descent = svgFontFaceElement->descent() * scale; local
98 fontMetrics.setDescent(descent);
100 fontMetrics.setLineSpacing(roundf(ascent) + roundf(descent) + roundf(lineGap));
H A DSVGFontFaceElement.cpp232 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/WebKit/Source/platform/fonts/
H A DFontMetrics.h66 void setDescent(float descent) { m_descent = descent; } argument
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();
/external/chromium_org/third_party/WebKit/Source/platform/fonts/opentype/
H A DOpenTypeVerticalData.cpp72 OpenType::Int16 descent; member in struct:blink::OpenType::VheaTable
/external/chromium_org/third_party/WebKit/Source/platform/fonts/skia/
H A DSimpleFontDataSkia.cpp95 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...]
/external/chromium_org/third_party/WebKit/Source/web/
H A DWebFontImpl.cpp68 int WebFontImpl::descent() const function in class:blink::WebFontImpl
70 return m_font.fontMetrics().descent();
/external/chromium_org/third_party/android_platform/webview/
H A Dframeworks.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/location/ android/location/Address$1.class ...
/external/chromium_org/third_party/icu/source/samples/layout/
H A DFontMap.cpp260 le_int32 ascent, descent, leading; local
271 descent = fFontInstances[i]->getDescent();
278 if (descent > fDescent) {
279 fDescent = descent;
H A Dparagraph.cpp88 le_int32 descent = 0; local
133 if (pDescent > descent) {
134 descent = pDescent;
156 fLineHeight = ascent + descent + leading;
H A Dpflow.c112 le_int32 descent = 0; local
190 if (pDescent > descent) {
191 descent = pDescent;
213 flow->fLineHeight = ascent + descent + leading;
H A Dsfnt.h189 le_int16 descent; member in struct:HHEATable
/external/chromium_org/third_party/icu/source/test/letest/
H A DFontObject.h152 le_int16 descent; member in struct:HHEATable
H A Dsfnt.h326 le_int16 descent; member in struct:HHEATable
/external/chromium_org/third_party/icu/source/test/perf/leperf/
H A DFontObject.h152 le_int16 descent; member in struct:HHEATable
H A Dsfnt.h326 le_int16 descent; member in struct:HHEATable
/external/chromium_org/third_party/libaddressinput/src/java/
H A Dandroid.jarMETA-INF/ META-INF/MANIFEST.MF AndroidManifest.xml android/ android/Manifest$permission.class ...

Completed in 5629 milliseconds

123