/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
H A D | RenderSearchField.cpp | 58 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 D | RenderSearchField.h | 40 virtual LayoutUnit computeControlLogicalHeight(LayoutUnit lineHeight, LayoutUnit nonContentHeight) const OVERRIDE;
|
H A D | RenderBR.cpp | 47 int RenderBR::lineHeight(bool firstLine) const function in class:blink::RenderBR
|
H A D | RenderBR.h | 44 int lineHeight(bool firstLine) const;
|
H A D | RenderTextControlMultiLine.h | 43 virtual LayoutUnit computeControlLogicalHeight(LayoutUnit lineHeight, LayoutUnit nonContentHeight) const OVERRIDE;
|
H A D | RenderTextControlMultiLine.cpp | 68 LayoutUnit RenderTextControlMultiLine::computeControlLogicalHeight(LayoutUnit lineHeight, LayoutUnit nonContentHeight) const argument 70 return lineHeight * toHTMLTextAreaElement(node())->rows() + nonContentHeight;
|
H A D | RootInlineBox.cpp | 98 LayoutUnit RootInlineBox::lineHeight() const function in class:blink::RootInlineBox 100 return boxModelObject()->lineHeight(isFirstLineStyle(), isHorizontal() ? HorizontalLine : VerticalLine, PositionOfInteriorLineBoxes); 617 descent = box->lineHeight() - ascent; 640 if (usedFonts && !usedFonts->isEmpty() && (includeFont || (box->renderer().style(isFirstLineStyle())->lineHeight().isNegative() && includeLeading))) { 667 int descentWithLeading = box->lineHeight() - ascentWithLeading; 755 verticalPosition = (verticalPosition - static_cast<LayoutUnit>(fontMetrics.xHeight() / 2) - renderer->lineHeight(firstLine, lineDirection) / 2 + renderer->baselinePosition(baselineType(), firstLine, lineDirection)).round(); 758 // lineHeight - baselinePosition is always 0 for replaced elements (except inline blocks), so don't bother wasting time in that case. 760 verticalPosition -= (renderer->lineHeight(firstLine, lineDirection) - renderer->baselinePosition(baselineType(), firstLine, lineDirection)); 762 verticalPosition += -renderer->lineHeight(firstLine, lineDirection) / 2 + renderer->baselinePosition(baselineType(), firstLine, lineDirection); 764 LayoutUnit lineHeight; local [all...] |
H A D | RenderListMarker.h | 74 virtual LayoutUnit lineHeight(bool firstLine, LineDirectionMode, LinePositionMode = PositionOnContainingLine) const OVERRIDE;
|
H A D | RenderTextControl.h | 61 virtual LayoutUnit computeControlLogicalHeight(LayoutUnit lineHeight, LayoutUnit nonContentHeight) const = 0;
|
H A D | RenderTextControlSingleLine.h | 72 virtual LayoutUnit computeControlLogicalHeight(LayoutUnit lineHeight, LayoutUnit nonContentHeight) const OVERRIDE;
|
H A D | RenderTextControlSingleLine.cpp | 330 LayoutUnit RenderTextControlSingleLine::computeControlLogicalHeight(LayoutUnit lineHeight, LayoutUnit nonContentHeight) const argument 332 return lineHeight + nonContentHeight; 350 if (textBlockStyle->fontMetrics().lineSpacing() > lineHeight(true, HorizontalLine, PositionOfInteriorLineBoxes))
|
H A D | InlineFlowBox.cpp | 130 || parentStyle->lineHeight() != childStyle->lineHeight() 147 || parentStyle->lineHeight() != childStyle->lineHeight() 494 int lineHeight = curr->lineHeight(); local 496 if (maxAscent + maxDescent < lineHeight) 497 maxDescent = lineHeight - maxAscent; 500 if (maxAscent + maxDescent < lineHeight) 501 maxAscent = lineHeight [all...] |
H A D | InlineBox.cpp | 144 LayoutUnit InlineBox::lineHeight() const function in class:blink::InlineBox 146 return boxModelObject()->lineHeight(m_bitfields.firstLine(), isHorizontal() ? HorizontalLine : VerticalLine, PositionOnContainingLine);
|
/external/chromium_org/third_party/WebKit/Source/core/css/ |
H A D | CSSFontValue.cpp | 57 if (lineHeight) { 61 result.append(lineHeight->cssText()); 79 && compareCSSValuePtr(lineHeight, other.lineHeight) 90 visitor->trace(lineHeight);
|
H A D | CSSFontValue.h | 51 RefPtrWillBeMember<CSSPrimitiveValue> lineHeight; member in class:blink::CSSFontValue
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/shapes/ |
H A D | Shape.h | 86 bool lineOverlapsShapeMarginBounds(LayoutUnit lineTop, LayoutUnit lineHeight) const { return lineOverlapsBoundingBox(lineTop, lineHeight, shapeMarginLogicalBoundingBox()); } 93 bool lineOverlapsBoundingBox(LayoutUnit lineTop, LayoutUnit lineHeight, const LayoutRect& rect) const argument 97 return (lineTop < rect.maxY() && lineTop + lineHeight > rect.y()) || (!lineHeight && lineTop == rect.y());
|
H A D | BoxShapeTest.cpp | 56 #define TEST_EXCLUDED_INTERVAL(shapePtr, lineTop, lineHeight, expectedLeft, expectedRight) \ 58 LineSegment segment = shapePtr->getExcludedInterval(lineTop, lineHeight); \ 66 #define TEST_NO_EXCLUDED_INTERVAL(shapePtr, lineTop, lineHeight) \ 68 LineSegment segment = shapePtr->getExcludedInterval(lineTop, lineHeight); \
|
H A D | ShapeOutsideInfo.h | 54 ShapeOutsideDeltas(LayoutUnit leftMarginBoxDelta, LayoutUnit rightMarginBoxDelta, bool lineOverlapsShape, LayoutUnit borderBoxLineTop, LayoutUnit lineHeight) argument 58 , m_lineHeight(lineHeight) 64 bool isForLine(LayoutUnit borderBoxLineTop, LayoutUnit lineHeight) argument 66 return m_isValid && m_borderBoxLineTop == borderBoxLineTop && m_lineHeight == lineHeight; 98 ShapeOutsideDeltas computeDeltasForContainingBlockLine(const RenderBlockFlow&, const FloatingObject&, LayoutUnit lineTop, LayoutUnit lineHeight);
|
H A D | ShapeOutsideInfo.cpp | 279 ShapeOutsideDeltas ShapeOutsideInfo::computeDeltasForContainingBlockLine(const RenderBlockFlow& containingBlock, const FloatingObject& floatingObject, LayoutUnit lineTop, LayoutUnit lineHeight) argument 281 ASSERT(lineHeight >= 0); 286 if (isShapeDirty() || !m_shapeOutsideDeltas.isForLine(borderBoxLineTop, lineHeight)) { 290 if (computedShape().lineOverlapsShapeMarginBounds(referenceBoxLineTop, lineHeight)) { 291 LineSegment segment = computedShape().getExcludedInterval((borderBoxLineTop - logicalTopOffset()), std::min(lineHeight, shapeLogicalBottom() - borderBoxLineTop)); 301 m_shapeOutsideDeltas = ShapeOutsideDeltas(leftMarginBoxDelta, rightMarginBoxDelta, true, borderBoxLineTop, lineHeight); 309 m_shapeOutsideDeltas = ShapeOutsideDeltas(floatMarginBoxWidth, -floatMarginBoxWidth, false, borderBoxLineTop, lineHeight);
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/line/ |
H A D | LineWidth.cpp | 71 LayoutUnit lineHeight = m_block.lineHeight(m_isFirstLine, m_block.isHorizontalWritingMode() ? HorizontalLine : VerticalLine, PositionOfInteriorLineBoxes); local 72 shapeDeltas = shapeOutsideInfo->computeDeltasForContainingBlockLine(m_block, *newFloat, m_block.logicalHeight(), lineHeight); 147 inline static bool isWholeLineFit(const RenderBlockFlow& block, const LayoutUnit& lineTop, LayoutUnit lineHeight, float uncommittedWidth, bool shouldIndentText) argument 149 for (LayoutUnit lineBottom = lineTop; lineBottom <= lineTop + lineHeight; lineBottom++) { 159 LayoutUnit lineHeight = m_block.lineHeight(isFirstLine, m_block.isHorizontalWritingMode() ? HorizontalLine : VerticalLine, PositionOfInteriorLineBoxes); local 169 if (newLineWidth >= m_uncommittedWidth && isWholeLineFit(m_block, newLineTop, lineHeight, m_uncommittedWidth, shouldIndentText()))
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/timeline/ |
H A D | TimelineFrameOverview.js | 202 var lineHeight = 12 * window.devicePixelRatio; 214 if (!i && labelTopMargin < y - lineHeight) 215 labelOffsetY = -lineHeight; // Labels are going to be over their grid lines. 217 if (labelY < labelTopMargin || labelY + lineHeight > height) 224 this._context.fillRect(labelX - labelWidth, labelY, labelWidth, lineHeight); 226 this._context.fillText(label, labelX - labelPadding, labelY + lineHeight - baselineHeight); 227 labelTopMargin = labelY + lineHeight;
|
/external/chromium_org/chrome/browser/ui/cocoa/location_bar/ |
H A D | autocomplete_text_field_cell.h | 41 - (CGFloat)lineHeight;
|
/external/chromium_org/third_party/flot/ |
H A D | jquery.flot.canvas.min.js | 28 */(function(e){function o(t,o){var u=o.Canvas;n==null&&(r=u.prototype.getTextInfo,i=u.prototype.addText,n=u.prototype.render),u.prototype.render=function(){if(!t.getOptions().canvas)return n.call(this);var e=this.context,r=this._textCache;e.save(),e.textBaseline="middle";for(var i in r)if(s.call(r,i)){var o=r[i];for(var u in o)if(s.call(o,u)){var a=o[u],f=!0;for(var l in a)if(s.call(a,l)){var c=a[l],h=c.positions,p=c.lines;f&&(e.fillStyle=c.font.color,e.font=c.font.definition,f=!1);for(var d=0,v;v=h[d];d++)if(v.active)for(var m=0,g;g=v.lines[m];m++)e.fillText(p[m].text,g[0],g[1]);else h.splice(d--,1);h.length==0&&delete a[l]}}}e.restore()},u.prototype.getTextInfo=function(n,i,s,o,u){if(!t.getOptions().canvas)return r.call(this,n,i,s,o,u);var a,f,l,c;i=""+i,typeof s=="object"?a=s.style+" "+s.variant+" "+s.weight+" "+s.size+"px "+s.family:a=s,f=this._textCache[n],f==null&&(f=this._textCache[n]={}),l=f[a],l==null&&(l=f[a]={}),c=l[i];if(c==null){var h=this.context;if(typeof s!="object"){var p=e("<div> </div>").css("position","absolute").addClass(typeof s=="string"?s:null).appendTo(this.getTextLayer(n));s={lineHeight:p.height(),style:p.css("font-style"),variant:p.css("font-variant"),weight:p.css("font-weight"),family:p.css("font-family"),color:p.css("color")},s.size=p.css("line-height",1).height(),p.remove()}a=s.style+" "+s.variant+" "+s.weight+" "+s.size+"px "+s.family,c=l[i]={width:0,height:0,positions:[],lines:[],font:{definition:a,color:s.color}},h.save(),h.font=a;var d=(i+"").replace(/<br ?\/?>|\r\n|\r/g,"\n").split("\n");for(var v=0;v<d.length;++v){var m=d[v],g=h.measureText(m);c.width=Math.max(g.width,c.width),c.height+=s.lineHeight,c.lines.push({text:m,width:g.width,height:s.lineHeight})}h.restore()}return c},u.prototype.addText=function(e,n,r,s,o,u,a,f,l){if(!t.getOptions().canvas) (…)
|
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/ui/ |
H A D | DrawUtils.java | 159 int lineHeight = 0; 164 y_ += lineHeight; 172 lineHeight = Math.max(lineHeight, extent.y);
|
/external/chromium_org/third_party/WebKit/Source/core/html/track/vtt/ |
H A D | VTTRegion.cpp | 67 static const float lineHeight = 5.33; member in namespace:blink 406 // Let lineHeight be '0.0533vh' ('vh' is a CSS unit) and regionHeight be 407 // the text track region height. Let height be 'lineHeight' multiplied 409 double height = lineHeight * m_heightInLines;
|