/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletDynamics/ConstraintSolver/ |
btUniversalConstraint.cpp | 47 btVector3 xAxis = yAxis.cross(zAxis); // we want right coordinate system 50 frameInW.getBasis().setValue( xAxis[0], yAxis[0], zAxis[0], 51 xAxis[1], yAxis[1], zAxis[1], 52 xAxis[2], yAxis[2], zAxis[2]); 71 btVector3 xAxis = yAxis.cross(zAxis); // we want right coordinate system 75 frameInW.getBasis().setValue( xAxis[0], yAxis[0], zAxis[0], 76 xAxis[1], yAxis[1], zAxis[1], 77 xAxis[2], yAxis[2], zAxis[2]);
|
btHinge2Constraint.cpp | 43 btVector3 xAxis = axis2.normalize(); 44 btVector3 yAxis = zAxis.cross(xAxis); // we want right coordinate system 47 frameInW.getBasis().setValue( xAxis[0], yAxis[0], zAxis[0], 48 xAxis[1], yAxis[1], zAxis[1], 49 xAxis[2], yAxis[2], zAxis[2]);
|
btGeneric6DofSpringConstraint.cpp | 169 btVector3 xAxis = yAxis.cross(zAxis); // we want right coordinate system 173 frameInW.getBasis().setValue( xAxis[0], yAxis[0], zAxis[0], 174 xAxis[1], yAxis[1], zAxis[1], 175 xAxis[2], yAxis[2], zAxis[2]);
|
/external/chromium-trace/catapult/third_party/flot/ |
jquery.flot.image.min.js | 7 (function($){var options={series:{images:{show:false,alpha:1,anchor:"corner"}}};$.plot.image={};$.plot.image.loadDataImages=function(series,options,callback){var urls=[],points=[];var defaultShow=options.series.images.show;$.each(series,function(i,s){if(!(defaultShow||s.images.show))return;if(s.data)s=s.data;$.each(s,function(i,p){if(typeof p[0]=="string"){urls.push(p[0]);points.push(p)}})});$.plot.image.load(urls,function(loadedImages){$.each(points,function(i,p){var url=p[0];if(loadedImages[url])p[0]=loadedImages[url]});callback()})};$.plot.image.load=function(urls,callback){var missing=urls.length,loaded={};if(missing==0)callback({});$.each(urls,function(i,url){var handler=function(){--missing;loaded[url]=this;if(missing==0)callback(loaded)};$("<img />").load(handler).error(handler).attr("src",url)})};function drawSeries(plot,ctx,series){var plotOffset=plot.getPlotOffset();if(!series.images||!series.images.show)return;var points=series.datapoints.points,ps=series.datapoints.pointsize;for(var i=0;i<points.length;i+=ps){var img=points[i],x1=points[i+1],y1=points[i+2],x2=points[i+3],y2=points[i+4],xaxis=series.xaxis,yaxis=series.yaxis,tmp;if(!img||img.width<=0||img.height<=0)continue;if(x1>x2){tmp=x2;x2=x1;x1=tmp}if(y1>y2){tmp=y2;y2=y1;y1=tmp}if(series.images.anchor=="center"){tmp=.5*(x2-x1)/(img.width-1);x1-=tmp;x2+=tmp;tmp=.5*(y2-y1)/(img.height-1);y1-=tmp;y2+=tmp}if(x1==x2||y1==y2||x1>=xaxis.max||x2<=xaxis.min||y1>=yaxis.max||y2<=yaxis.min)continue;var sx1=0,sy1=0,sx2=img.width,sy2=img.height;if(x1<xaxis.min){sx1+=(sx2-sx1)*(xaxis.min-x1)/(x2-x1);x1=xaxis.min}if(x2>xaxis.max){sx2+=(sx2-sx1)*(xaxis.max-x2)/(x2-x1);x2=xaxis.max}if(y1<yaxis.min){sy2+=(sy1-sy2)*(yaxis.min-y1)/(y2-y1);y1=yaxis.min}if(y2>yaxis.max){sy1+=(sy1 (…) [all...] |
jquery.flot.image.js | 131 xaxis = series.xaxis, yaxis = series.yaxis, 164 x1 >= xaxis.max || x2 <= xaxis.min || 169 if (x1 < xaxis.min) { 170 sx1 += (sx2 - sx1) * (xaxis.min - x1) / (x2 - x1); 171 x1 = xaxis.min; 174 if (x2 > xaxis.max) { 175 sx2 += (sx2 - sx1) * (xaxis.max - x2) / (x2 - x1); 176 x2 = xaxis.max [all...] |
jquery.flot.categories.js | 12 $.plot("#placeholder", data, { xaxis: { mode: "categories" } }); 18 xaxis: { 26 xaxis: { 42 as "categories" on the axis object, e.g. plot.getAxes().xaxis.categories. 48 xaxis: { 61 var xCategories = series.xaxis.options.mode == "categories", 175 setupCategoriesForAxis(series, "xaxis", datapoints); 47 var options = { property
|
jquery.flot.categories.min.js | 7 (function($){var options={xaxis:{categories:null},yaxis:{categories:null}};function processRawData(plot,series,data,datapoints){var xCategories=series.xaxis.options.mode=="categories",yCategories=series.yaxis.options.mode=="categories";if(!(xCategories||yCategories))return;var format=datapoints.format;if(!format){var s=series;format=[];format.push({x:true,number:true,required:true});format.push({y:true,number:true,required:true});if(s.bars.show||s.lines.show&&s.lines.fill){var autoscale=!!(s.bars.show&&s.bars.zero||s.lines.show&&s.lines.zero);format.push({y:true,number:true,required:false,defaultValue:0,autoscale:autoscale});if(s.bars.horizontal){delete format[format.length-1].y;format[format.length-1].x=true}}datapoints.format=format}for(var m=0;m<format.length;++m){if(format[m].x&&xCategories)format[m].number=false;if(format[m].y&&yCategories)format[m].number=false}}function getNextIndex(categories){var index=-1;for(var v in categories)if(categories[v]>index)index=categories[v];return index+1}function categoriesTickGenerator(axis){var res=[];for(var label in axis.categories){var v=axis.categories[label];if(v>=axis.min&&v<=axis.max)res.push([v,label])}res.sort(function(a,b){return a[0]-b[0]});return res}function setupCategoriesForAxis(series,axis,datapoints){if(series[axis].options.mode!="categories")return;if(!series[axis].categories){var c={},o=series[axis].options.categories||{};if($.isArray(o)){for(var i=0;i<o.length;++i)c[o[i]]=i}else{for(var v in o)c[v]=o[v]}series[axis].categories=c}if(!series[axis].options.ticks)series[axis].options.ticks=categoriesTickGenerator;transformPointsOnAxis(datapoints,axis,series[axis].categories)}function transformPointsOnAxis(datapoints,axis,categories){var points=datapoints.points,ps=datapoints.pointsize,format=datapoints.format,formatColumn=axis.charAt(0),index=getNextIndex(categories);for(var i=0;i<points.length;i+=ps){if(points[i]==null)continue;for(var m=0;m<ps;++m){var val=points[i+m];if(val==null||!format[m][formatColumn])continue;if(!(val in categories)){categories[val]=index;++index}points[i+m]=categories[val]}}}function processDatapoints(plot,series,datapoints){setupCategoriesForAxis(series,"xaxis",datapoints);setupCategoriesForAxis(series,"yaxis",datapoints)}function init(plot){plot.hooks.proc (…) property
|
jquery.flot.selection.js | 37 alert("You selected " + ranges.xaxis.from + " to " + ranges.xaxis.to) 57 should put in either an xaxis range, if the mode is "y" you need to put in 58 an yaxis range and both xaxis and yaxis if the selection mode is "xy", like 61 setSelection({ xaxis: { from: 0, to: 10 }, yaxis: { from: 40, to: 60 } }); 67 xaxis, the plugin picks the first one it sees. 180 if (r.xaxis && r.yaxis) 181 plot.getPlaceholder().trigger("selected", [ { x1: r.xaxis.from, y1: r.yaxis.from, x2: r.xaxis.to, y2: r.yaxis.to } ]); 233 key = coord + "axis"; // support x1axis as xaxis [all...] |
jquery.flot.selection.min.js | 7 (function($){function init(plot){var selection={first:{x:-1,y:-1},second:{x:-1,y:-1},show:false,active:false};var savedhandlers={};var mouseUpHandler=null;function onMouseMove(e){if(selection.active){updateSelection(e);plot.getPlaceholder().trigger("plotselecting",[getSelection()])}}function onMouseDown(e){if(e.which!=1)return;document.body.focus();if(document.onselectstart!==undefined&&savedhandlers.onselectstart==null){savedhandlers.onselectstart=document.onselectstart;document.onselectstart=function(){return false}}if(document.ondrag!==undefined&&savedhandlers.ondrag==null){savedhandlers.ondrag=document.ondrag;document.ondrag=function(){return false}}setSelectionPos(selection.first,e);selection.active=true;mouseUpHandler=function(e){onMouseUp(e)};$(document).one("mouseup",mouseUpHandler)}function onMouseUp(e){mouseUpHandler=null;if(document.onselectstart!==undefined)document.onselectstart=savedhandlers.onselectstart;if(document.ondrag!==undefined)document.ondrag=savedhandlers.ondrag;selection.active=false;updateSelection(e);if(selectionIsSane())triggerSelectedEvent();else{plot.getPlaceholder().trigger("plotunselected",[]);plot.getPlaceholder().trigger("plotselecting",[null])}return false}function getSelection(){if(!selectionIsSane())return null;if(!selection.show)return null;var r={},c1=selection.first,c2=selection.second;$.each(plot.getAxes(),function(name,axis){if(axis.used){var p1=axis.c2p(c1[axis.direction]),p2=axis.c2p(c2[axis.direction]);r[name]={from:Math.min(p1,p2),to:Math.max(p1,p2)}}});return r}function triggerSelectedEvent(){var r=getSelection();plot.getPlaceholder().trigger("plotselected",[r]);if(r.xaxis&&r.yaxis)plot.getPlaceholder().trigger("selected",[{x1:r.xaxis.from,y1:r.yaxis.from,x2:r.xaxis.to,y2:r.yaxis.to}])}function clamp(min,value,max){return value<min?min:value>max?max:value}functio (…)
|
/external/autotest/frontend/tko/preconfigs/metrics/ |
kernel_compare | 2 xAxis: test_name 25 xAxis: test_name 48 xAxis: test_name
|
perf | 2 xAxis: kernel 53 xAxis: kernel 104 xAxis: kernel
|
/external/chromium-trace/catapult/dashboard/dashboard/elements/ |
chart-slider.html | 68 xaxis: { 172 this.chart.setSelection({xaxis: {from: startIndex, to: endIndex}}, 228 if (pos.index > selection.xaxis.from && 229 pos.index < selection.xaxis.to) { 263 var indexX = Math.round(axes.xaxis.c2p(posX)); 268 pos.startDist = Math.abs(axes.xaxis.p2c(selection.xaxis.from) - posX); 269 pos.endDist = Math.abs(axes.xaxis.p2c(selection.xaxis.to) - posX); 323 var from = Math.max(0, Math.round(selection.xaxis.from)) [all...] |
/external/chromium-trace/catapult/tracing/tracing/ui/base/ |
name_bar_chart.html | 45 updateXAxis_: function(xAxis) { 46 xAxis.selectAll('*').remove(); 48 var nameTexts = xAxis.selectAll('text')
|
chart_base_2d.html | 168 updateXAxis_: function(xAxis) { 169 xAxis.selectAll('*').remove(); 170 xAxis[0][0].style.opacity = 0; 171 xAxis.attr('transform', 'translate(0,' + this.chartAreaSize.height + ')') 177 xAxis.selectAll('.tick')[0].forEach(function(tick) { 187 xAxis[0][0].style.opacity = 1;
|
/external/skia/tests/ |
Point3Test.cpp | 51 const SkPoint3 xAxis = SkPoint3::Make(1.0f, 0.0f, 0.0f); 55 SkScalar dot = xAxis.dot(yAxis); 61 dot = zAxis.dot(xAxis); 72 dot = xAxis.dot(v);
|
/external/replicaisland/src/com/replica/replicaisland/ |
InputXY.java | 30 public InputXY(InputButton xAxis, InputButton yAxis) { 31 mXAxis = xAxis;
|
/external/autotest/frontend/client/src/autotest/tko/ |
MetricsPlotFrontend.java | 34 private ExtendedListBox xAxis = new DBColumnSelector(DBColumnSelector.PERF_VIEW, true); 87 addControl("X-axis values:", xAxis); 138 args.put("xAxis", xAxis.getSelectedValue()); 158 xAxis.selectByValue(args.get("xAxis")); 229 sql.append(xAxis.getSelectedValue()); 246 sql.append(xAxis.getSelectedValue()); 276 sql.append(xAxis.getSelectedValue());
|
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/utils/ |
PerspectiveCamController.java | 67 Vector3 xAxis = new Vector3(1, 0, 0);
80 xAxis.set(cam.direction).crs(yAxis).nor();
81 rotMatrix.setToRotation(xAxis, delta.y / 5);
|
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/Gimpact/ |
gim_tri_collision.h | 179 btVector3 xaxis = m_vertices[1] - m_vertices[0]; local 180 VEC_NORMALIZE(xaxis); 181 MAT_SET_X(matrix,xaxis); 184 xaxis = zaxis.cross(xaxis); 185 MAT_SET_Y(matrix,xaxis);
|
/external/chromium-trace/catapult/dashboard/dashboard/static/ |
debug_alert_test.html | 101 assert.equal(2, options['grid']['markings'][0]['xaxis']['from']); 102 assert.equal(2, options['grid']['markings'][0]['xaxis']['to']);
|
debug_alert.html | 36 xaxis: { 70 'xaxis': {'from': x, 'to': x}, 116 var xp2c = axes['xaxis']['p2c'];
|
/external/apache-xml/src/main/java/org/apache/xpath/patterns/ |
ContextMatchStepPattern.java | 134 int xaxis = Axis.ATTRIBUTE; local 137 DTMAxisTraverser atraverser = dtm.getAxisTraverser(xaxis); 163 xaxis = Axis.NAMESPACE;
|
/external/chromium-trace/catapult/dashboard/dashboard/templates/ |
bisect_stats.html | 137 xaxis: { 204 xaxis: {
|
/external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/org/jbox2d/common/ |
Rot.java | 81 public void getXAxis(Vec2 xAxis) { 82 xAxis.set(c, s);
|
/external/skia/src/pathops/ |
SkPathOpsCubic.h | 50 double binarySearch(double min, double max, double axisIntercept, SearchAxis xAxis) const; 88 SearchAxis xAxis, double* validRoots) const;
|