HomeSort by relevance Sort by last modified time
    Searched full:_canvas (Results 1 - 11 of 11) sorted by null

  /external/chromium_org/third_party/WebKit/Source/devtools/front_end/
PaintProfilerView.js 45 this._canvas = this.element.createChild("canvas", "fill");
46 this._context = this._canvas.getContext("2d");
66 this._canvas.width = this.element.clientWidth * window.devicePixelRatio;
67 this._canvas.height = this.element.clientHeight * window.devicePixelRatio;
72 var maxBars = Math.floor((this._canvas.width - 2 * this._barPaddingWidth) / this._outerBarWidth);
94 var scale = (this._canvas.height - paddingHeight - this._minBarHeight) / maxBarTime;
107 var y = this._canvas.height - height;
124 var screenLeft = this._selectionWindow.windowLeft * this._canvas.width;
125 var screenRight = this._selectionWindow.windowRight * this._canvas.width;
MemoryStatistics.js 56 this._canvas = this._canvasContainer.createChild("canvas", "fill");
57 this._canvas.id = "memory-counters-graph";
60 this._canvas.addEventListener("mouseover", this._onMouseOver.bind(this), true);
61 this._canvas.addEventListener("mousemove", this._onMouseMove.bind(this), true);
62 this._canvas.addEventListener("mouseout", this._onMouseOut.bind(this), true);
63 this._canvas.addEventListener("click", this._onClick.bind(this), true);
236 this._canvas.style.width = width + "px";
238 var parentElement = this._canvas.parentElement;
240 this._canvas.width = width;
241 this._canvas.height = parentElement.clientHeight - 15
    [all...]
TimelineMemoryOverview.js 65 var width = this._canvas.width;
66 var height = this._canvas.height - lowerOffset;
85 ctx.moveTo(0, this._canvas.height);
99 ctx.lineTo(width, this._canvas.height);
100 ctx.lineTo(0, this._canvas.height);
TimelineFrameOverview.js 76 var mainThreadFramesHeight = this._canvas.height - backgroundFramesHeight;
79 var framesPerBar = Math.max(1, frameCount * minBarWidth / this._canvas.width);
95 this._setCanvasWindow(0, backgroundFramesHeight, this._canvas.width, mainThreadFramesHeight);
99 this._context.fillRect(0, 0, this._canvas.width, this._topPadding);
107 this._context.lineTo(this._canvas.width, bottom);
221 this._actualOuterBarWidth = Math.min((this._canvas.width - 2 * this._outerPadding) / frames.length, this._maxInnerBarWidth + maxPadding);
265 var labelX = this._canvas.width;
274 this._context.lineTo(this._canvas.width, y);
346 var windowSpan = this._canvas.width;
407 return (this._barNumberToScreenPosition(index) - this._actualPadding / 2) / this._canvas.width
    [all...]
FlameChart.js 145 this._width = mainPane._canvas.width - this.paddingLeft;
520 this._canvas = this._chartContainer.createChild("canvas");
521 this._canvas.addEventListener("mousemove", this._onMouseMove.bind(this));
522 this._canvas.addEventListener("mousewheel", this._onMouseWheel.bind(this), false);
523 this._canvas.addEventListener("click", this._onClick.bind(this), false);
524 WebInspector.installDragHandle(this._canvas, this._startCanvasDragging.bind(this), this._canvasDragging.bind(this), this._endCanvasDragging.bind(this), "col-resize");
614 this._canvas.style.cursor = "default";
616 this._canvas.style.cursor = "pointer";
663 var cursorLevel = Math.floor((this._canvas.height / window.devicePixelRatio - y) / this._barHeight);
690 this._canvas.width = width * ratio
    [all...]
TimelineEventOverview.js 66 var stripHeight = Math.round(this._canvas.height / WebInspector.TimelineEventOverview._numberOfStrips);
69 var scale = this._canvas.width / timeSpan;
75 this._context.fillRect(0.5, i * stripHeight + 0.5, this._canvas.width, stripHeight);
TimelineOverviewPane.js 318 this._canvas = this.element.createChild("canvas", "fill");
319 this._context = this._canvas.getContext("2d");
357 this._canvas.width = this.element.clientWidth * window.devicePixelRatio;
358 this._canvas.height = this.element.clientHeight * window.devicePixelRatio;
DOMCountersGraph.js 329 var canvas = this._canvas;
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib-tk/
turtle.py 366 self._canvas = TK.Canvas(master, width=width, height=height,
368 self.hscroll = TK.Scrollbar(master, command=self._canvas.xview,
370 self.vscroll = TK.Scrollbar(master, command=self._canvas.yview)
371 self._canvas.configure(xscrollcommand=self.hscroll.set,
375 self._canvas.grid(padx=1, in_ = self, pady=1, row=0,
392 self._canvas.config(bg=bg,
395 self._canvas.xview_moveto(0.5*(self.canvwidth - self.width + 30) /
397 self._canvas.yview_moveto(0.5*(self.canvheight- self.height + 30) /
405 cwidth = self._canvas.winfo_width()
406 cheight = self._canvas.winfo_height(
3558 _canvas = None variable in class:_Screen
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib-tk/
turtle.py 366 self._canvas = TK.Canvas(master, width=width, height=height,
368 self.hscroll = TK.Scrollbar(master, command=self._canvas.xview,
370 self.vscroll = TK.Scrollbar(master, command=self._canvas.yview)
371 self._canvas.configure(xscrollcommand=self.hscroll.set,
375 self._canvas.grid(padx=1, in_ = self, pady=1, row=0,
392 self._canvas.config(bg=bg,
395 self._canvas.xview_moveto(0.5*(self.canvwidth - self.width + 30) /
397 self._canvas.yview_moveto(0.5*(self.canvheight- self.height + 30) /
405 cwidth = self._canvas.winfo_width()
406 cheight = self._canvas.winfo_height(
3558 _canvas = None variable in class:_Screen
    [all...]
  /external/chromium_org/chrome/test/functional/perf/endure_graphs/js/
plotter.js     [all...]

Completed in 399 milliseconds