Searched refs:fillText (Results 1 - 9 of 9) sorted by relevance

/external/chromium-trace/trace-viewer/src/tracks/
H A Dtimeline_viewport_track.js204 ctx.fillText(tickLabels[roundedUnitValue],
294 ctx.fillText(textToDraw, textLeftView, textPosY);
H A Dtimeline_slice_track.js193 ctx.fillText(drawnTitle, cX, 2.5 * pixelRatio, drawnWidth);
/external/webkit/Source/WebCore/html/canvas/
H A DCanvasRenderingContext2D.h215 void fillText(const String& text, float x, float y);
216 void fillText(const String& text, float x, float y, float maxWidth);
H A DCanvasRenderingContext2D.idl103 void fillText(in DOMString text, in float x, in float y, in [Optional] float maxWidth);
159 [Custom] void fillText(/* 4 */);
H A DCanvasRenderingContext2D.cpp1795 void CanvasRenderingContext2D::fillText(const String& text, float x, float y) function in class:WebCore::CanvasRenderingContext2D
1800 void CanvasRenderingContext2D::fillText(const String& text, float x, float y, float maxWidth) function in class:WebCore::CanvasRenderingContext2D
/external/webkit/Source/WebCore/bindings/js/
H A DJSCanvasRenderingContext2DCustom.cpp412 JSValue JSCanvasRenderingContext2D::fillText(ExecState* exec) function in class:WebCore::JSCanvasRenderingContext2D
424 context->fillText(ustringToString(exec->argument(0).toString(exec)), exec->argument(1).toFloat(exec), exec->argument(2).toFloat(exec), exec->argument(3).toFloat(exec));
426 context->fillText(ustringToString(exec->argument(0).toString(exec)), exec->argument(1).toFloat(exec), exec->argument(2).toFloat(exec));
/external/chromium/chrome/browser/resources/gpu_internals/
H A Dtimeline_track.js269 ctx.fillText(slice.title, cX, 2.5);
/external/v8/benchmarks/spinning-balls/
H A Dv.js285 this.ctx.fillText(v + "ms", x + 2, y);
/external/chromium-trace/
H A Dscript.js62 t,v,r.duration),t=v.string,v=v.width),v*e<r.duration&&(r=c.xWorldToView(r.start+0.5*r.duration),b.fillText(t,r,2.5*p,v)))}}c.drawOverContent(b,m,f,g)},addIntersectingItemsToSelection:function(a,b,d){var f=this.getBoundingClientRect();if(b<f.top||b>=f.bottom)return!1;a=this.viewport_.xViewVectorToWorld(a*devicePixelRatio);a=tracing.findLowIndexInSortedIntervals(this.slices_,function(a){return a.start},function(a){return a.duration},a);return 0<=a&&a<this.slices_.length?(d=d.addSlice(this,this.slices_[a]),
126 a.strokeStyle="rgb(0, 0, 0)";a.textAlign="left";a.textBaseline="top";g=window.devicePixelRatio||1;a.font=9*g+"px sans-serif";for(var u=k;u<e;u+=q){var r=Math.floor(f.xWorldToView(u)),k=Math.floor(1E5*(u/p))/1E5;s[k]||(s[k]=k+" "+m);a.fillText(s[k],r+2*g,0);a.beginPath();a.moveTo(r,0);a.lineTo(r,j);for(k=1;5>k;++k){var w=Math.floor(r+t*k);a.moveTo(w,j-d);a.lineTo(w,j)}a.stroke()}if(h){a.moveTo(0,j);a.lineTo(b,j);a.stroke();b=f.markers.slice();b.sort(function(a,b){return a.positionWorld_-b.positionWorld_});
127 j+=2;e=j+4;for(k=0;k<b.length-1;k++)s=b[k+1],t=b[k],d=s.positionWorld-t.positionWorld,q=f.xWorldVectorToView(d),h=f.xWorldToView(t.positionWorld+d/2),100>d?(m="ms",p=1):(m="s",p=1E3),p=d/p,m=Math.abs(Math.floor(1E3*p)/1E3)+" "+m,p=a.measureText(m).width,g=f.xViewVectorToWorld(p),p=p+26+10,u=t.positionWorld+d/2-g/2,r=u+g,d=j,g=f.xWorldToView(u),u=f.xWorldToView(r),t=f.xWorldToView(t.positionWorld),s=f.xWorldToView(s.positionWorld),r=!1,p<=q&&(a.fillStyle="rgb(0,0,0)",a.fillText(m,g,d),r=!0),26<=q&&

Completed in 1362 milliseconds