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

1 2

  /external/chromium_org/third_party/WebKit/Source/core/css/
CSSFontValue.h 48 RefPtr<CSSPrimitiveValue> 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/chromium_org/third_party/WebKit/Source/core/rendering/
RenderBR.cpp 46 int RenderBR::lineHeight(bool firstLine) const
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);
InlineBox.cpp 143 LayoutUnit InlineBox::lineHeight() const
145 return boxModelObject()->lineHeight(m_bitfields.firstLine(), isHorizontal() ? HorizontalLine : VerticalLine, PositionOnContainingLine);
RootInlineBox.cpp 109 LayoutUnit RootInlineBox::lineHeight() const
111 return boxModelObject()->lineHeight(isFirstLineStyle(), isHorizontal() ? HorizontalLine : VerticalLine, PositionOfInteriorLineBoxes);
741 descent = box->lineHeight() - ascent;
    [all...]
InlineFlowBox.cpp 129 || parentStyle->lineHeight() != childStyle->lineHeight()
146 || parentStyle->lineHeight() != childStyle->lineHeight()
477 // The computed lineheight needs to be extended for the
482 int lineHeight = curr->lineHeight();
484 if (maxAscent + maxDescent < lineHeight)
485 maxDescent = lineHeight - maxAscent;
488 if (maxAscent + maxDescent < lineHeight)
    [all...]
InlineTextBox.cpp 114 LayoutUnit InlineTextBox::lineHeight() const
119 return toRenderBR(m_renderer)->lineHeight(isFirstLineStyle());
121 return parent()->lineHeight();
122 return toRenderBoxModelObject(renderer()->parent())->lineHeight(isFirstLineStyle(), isHorizontal() ? HorizontalLine : VerticalLine, PositionOnContainingLine);
    [all...]
RenderInline.cpp 219 || parentStyle->lineHeight() != style()->lineHeight()))
228 || parentStyle->lineHeight() != childStyle->lineHeight();
    [all...]
RenderListMarker.cpp     [all...]
RenderBlockLineLayout.cpp     [all...]
RenderBlock.cpp     [all...]
RenderBox.cpp     [all...]
  /external/chromium_org/third_party/WebKit/Source/core/html/track/vtt/
VTTRegion.cpp 65 static const float lineHeight = 5.33;
400 // Let lineHeight be '0.0533vh' ('vh' is a CSS unit) and regionHeight be
401 // the text track region height. Let height be 'lineHeight' multiplied
403 double height = lineHeight * m_heightInLines;
  /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...]
  /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/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/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);
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
GCWrapper.java 396 int lineHeight = getGc().getFontMetrics().getHeight();
413 lineY += lineHeight;
  /external/chromium_org/third_party/WebKit/Source/core/css/resolver/
StyleBuilderCustom.cpp 270 Length lineHeight;
273 lineHeight = RenderStyle::initialLineHeight();
278 lineHeight = primitiveValue->computeLength<Length>(state.cssToLengthConversionData().copyWithAdjustedZoom(multiplier));
280 lineHeight = Length((state.style()->computedFontSize() * primitiveValue->getIntValue()) / 100.0, Fixed);
282 lineHeight = Length(primitiveValue->getDoubleValue() * 100.0, Percent);
284 lineHeight = primitiveValue->viewportPercentageLength();
290 lineHeight = Length(valueForLength(zoomedLength, state.style()->fontSize()), Fixed);
294 state.style()->setLineHeight(lineHeight);
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/rendering/style/
RenderStyle.cpp     [all...]
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
org.eclipse.ui.forms_3.5.2.r36_v20100702.jar 
org.eclipse.swt.win32.win32.x86_3.6.1.v3657a.jar 
org.eclipse.swt.gtk.linux.x86_3.6.1.v3657a.jar 
org.eclipse.jface.text_3.6.1.r361_v20100825-0800.jar 

Completed in 299 milliseconds

1 2