/system/extras/tests/sdcard/ |
plot_sdcard.py | 47 class DataSet(object): 48 """Dataset holds the summary and data (time,value pairs).""" 117 def UpdateWith(self, dataset): 118 self.duration = max(self.duration, dataset.duration) 119 self.name = dataset.name 134 data = [] # array of dataset 135 dataset = None 149 if line.startswith('# StopWatch'): # Start of a new dataset 150 if dataset: 151 if dataset.summary [all...] |
/external/chromium_org/tools/perf/utils/results_viewer/src/ |
results_viewer.js | 18 var dataSet = createViewerDataset(e.target.result); 21 viewer.dataSet = dataSet; 37 var dataset = []; 48 dataset.push(newRow); 50 return dataset;
|
main.js | 44 * Generates the YUI column definition for the given dataset. 45 * @param {String[][]} dataSet the dataset that will be displayed. 48 function createYUIColumnDefinitions(dataSet) { 49 var header = dataSet[0]; 50 var firstRow = dataSet[1]; 64 * Generates the YUI data source for the given dataset. 65 * @param {String[][]} dataSet the dataset that will be displayed. 67 * derived from the dataset [all...] |
/external/chromium_org/native_client_sdk/src/resources/ |
common.js | 411 // The data-* attributes on the body can be referenced via body.dataset. 412 if (body.dataset) { 414 if (!body.dataset.customLoad) { 432 var toolchains = body.dataset.tools.split(' '); 433 var configs = body.dataset.configs.split(' '); 436 if (body.dataset.attrs) { 437 var attr_list = body.dataset.attrs.split(' '); 459 var pathFormat = body.dataset.path; 465 loadFunction(body.dataset.name, tc, path, body.dataset.width [all...] |
index.js | 23 var url = exampleEl.dataset.href + '?config=' + configEl.textContent;
|
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
ElementRareData.h | 125 DatasetDOMStringMap* dataset() const { return m_dataset.get(); } function in class:WebCore::ElementRareData 126 void setDataset(PassOwnPtr<DatasetDOMStringMap> dataset) { m_dataset = dataset; }
|
Element.idl | 95 [PerWorldBindings] readonly attribute DOMStringMap dataset;
|
Element.h | 431 DOMStringMap* dataset(); [all...] |
Element.cpp | [all...] |
/prebuilts/devtools/tools/lib/ |
jfreechart-1.0.9.jar | |
jfreechart-swt-1.0.9.jar | |
ddmuilib.jar | |
/prebuilts/tools/common/jfreechart/ |
jfreechart-1.0.9.jar | |
jfreechart-1.0.9-swt.jar | |
/prebuilts/tools/common/m2/repository/jfree/jfreechart/1.0.9/ |
jfreechart-1.0.9.jar | |
/external/chromium_org/chrome/common/extensions/docs/examples/apps/calculator/app/ |
view.js | 66 this.onButton.call(this, event.target.dataset.button) 94 this.onButton.call(this, this.touched.dataset.button);
|
/external/chromium_org/third_party/WebKit/Source/web/resources/ |
colorSuggestionPicker.js | 104 swatch.dataset.index = i; 105 swatch.dataset.value = this._config.values[i]; 154 index = parseInt(selectedElement.dataset.index, 10); 181 this.submitValue(event.target.dataset.value);
|
suggestionPicker.js | 92 entryElement.dataset.value = value; 113 entryElement.dataset.action = actionName; 193 if (typeof entry.dataset.value !== "undefined") { 194 this.submitValue(entry.dataset.value); 195 } else if (entry.dataset.action === SuggestionPicker.ActionNames.OpenCalendarPicker) {
|
calendarPicker.js | [all...] |
/prebuilts/tools/common/m2/repository/jfree/jfreechart-swt/1.0.9/ |
jfreechart-swt-1.0.9.jar | |
/build/tools/droiddoc/templates-pdk/assets/ |
android-developer-resource-browser.js | 14 // Load tag and resource dataset.
|
/external/chromium_org/chrome/third_party/chromevox/extensions/searchvox/ |
search_tools.js | 145 window.location = menuItem.dataset.url;
|
/external/chromium_org/chrome/browser/resources/history/ |
history.js | 180 menu.dataset.devicename = self.deviceName; 181 menu.dataset.devicetype = self.deviceType; [all...] |
/external/chromium_org/chrome/browser/resources/ntp_android/ |
ntp_android.js | 793 activeItem.classList.remove(activeItem.dataset.activeClass); 798 el.dataset.activeClass = activeClass; [all...] |
/external/chromium_org/third_party/WebKit/Tools/TestResultServer/static-dashboards/ |
dygraph-combined.js | 1 DygraphLayout=function(b,a){this.dygraph_=b;this.options={};Dygraph.update(this.options,a?a:{});this.datasets=new Array();this.annotations=new Array()};DygraphLayout.prototype.attr_=function(a){return this.dygraph_.attr_(a)};DygraphLayout.prototype.addDataset=function(a,b){this.datasets[a]=b};DygraphLayout.prototype.setAnnotations=function(d){var e=this.attr_("xValueParser");for(var c=0;c<d.length;c++){var b={};if(!d[c].xval&&!d[c].x){this.dygraph_.error("Annotations must have an 'x' property");return}if(d[c].icon&&!(d[c].hasOwnProperty("width")&&d[c].hasOwnProperty("height"))){this.dygraph_.error("Must set width and height when setting annotation.icon property");return}Dygraph.update(b,d[c]);if(!b.xval){b.xval=e(b.x)}this.annotations.push(b)}};DygraphLayout.prototype.evaluate=function(){this._evaluateLimits();this._evaluateLineCharts();this._evaluateLineTicks();this._evaluateAnnotations()};DygraphLayout.prototype._evaluateLimits=function(){this.minxval=this.maxxval=null;if(this.options.dateWindow){this.minxval=this.options.dateWindow[0];this.maxxval=this.options.dateWindow[1]}else{for(var c in this.datasets){if(!this.datasets.hasOwnProperty(c)){continue}var d=this.datasets[c];var b=d[0][0];if(!this.minxval||b<this.minxval){this.minxval=b}var a=d[d.length-1][0];if(!this.maxxval||a>this.maxxval){this.maxxval=a}}}this.xrange=this.maxxval-this.minxval;this.xscale=(this.xrange!=0?1/this.xrange:1);this.minyval=this.options.yAxis[0];this.maxyval=this.options.yAxis[1];this.yrange=this.maxyval-this.minyval;this.yscale=(this.yrange!=0?1/this.yrange:1)};DygraphLayout.prototype._evaluateLineCharts=function(){this.points=new Array();for(var e in this.datasets){if(!this.datasets.hasOwnProperty(e)){continue}var d=this.datasets[e];for(var b=0;b<d.length;b++){var c=d[b];var a={x:((parseFloat(c[0])-this.minxval)*this.xscale),y:1-((parseFloat(c[1])-this.minyval)*this.yscale),xval:parseFloat(c[0]),yval:parseFloat(c[1]),name:e};if(a.y<=0){a.y=0}if(a.y>=1){a.y=1}this.points.push(a)}}};DygraphLayout.prototype._evaluateLineTicks=function(){this.xticks=new Array();for(var c=0;c<this.options.xTicks.length;c++){var b=this.options.xTicks[c];var a=b.label;var d=this.xscale*(b.v-this.minxval);if((d>=0)&&(d<=1)){this.xticks.push([d,a])}}this.yticks=new Array();for(var c=0;c<this.options.yTicks.length;c++){var b=this.options.yTicks[c];var a=b.label;var d=1-(this.yscale*(b.v-this.minyval));if((d>=0)&&(d<=1)){this.yticks.push([d,a])}}};DygraphLayout.prototype.evaluateWithError=function(){this.evaluate();if(!this.options.errorBars){return}var d=0;for(var g in this.datasets){if(!this.datasets.hasOwnProperty(g)){continue}var c=0;var f=this.datasets[g];for(var c=0;c<f.length;c++,d++){var e=f[c];var a=parseFloat(e[0]);var b=parseFloat(e[1]);if(a==this.points[d].xval&&b==this.points[d].yval){this.points[d].errorMinus=parseFloat(e[2]);this.points[d].errorPlus=parseFloat(e[3])}}}};DygraphLayout.prototype._evaluateAnnotations=function(){var f={};for(var d=0;d<this.annotations.length;d++){var b=this.annotations[d];f[b.xval+","+b.series]=b}this.annotated_points=[];for(var d=0;d<this.points.length;d++){var e=this.points[d];var c=e.xval+","+e.name;if(c in f){e.annotation=f[c];this.annotated_points.push(e)}}};DygraphLayout.prototype.removeAllDatasets=function(){delete this.datasets;this.datasets=new Array()};DygraphLayout.prototype.updateOptions=function(a){Dygraph.update(this.options,a?a:{})};DygraphCanvasRenderer=function(c,b,d,a){this.dygraph_=c;this.options={strokeWidth:0.5,drawXAxis:true,drawYAxis:true,axisLineColor:"black",axisLineWidth:0.5,axisTickSize:3,axisLabelColor:"black",axisLabelFont:"Arial",axisLabelFontSize:9,axisLabelWidth:50,drawYGrid:true,drawXGrid:true,gridLineColor:"rgb(128,128,128)",fillAlpha:0.15,underlayCallback:null};Dygraph.update(this.options,a);this.layout=d;this.element=b;this.container=this.element.parentNode;this.height=this.element.height;this.width=this.element.width;if(!this.isIE&&!(DygraphCanvasRenderer.isSupported(this.element))){throw"Canvas is not supported."}this.xlabels=new Array();this.ylabels=new Array();this.annotations=new Array();this.area={x:this.options.yAxisLabelWidth+2*this.options.axisTickSize,y:0};this.area.w=this.width-this.area.x-this.options.rightGap;this.area.h=this.height-this.options.axisLabelFontSize-2*this.options.axisTickSize;this.container.style.position="relative";this.container.style.width=this.width+"px"};DygraphCanvasRenderer.prototype.clear=function(){if(this.isIE){try{if(this.clearDelay){this.clearDelay.cancel();this.clearDelay=null}var b=this.element.getContext("2d")}catch(d){this.clearDelay=MochiKit.Async.wait(this.IEDelay);this.clearDelay.addCallback(bind(this.clear,this));return}}var b=this.element.getContext("2d");b.clearRect(0,0,this.width,this.height);for(var a=0;a<this.xlabels.length;a++){var c=this.xlabels[a];c.parentNode.removeChild(c)}for(var a=0;a<this.ylabels.length;a++){var c=this.ylabels[a];c.parentNode.removeChild(c)}for(var a=0;a<this.annotations.length;a++){var c=this.annotations[a];c.parentNode.removeChild(c)}this.xlabels=new Array();this.ylabels=new Array();this.annotations=new Array()};DygraphCanvasRenderer.isSupported=function(g){var b=null;try{if(typeof(g)=="undefined"||g==null){b=document.createElement("canvas")}else{b=g}var c=b.getContext("2d")}catch(d){var f=navigator.appVersion.match(/MSIE (\d\.\d)/);var a=(navigator.userAgent.toLowerCase().indexOf("opera")!=-1);if((!f)||(f[1]<6)||(a)){return false}return true}return true};DygraphCanvasRenderer.prototype.render=function(){var b=this.element.getContext("2d");if(this.options.underlayCallback){this.options.underlayCallback(b,this.area,this.layout,this.dygraph_)}if(this.options.drawYGrid){var d=this.layout.yticks;b.save();b.strokeStyle=this.options.gridLineColor;b.lineWidth=this.options.axisLineWidth;for(var c=0;c<d.length;c++){var a=this.area.x;var e=this.area.y+d[c][0]*this.area.h;b.beginPath();b.moveTo(a,e);b.lineTo(a+this.area.w,e);b.closePath();b.stroke()}}if(this.options.drawXGrid){var d=this.layout.xticks;b.save();b.strokeStyle=this.options.gridLineColor;b.lineWidth=this.options.axisLineWidth;for(var c=0;c<d.length;c++){var a=this.area.x+d[c][0]*this.area.w;var e=this.area.y+this.area.h;b.beginPath();b.moveTo(a,e);b.lineTo(a,this.area.y);b.closePath();b.stroke()}}this._renderLineChart();this._renderAxis();this._renderAnnotations()};DygraphCanvasRenderer.prototype._renderAxis=function(){if(!this.options.drawXAxis&&!this.options.drawYAxis){return}var b=this.element.getContext("2d");var g={position:"absolute",fontSize:this.options.axisLabelFontSize+"px",zIndex:10,color:this.options.axisLabelColor,width:this.options.axisLabelWidth+"px",overflow:"hidden"};var d=function(o){var q=document.createElement("div");for(var p in g){if(g.hasOwnProperty(p)){q.style[p]=g[p]}}q.appendChild(document.createTextNode(o));return q};b.save();b.strokeStyle=this.options.axisLineColor;b.lineWidth=this.options.axisLineWidth;if(this.options.drawYAxis){if(this.layout.yticks&&this.layout.yticks.length>0){for(var e=0;e<this.layout.yticks.length;e++){var f=this.layout.yticks[e];if(typeof(f)=="function"){return}var l=this.area.x;var j=this.area.y+f[0]*this.area.h;b.beginPath();b.moveTo(l,j);b.lineTo(l-this.options.axisTickSize,j);b.closePath();b.stroke();var k=d(f[1]);var h=(j-this.options.axisLabelFontSize/2);if(h<0){h=0}if(h+this.options.axisLabelFontSize+3>this.height){k.style.bottom="0px"}else{k.style.top=h+"px"}k.style.left="0px";k.style.textAlign="right";k.style.width=this.options.yAxisLabelWidth+"px";this.container.appendChild(k);this.ylabels.push(k)}var m=this.ylabels[0];var n=this.options.axisLabelFontSize;var a=parseInt(m.style.top)+n;if(a>this.height-n){m.style.top=(parseInt(m.style.top)-n/2)+"px"}}b.beginPath();b.moveTo(this.area.x,this.area.y);b.lineTo(this.area.x,this.area.y+this.area.h);b.closePath();b.stroke()}if(this.options.drawXAxis){if(this.layout.xticks){for(var e=0;e<this.layout.xticks.length;e++){var f=this.layout.xticks[e];if(typeof(dataset)=="function"){return}var l=this.area.x+f[0]*this.area.w;var j=this.area.y+this.area.h;b.beginPath( (…) [all...] |