Searched refs:gridSliceTime (Results 1 – 2 of 2) sorted by relevance
76 get gridSliceTime() { getter in WebInspector.TimelineGrid93 var gridSliceTime = calculator.boundarySpan() / dividersCount;101 var logGridSliceTime = Math.ceil(Math.log(gridSliceTime) / Math.LN10);102 gridSliceTime = Math.pow(10, logGridSliceTime);103 if (gridSliceTime * pixelsPerTime >= 5 * minGridSlicePx)104 gridSliceTime = gridSliceTime / 5;105 if (gridSliceTime * pixelsPerTime >= 2 * minGridSlicePx)106 gridSliceTime = gridSliceTime / 2;107 this._gridSliceTime = gridSliceTime;109 …eil((calculator.minimumBoundary() - calculator.zeroTime()) / gridSliceTime) * gridSliceTime + calc…[all …]
140 …this._decimalDigits = Math.max(0, -Math.floor(log10(mainPane._timelineGrid.gridSliceTime * 1.01)));