HomeSort by relevance Sort by last modified time
    Searched refs:lineHeight (Results 1 - 25 of 69) sorted by null

1 2 3

  /external/chromium_org/third_party/WebKit/Source/core/rendering/
RenderSearchField.cpp 58 LayoutUnit RenderSearchField::computeControlLogicalHeight(LayoutUnit lineHeight, LayoutUnit nonContentHeight) const
64 lineHeight = max(lineHeight, decorationRenderer->logicalHeight());
70 lineHeight = max(lineHeight, cancelRenderer->logicalHeight());
73 return lineHeight + nonContentHeight;
RenderSearchField.h 40 virtual LayoutUnit computeControlLogicalHeight(LayoutUnit lineHeight, LayoutUnit nonContentHeight) const OVERRIDE;
RenderBR.cpp 47 int RenderBR::lineHeight(bool firstLine) const
RenderBR.h 44 int lineHeight(bool firstLine) const;
RenderTextControlMultiLine.h 43 virtual LayoutUnit computeControlLogicalHeight(LayoutUnit lineHeight, LayoutUnit nonContentHeight) const OVERRIDE;
RenderTextControlMultiLine.cpp 68 LayoutUnit RenderTextControlMultiLine::computeControlLogicalHeight(LayoutUnit lineHeight, LayoutUnit nonContentHeight) const
70 return lineHeight * toHTMLTextAreaElement(node())->rows() + nonContentHeight;
RenderListMarker.h 74 virtual LayoutUnit lineHeight(bool firstLine, LineDirectionMode, LinePositionMode = PositionOnContainingLine) const OVERRIDE;
RootInlineBox.cpp 98 LayoutUnit RootInlineBox::lineHeight() const
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;
    [all...]
RenderTextControl.h 61 virtual LayoutUnit computeControlLogicalHeight(LayoutUnit lineHeight, LayoutUnit nonContentHeight) const = 0;
RenderTextControlSingleLine.h 72 virtual LayoutUnit computeControlLogicalHeight(LayoutUnit lineHeight, LayoutUnit nonContentHeight) const OVERRIDE;
RenderTextControlSingleLine.cpp 330 LayoutUnit RenderTextControlSingleLine::computeControlLogicalHeight(LayoutUnit lineHeight, LayoutUnit nonContentHeight) const
332 return lineHeight + nonContentHeight;
350 if (textBlockStyle->fontMetrics().lineSpacing() > lineHeight(true, HorizontalLine, PositionOfInteriorLineBoxes))
InlineFlowBox.cpp 130 || parentStyle->lineHeight() != childStyle->lineHeight()
147 || parentStyle->lineHeight() != childStyle->lineHeight()
489 // The computed lineheight needs to be extended for the
494 int lineHeight = curr->lineHeight();
496 if (maxAscent + maxDescent < lineHeight)
497 maxDescent = lineHeight - maxAscent;
500 if (maxAscent + maxDescent < lineHeight)
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/css/
CSSFontValue.cpp 57 if (lineHeight) {
61 result.append(lineHeight->cssText());
79 && compareCSSValuePtr(lineHeight, other.lineHeight)
90 visitor->trace(lineHeight);
CSSFontValue.h 51 RefPtrWillBeMember<CSSPrimitiveValue> lineHeight;
  /external/chromium_org/third_party/WebKit/Source/core/rendering/shapes/
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
97 return (lineTop < rect.maxY() && lineTop + lineHeight > rect.y()) || (!lineHeight && lineTop == rect.y());
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); \
ShapeOutsideInfo.h 54 ShapeOutsideDeltas(LayoutUnit leftMarginBoxDelta, LayoutUnit rightMarginBoxDelta, bool lineOverlapsShape, LayoutUnit borderBoxLineTop, LayoutUnit lineHeight)
58 , m_lineHeight(lineHeight)
64 bool isForLine(LayoutUnit borderBoxLineTop, LayoutUnit lineHeight)
66 return m_isValid && m_borderBoxLineTop == borderBoxLineTop && m_lineHeight == lineHeight;
98 ShapeOutsideDeltas computeDeltasForContainingBlockLine(const RenderBlockFlow&, const FloatingObject&, LayoutUnit lineTop, LayoutUnit lineHeight);
ShapeOutsideInfo.cpp 279 ShapeOutsideDeltas ShapeOutsideInfo::computeDeltasForContainingBlockLine(const RenderBlockFlow& containingBlock, const FloatingObject& floatingObject, LayoutUnit lineTop, LayoutUnit lineHeight)
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/
LineWidth.cpp 71 LayoutUnit lineHeight = m_block.lineHeight(m_isFirstLine, m_block.isHorizontalWritingMode() ? HorizontalLine : VerticalLine, PositionOfInteriorLineBoxes);
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)
149 for (LayoutUnit lineBottom = lineTop; lineBottom <= lineTop + lineHeight; lineBottom++) {
159 LayoutUnit lineHeight = m_block.lineHeight(isFirstLine, m_block.isHorizontalWritingMode() ? HorizontalLine : VerticalLine, PositionOfInteriorLineBoxes);
169 if (newLineWidth >= m_uncommittedWidth && isWholeLineFit(m_block, newLineTop, lineHeight, m_uncommittedWidth, shouldIndentText()))
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/
LabelMaker.java 215 int lineHeight = mLineHeight;
225 v += lineHeight;
226 lineHeight = 0;
228 lineHeight = Math.max(lineHeight, height);
229 if (v + lineHeight > mStrikeHeight) {
252 mLineHeight = lineHeight;
  /external/chromium_org/chrome/browser/ui/cocoa/location_bar/
autocomplete_text_field_cell.h 41 - (CGFloat)lineHeight;
  /external/chromium_org/third_party/WebKit/Source/devtools/front_end/timeline/
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/third_party/flot/
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>&nbsp;</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/
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/
VTTRegion.cpp 67 static const float lineHeight = 5.33;
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;

Completed in 716 milliseconds

1 2 3