/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
RenderSearchField.cpp | 59 LayoutUnit RenderSearchField::computeControlLogicalHeight(LayoutUnit lineHeight, LayoutUnit nonContentHeight) const 65 lineHeight = max(lineHeight, decorationRenderer->logicalHeight()); 71 lineHeight = max(lineHeight, cancelRenderer->logicalHeight()); 74 return lineHeight + nonContentHeight;
|
LineWidth.cpp | 84 LayoutUnit lineHeight = m_block.lineHeight(m_isFirstLine, m_block.isHorizontalWritingMode() ? HorizontalLine : VerticalLine, PositionOfInteriorLineBoxes); 90 previousShapeOutsideInfo->updateDeltasForContainingBlockLine(&m_block, previousFloat, m_block.logicalHeight(), lineHeight); 97 shapeOutsideInfo->updateDeltasForContainingBlockLine(&m_block, newFloat, m_block.logicalHeight(), lineHeight); 168 LayoutUnit lineHeight = m_block.lineHeight(false, m_block.isHorizontalWritingMode() ? HorizontalLine : VerticalLine, PositionOfInteriorLineBoxes); 169 shapeInsideInfo->updateSegmentsForLine(lastFloatLogicalBottom + logicalOffsetFromShapeContainer, lineHeight);
|
RenderSearchField.h | 40 virtual LayoutUnit computeControlLogicalHeight(LayoutUnit lineHeight, LayoutUnit nonContentHeight) const OVERRIDE;
|
RenderTextControlMultiLine.cpp | 70 LayoutUnit RenderTextControlMultiLine::computeControlLogicalHeight(LayoutUnit lineHeight, LayoutUnit nonContentHeight) const 72 return lineHeight * toHTMLTextAreaElement(node())->rows() + nonContentHeight;
|
RenderBR.cpp | 46 int RenderBR::lineHeight(bool firstLine) const
|
RenderBR.h | 46 int lineHeight(bool firstLine) const;
|
RenderTextControlMultiLine.h | 43 virtual LayoutUnit computeControlLogicalHeight(LayoutUnit lineHeight, LayoutUnit nonContentHeight) const OVERRIDE;
|
RootInlineBox.cpp | 109 LayoutUnit RootInlineBox::lineHeight() const 111 return boxModelObject()->lineHeight(isFirstLineStyle(), isHorizontal() ? HorizontalLine : VerticalLine, PositionOfInteriorLineBoxes); 741 descent = box->lineHeight() - ascent; [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/font/ |
BitmapCharacterSet.java | 42 private int lineHeight;
53 oc.write(lineHeight, "lineHeight", 0);
90 lineHeight = ic.readInt("lineHeight", 0);
141 return lineHeight;
144 public void setLineHeight(int lineHeight) {
145 this.lineHeight = lineHeight;
196 this.lineHeight = Math.max(this.lineHeight, styleSet.lineHeight); [all...] |
/external/chromium_org/third_party/WebKit/Source/core/rendering/shapes/ |
Shape.h | 75 bool lineOverlapsShapeMarginBounds(LayoutUnit lineTop, LayoutUnit lineHeight) const { return lineOverlapsBoundingBox(lineTop, lineHeight, shapeMarginLogicalBoundingBox()); } 76 bool lineOverlapsShapePaddingBounds(LayoutUnit lineTop, LayoutUnit lineHeight) const { return lineOverlapsBoundingBox(lineTop, lineHeight, shapePaddingLogicalBoundingBox()); } 83 bool lineOverlapsBoundingBox(LayoutUnit lineTop, LayoutUnit lineHeight, const LayoutRect& rect) const 87 return (lineTop < rect.maxY() && lineTop + lineHeight > rect.y()) || (!lineHeight && lineTop == rect.y());
|
ShapeInsideInfo.cpp | 63 bool ShapeInsideInfo::updateSegmentsForLine(LayoutSize lineOffset, LayoutUnit lineHeight) 65 bool result = updateSegmentsForLine(lineOffset.height(), lineHeight); 73 bool ShapeInsideInfo::updateSegmentsForLine(LayoutUnit lineTop, LayoutUnit lineHeight) 75 ASSERT(lineHeight >= 0); 77 m_lineHeight = lineHeight; 82 m_segments = computeSegmentsForLine(lineTop, lineHeight);
|
ShapeInsideInfo.h | 69 bool updateSegmentsForLine(LayoutSize lineOffset, LayoutUnit lineHeight); 70 bool updateSegmentsForLine(LayoutUnit lineTop, LayoutUnit lineHeight); 105 virtual void getIntervals(LayoutUnit lineTop, LayoutUnit lineHeight, SegmentList& segments) const OVERRIDE 107 return computedShape()->getIncludedIntervals(lineTop, lineHeight, segments);
|
ShapeOutsideInfo.h | 47 void updateDeltasForContainingBlockLine(const RenderBlockFlow*, const FloatingObject*, LayoutUnit lineTop, LayoutUnit lineHeight); 60 virtual void getIntervals(LayoutUnit lineTop, LayoutUnit lineHeight, SegmentList& segments) const OVERRIDE 62 return computedShape()->getExcludedIntervals(lineTop, lineHeight, segments);
|
BoxShapeTest.cpp | 54 #define TEST_EXCLUDED_INTERVAL(shapePtr, lineTop, lineHeight, expectedLeft, expectedRight) \ 57 shapePtr->getExcludedIntervals(lineTop, lineHeight, result); \ 63 #define TEST_NO_EXCLUDED_INTERVAL(shapePtr, lineTop, lineHeight) \ 66 shapePtr->getExcludedIntervals(lineTop, lineHeight, result); \
|
ShapeOutsideInfo.cpp | 58 void ShapeOutsideInfo::updateDeltasForContainingBlockLine(const RenderBlockFlow* containingBlock, const FloatingObject* floatingObject, LayoutUnit lineTop, LayoutUnit lineHeight) 63 if (shapeSizeDirty() || m_lineTop != floatRelativeLineTop || m_lineHeight != lineHeight) { 66 m_lineHeight = lineHeight; 71 SegmentList segments = computeSegmentsForLine(floatRelativeLineTop, lineHeight);
|
ShapeInfo.cpp | 84 SegmentList ShapeInfo<RenderType>::computeSegmentsForLine(LayoutUnit lineTop, LayoutUnit lineHeight) const 86 ASSERT(lineHeight >= 0); 89 getIntervals((lineTop - logicalTopOffset()), std::min(lineHeight, shapeLogicalBottom() - lineTop), segments);
|
/external/chromium_org/third_party/WebKit/Source/core/css/ |
CSSFontValue.cpp | 52 if (lineHeight) { 56 result.append(lineHeight->cssText()); 73 && compareCSSValuePtr(lineHeight, other.lineHeight)
|
CSSFontValue.h | 48 RefPtr<CSSPrimitiveValue> lineHeight;
|
/packages/apps/Dialer/src/com/android/dialer/list/ |
TileInteractionTeaserView.java | 77 final int lineHeight = text.getLineHeight(); 80 arrowParams.topMargin = mTextTop + lineHeight / 2;
|
/external/chromium_org/third_party/WebKit/PerformanceTests/CSS/ |
CSSPropertySetterGetter.html | 43 'lineHeight' : '40px',
|
/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/third_party/WebKit/Source/devtools/front_end/ |
TimelineFrameOverview.js | 255 var lineHeight = 12 * window.devicePixelRatio; 267 if (!i && labelTopMargin < y - lineHeight) 268 labelOffsetY = -lineHeight; // Labels are going to be over their grid lines. 270 if (labelY < labelTopMargin || labelY + lineHeight > height) 277 this._context.fillRect(labelX - labelWidth, labelY, labelWidth, lineHeight); 279 this._context.fillText(label, labelX - labelPadding, labelY + lineHeight - baselineHeight); 280 labelTopMargin = labelY + lineHeight;
|
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/input/ |
InsertionHandleController.java | 291 int lineHeight = getLineHeight(); 294 mPositionY = mHandle.getAdjustedPositionY() - height - lineHeight; 312 coords[1] += 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> </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/chromium_org/third_party/WebKit/ManualTests/ |
left-overflow-repaint.html | 37 <button onclick="document.getElementById('u').style.lineHeight = '3'">
|