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

12

/external/webkit/Source/WebCore/css/
H A DFontValue.cpp52 if (lineHeight) {
56 result += lineHeight->cssText();
H A DFontValue.h46 RefPtr<CSSPrimitiveValue> lineHeight; member in class:WebCore::FontValue
/external/webkit/Source/WebCore/rendering/
H A DRenderBR.cpp41 int RenderBR::lineHeight(bool firstLine) const function in class:WebCore::RenderBR
H A DRenderBR.h46 int lineHeight(bool firstLine) const;
H A DRenderTextControlMultiLine.h45 virtual void adjustControlHeightBasedOnLineHeight(int lineHeight);
H A DRenderTextControlMultiLine.cpp96 void RenderTextControlMultiLine::adjustControlHeightBasedOnLineHeight(int lineHeight) argument
98 setHeight(height() + lineHeight * static_cast<HTMLTextAreaElement*>(node())->rows());
H A DRenderListMarker.h61 virtual int lineHeight(bool firstLine, LineDirectionMode, LinePositionMode = PositionOnContainingLine) const;
H A DRenderTextControl.h77 virtual void adjustControlHeightBasedOnLineHeight(int lineHeight) = 0;
H A DInlineBox.h269 virtual int lineHeight() const { return boxModelObject()->lineHeight(m_firstLine, isHorizontal() ? HorizontalLine : VerticalLine, PositionOnContainingLine); } function in class:WebCore::InlineBox
H A DRootInlineBox.h91 virtual int lineHeight() const { return boxModelObject()->lineHeight(m_firstLine, isHorizontal() ? HorizontalLine : VerticalLine, PositionOfInteriorLineBoxes); } function in class:WebCore::RootInlineBox
H A DRenderTextControlSingleLine.cpp608 void RenderTextControlSingleLine::adjustControlHeightBasedOnLineHeight(int lineHeight) argument
616 lineHeight = max(lineHeight, resultsRenderer->height());
624 lineHeight = max(lineHeight, cancelRenderer->height());
627 setHeight(height() + lineHeight);
726 if (textBlockStyle->fontMetrics().lineSpacing() > lineHeight(true, HorizontalLine, PositionOfInteriorLineBoxes))
H A DRootInlineBox.cpp573 descent = box->lineHeight() - ascent;
596 if (usedFonts && !usedFonts->isEmpty() && (includeFont || (box->renderer()->style(m_firstLine)->lineHeight().isNegative() && includeLeading))) {
623 int descentWithLeading = box->lineHeight() - ascentWithLeading;
711 verticalPosition += -static_cast<int>(fontMetrics.xHeight() / 2) - renderer->lineHeight(firstLine, lineDirection) / 2 + renderer->baselinePosition(baselineType(), firstLine, lineDirection);
714 // lineHeight - baselinePosition is always 0 for replaced elements (except inline blocks), so don't bother wasting time in that case.
716 verticalPosition -= (renderer->lineHeight(firstLine, lineDirection) - renderer->baselinePosition(baselineType(), firstLine, lineDirection));
718 verticalPosition += -renderer->lineHeight(firstLine, lineDirection) / 2 + renderer->baselinePosition(baselineType(), firstLine, lineDirection);
720 verticalPosition -= renderer->style()->verticalAlignLength().calcValue(renderer->lineHeight(firstLine, lineDirection));
H A DInlineFlowBox.cpp117 || parentStyle->lineHeight() != childStyle->lineHeight()
134 || parentStyle->lineHeight() != childStyle->lineHeight()
459 int lineHeight = curr->lineHeight(); local
461 if (maxAscent + maxDescent < lineHeight)
462 maxDescent = lineHeight - maxAscent;
465 if (maxAscent + maxDescent < lineHeight)
466 maxAscent = lineHeight
[all...]
H A DInlineTextBox.h81 virtual int lineHeight() const;
H A DRenderBoxModelObject.h121 virtual int lineHeight(bool firstLine, LineDirectionMode, LinePositionMode = PositionOnContainingLine) const = 0;
H A DRenderInline.h148 virtual int lineHeight(bool firstLine, LineDirectionMode, LinePositionMode = PositionOnContainingLine) const;
H A DRenderTextControlSingleLine.h91 virtual void adjustControlHeightBasedOnLineHeight(int lineHeight);
H A DRenderInline.cpp180 || parentStyle->lineHeight() != style()->lineHeight()));
188 || parentStyle->lineHeight() != childStyle->lineHeight();
1275 int RenderInline::lineHeight(bool firstLine, LineDirectionMode /*direction*/, LinePositionMode /*linePositionMode*/) const function in class:WebCore::RenderInline
1292 return fontMetrics.ascent(baselineType) + (lineHeight(firstLine, direction, linePositionMode) - fontMetrics.height()) / 2;
H A DInlineTextBox.cpp85 int InlineTextBox::lineHeight() const function in class:WebCore::InlineTextBox
90 return toRenderBR(m_renderer)->lineHeight(m_firstLine);
92 return parent()->lineHeight();
93 return toRenderBoxModelObject(renderer()->parent())->lineHeight(m_firstLine, isHorizontal() ? HorizontalLine : VerticalLine, PositionOnContainingLine);
H A DRenderFlexibleBox.cpp406 setHeight(height() + lineHeight(true, style()->isHorizontalWritingMode() ? HorizontalLine : VerticalLine, PositionOfInteriorLineBoxes));
738 setHeight(height() + lineHeight(true, style()->isHorizontalWritingMode() ? HorizontalLine : VerticalLine, PositionOfInteriorLineBoxes));
/external/webkit/Source/WebKit/android/nav/
H A DCachedInput.h62 int lineHeight() const { return mLineHeight; } function in class:android::CachedInput
/external/skia/samplecode/
H A DSampleApp.cpp696 SkScalar lineHeight = paint.getFontMetrics(NULL); local
701 drawText(canvas, string, left, SkScalarMulAdd(lineHeight, i, dest.fTop), paint);
706 drawText(canvas, string, left, SkScalarMulAdd(lineHeight, i, dest.fTop), paint);
712 drawText(canvas, string, left, SkScalarMulAdd(lineHeight, i, dest.fTop), paint);
718 drawText(canvas, string, left, SkScalarMulAdd(lineHeight, i, dest.fTop), paint);
724 drawText(canvas, string, left, SkScalarMulAdd(lineHeight, i, dest.fTop), paint);
/external/webkit/Source/WebCore/bindings/objc/
H A DDOMCSS.h168 - (NSString *)lineHeight;
169 - (void)setLineHeight:(NSString *)lineHeight;
H A DDOMCSS.mm707 - (NSString *)lineHeight
712 - (void)setLineHeight:(NSString *)lineHeight
714 [self setProperty:@"line-height" value:lineHeight priority:@""];
/external/webkit/Source/WebCore/page/
H A DPrintContext.cpp288 return String::number(style->lineHeight().value());

Completed in 556 milliseconds

12