Searched refs:lineHeight (Results 1 - 25 of 59) sorted by relevance

123

/external/chromium_org/third_party/WebKit/Source/core/rendering/shapes/
H A DShapeOutsideInfo.cpp42 bool ShapeOutsideInfo::computeSegmentsForContainingBlockLine(LayoutUnit lineTop, LayoutUnit floatTop, LayoutUnit lineHeight) argument
45 return computeSegmentsForLine(lineTopInShapeCoordinates, lineHeight);
48 bool ShapeOutsideInfo::computeSegmentsForLine(LayoutUnit lineTop, LayoutUnit lineHeight) argument
50 if (shapeSizeDirty() || m_lineTop != lineTop || m_lineHeight != lineHeight) {
51 if (ShapeInfo<RenderBox, &RenderStyle::shapeOutside, &Shape::getExcludedIntervals>::computeSegmentsForLine(lineTop, lineHeight)) {
H A DShapeOutsideInfo.h45 bool computeSegmentsForContainingBlockLine(LayoutUnit lineTop, LayoutUnit floatTop, LayoutUnit lineHeight);
46 virtual bool computeSegmentsForLine(LayoutUnit lineTop, LayoutUnit lineHeight) OVERRIDE;
H A DShapeInfo.cpp55 bool ShapeInfo<RenderType, shapeGetter, intervalGetter>::computeSegmentsForLine(LayoutUnit lineTop, LayoutUnit lineHeight) argument
57 ASSERT(lineHeight >= 0);
59 m_lineHeight = lineHeight;
H A DShapeInsideInfo.h69 virtual bool computeSegmentsForLine(LayoutUnit lineTop, LayoutUnit lineHeight) OVERRIDE
72 return ShapeInfo<RenderBlock, &RenderStyle::resolvedShapeInside, &Shape::getIncludedIntervals>::computeSegmentsForLine(lineTop, lineHeight);
H A DShapeInfo.h85 virtual bool computeSegmentsForLine(LayoutUnit lineTop, LayoutUnit lineHeight);
/external/chromium_org/third_party/WebKit/Source/core/rendering/
H A DRenderSearchField.cpp58 LayoutUnit RenderSearchField::computeControlLogicalHeight(LayoutUnit lineHeight, LayoutUnit nonContentHeight) const argument
64 lineHeight = max(lineHeight, decorationRenderer->logicalHeight());
70 lineHeight = max(lineHeight, cancelRenderer->logicalHeight());
73 return lineHeight + nonContentHeight;
H A DRenderBR.cpp45 int RenderBR::lineHeight(bool firstLine) const function in class:WebCore::RenderBR
H A DRenderSearchField.h43 virtual LayoutUnit computeControlLogicalHeight(LayoutUnit lineHeight, LayoutUnit nonContentHeight) const OVERRIDE;
H A DRenderTextControlMultiLine.h43 virtual LayoutUnit computeControlLogicalHeight(LayoutUnit lineHeight, LayoutUnit nonContentHeight) const OVERRIDE;
H A DRenderTextControlMultiLine.cpp70 LayoutUnit RenderTextControlMultiLine::computeControlLogicalHeight(LayoutUnit lineHeight, LayoutUnit nonContentHeight) const argument
72 return lineHeight * toHTMLTextAreaElement(node())->rows() + nonContentHeight;
H A DRenderBR.h46 int lineHeight(bool firstLine) const;
H A DRenderListMarker.h65 virtual LayoutUnit lineHeight(bool firstLine, LineDirectionMode, LinePositionMode = PositionOnContainingLine) const;
H A DRootInlineBox.cpp113 LayoutUnit RootInlineBox::lineHeight() const function in class:WebCore::RootInlineBox
115 return boxModelObject()->lineHeight(isFirstLineStyle(), isHorizontal() ? HorizontalLine : VerticalLine, PositionOfInteriorLineBoxes);
741 descent = box->lineHeight() - ascent;
764 if (usedFonts && !usedFonts->isEmpty() && (includeFont || (box->renderer()->style(isFirstLineStyle())->lineHeight().isNegative() && includeLeading))) {
791 int descentWithLeading = box->lineHeight() - ascentWithLeading;
879 verticalPosition = (verticalPosition - static_cast<LayoutUnit>(fontMetrics.xHeight() / 2) - renderer->lineHeight(firstLine, lineDirection) / 2 + renderer->baselinePosition(baselineType(), firstLine, lineDirection)).round();
882 // lineHeight - baselinePosition is always 0 for replaced elements (except inline blocks), so don't bother wasting time in that case.
884 verticalPosition -= (renderer->lineHeight(firstLine, lineDirection) - renderer->baselinePosition(baselineType(), firstLine, lineDirection));
886 verticalPosition += -renderer->lineHeight(firstLine, lineDirection) / 2 + renderer->baselinePosition(baselineType(), firstLine, lineDirection);
888 LayoutUnit lineHeight; local
[all...]
H A DRenderTextControl.h60 virtual LayoutUnit computeControlLogicalHeight(LayoutUnit lineHeight, LayoutUnit nonContentHeight) const = 0;
H A DRenderTextControlSingleLine.h76 virtual LayoutUnit computeControlLogicalHeight(LayoutUnit lineHeight, LayoutUnit nonContentHeight) const OVERRIDE;
H A DRenderTextControlSingleLine.cpp347 LayoutUnit RenderTextControlSingleLine::computeControlLogicalHeight(LayoutUnit lineHeight, LayoutUnit nonContentHeight) const argument
349 return lineHeight + nonContentHeight;
372 if (textBlockStyle->fontMetrics().lineSpacing() > lineHeight(true, HorizontalLine, PositionOfInteriorLineBoxes))
H A DInlineBox.cpp147 LayoutUnit InlineBox::lineHeight() const function in class:WebCore::InlineBox
149 return boxModelObject()->lineHeight(m_bitfields.firstLine(), isHorizontal() ? HorizontalLine : VerticalLine, PositionOnContainingLine);
/external/chromium_org/third_party/WebKit/Source/core/css/
H A DFontValue.cpp52 if (lineHeight) {
56 result.append(lineHeight->cssText());
73 && compareCSSValuePtr(lineHeight, other.lineHeight)
H A DFontValue.h48 RefPtr<CSSPrimitiveValue> lineHeight; member in class:WebCore::FontValue
/external/jmonkeyengine/engine/src/core/com/jme3/font/
H A DBitmapCharacterSet.java42 private int lineHeight; field in class:BitmapCharacterSet
53 oc.write(lineHeight, "lineHeight", 0);
90 lineHeight = ic.readInt("lineHeight", 0);
141 return lineHeight;
144 public void setLineHeight(int lineHeight) { argument
145 this.lineHeight = lineHeight;
196 this.lineHeight
[all...]
/external/chromium_org/chrome/browser/ui/cocoa/location_bar/
H A Dautocomplete_text_field_cell.h32 - (CGFloat)lineHeight;
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/input/
H A DInsertionHandleController.java291 int lineHeight = getLineHeight();
294 mPositionY = mHandle.getAdjustedPositionY() - height - lineHeight;
312 coords[1] += lineHeight;
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/ui/
H A DDrawUtils.java159 int lineHeight = 0;
164 y_ += lineHeight;
172 lineHeight = Math.max(lineHeight, extent.y);
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/
H A DTimelineOverviewPane.js787 var lineHeight = 12 * window.devicePixelRatio; variable
799 if (!i && labelTopMargin < y - lineHeight)
800 labelOffsetY = -lineHeight; // Labels are going to be over their grid lines.
802 if (labelY < labelTopMargin || labelY + lineHeight > this._canvas.height)
809 this._context.fillRect(labelX - labelWidth, labelY, labelWidth, lineHeight);
811 this._context.fillText(label, labelX - labelPadding, labelY + lineHeight - baselineHeight);
812 labelTopMargin = labelY + lineHeight;
/external/chromium_org/third_party/WebKit/Source/core/html/track/
H A DTextTrackRegion.cpp68 static const float lineHeight = 5.33; member in namespace:WebCore
438 // Let lineHeight be '0.0533vh' ('vh' is a CSS unit) and regionHeight be
439 // the text track region height. Let height be 'lineHeight' multiplied
441 double height = lineHeight * m_heightInLines;

Completed in 512 milliseconds

123