Home
last modified time | relevance | path

Searched refs:axis (Results 1 – 25 of 362) sorted by relevance

12345678910>>...15

/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/BroadphaseCollision/
DbtAxisSweep3.h111 void debugPrintAxis(int axis,bool checkCardinality=true);
119 void sortMinDown(int axis, BP_FP_INT_TYPE edge, btDispatcher* dispatcher, bool updateOverlaps );
120 void sortMinUp(int axis, BP_FP_INT_TYPE edge, btDispatcher* dispatcher, bool updateOverlaps );
121 void sortMaxDown(int axis, BP_FP_INT_TYPE edge, btDispatcher* dispatcher, bool updateOverlaps );
122 void sortMaxUp(int axis, BP_FP_INT_TYPE edge, btDispatcher* dispatcher, bool updateOverlaps );
209 void btAxisSweep3<BP_FP_INT_TYPE>::debugPrintAxis(int axis, bool checkCardinality) in debugPrintAxis() argument
211 int numEdges = m_pHandles[0].m_maxEdges[axis]; in debugPrintAxis()
212 printf("SAP Axis %d, numEdges=%d\n",axis,numEdges); in debugPrintAxis()
217 Edge* pEdge = m_pEdges[axis] + i; in debugPrintAxis()
219 int handleIndex = pEdge->IsMax()? pHandlePrev->m_maxEdges[axis] : pHandlePrev->m_minEdges[axis]; in debugPrintAxis()
[all …]
/external/chromium-trace/catapult/third_party/graphy/graphy/
Dformatters.py104 for axis in chart.GetDependentAxes():
105 if axis.min is not None:
106 min_value = axis.min
107 if axis.max is not None:
108 max_value = axis.max
112 for axis in chart.GetDependentAxes():
113 if axis.min is None:
114 axis.min = min_value - buffer
115 if axis.max is None:
116 axis.max = max_value + buffer
[all …]
/external/vulkan-validation-layers/libs/glm/gtx/
Dmatrix_interpolation.inl16 detail::tvec3<T, P> & axis, argument
28 axis.x = (T)1.0;
29 axis.y = (T)0.0;
30 axis.z = (T)0.0;
43 axis.x = (T)0.0;
44 axis.y = (T)0.7071;
45 axis.z = (T)0.7071;
47 axis.x = sqrt(xx);
48 axis.y = xy / axis.x;
49 axis.z = xz / axis.x;
[all …]
Drotate_normalized_axis.inl48 detail::tvec3<T, P> axis = v; local
50 detail::tvec3<T, P> temp = (T(1) - c) * axis;
53 Rotate[0][0] = c + temp[0] * axis[0];
54 Rotate[0][1] = 0 + temp[0] * axis[1] + s * axis[2];
55 Rotate[0][2] = 0 + temp[0] * axis[2] - s * axis[1];
57 Rotate[1][0] = 0 + temp[1] * axis[0] - s * axis[2];
58 Rotate[1][1] = c + temp[1] * axis[1];
59 Rotate[1][2] = 0 + temp[1] * axis[2] + s * axis[0];
61 Rotate[2][0] = 0 + temp[2] * axis[0] + s * axis[1];
62 Rotate[2][1] = 0 + temp[2] * axis[1] - s * axis[0];
[all …]
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/particles/
Dparticles.vertex.glsl62 vec3 axis = look;
67 …mat3 rot = mat3(oc * axis.x * axis.x + c, oc * axis.x * axis.y - axis.z * s, oc * axis.z * axis.x…
68 …oc * axis.x * axis.y + axis.z * s, oc * axis.y * axis.y + c, oc * axis.y * axis.z - axi…
69 …oc * axis.z * axis.x - axis.y * s, oc * axis.y * axis.z + axis.x * s, oc * axis.z * axis.z + c);
/external/chromium-trace/catapult/third_party/flot/
Djquery.flot.js656 $.each(xaxes.concat(yaxes), function (_, axis) { argument
657 if (axis)
658 res[axis.direction + (axis.n != 1 ? axis.n : "") + "axis"] = axis;
924 var res = {}, i, axis;
926 axis = xaxes[i];
927 if (axis && axis.used)
928 res["x" + axis.n] = axis.c2p(pos.left);
932 axis = yaxes[i];
933 if (axis && axis.used)
934 res["y" + axis.n] = axis.c2p(pos.top);
[all …]
Djquery.flot.min.js7axis){if(axis)res[axis.direction+(axis.n!=1?axis.n:"")+"axis"]=axis});return res};plot.getXAxes=fu… argument
8axis.min;if(yrange.to==null)yrange.to=yrange.axis.max;if(xrange.to<xrange.axis.min||xrange.from>xr… argument
Djquery.flot.categories.js107 function categoriesTickGenerator(axis) { argument
109 for (var label in axis.categories) {
110 var v = axis.categories[label];
111 if (v >= axis.min && v <= axis.max)
120 function setupCategoriesForAxis(series, axis, datapoints) { argument
121 if (series[axis].options.mode != "categories")
124 if (!series[axis].categories) {
126 var c = {}, o = series[axis].options.categories || {};
136 series[axis].categories = c;
140 if (!series[axis].options.ticks)
[all …]
Djquery.flot.categories.min.js7axis){var res=[];for(var label in axis.categories){var v=axis.categories[label];if(v>=axis.min&&v<… argument
Djquery.flot.time.min.js7axis){var opts=axis.options;if(opts.mode=="time"){axis.tickGenerator=function(axis){var ticks=[];v… argument
Djquery.flot.time.js199 $.each(plot.getAxes(), function(axisName, axis) { argument
201 var opts = axis.options;
204 axis.tickGenerator = function(axis) { argument
207 var d = dateGenerator(axis.min, opts);
227 if (axis.delta < (spec[i][0] * timeUnitSize[spec[i][1]]
248 var magn = Math.pow(10, Math.floor(Math.log(axis.delta / timeUnitSize.year) / Math.LN10));
249 var norm = (axis.delta / timeUnitSize.year) / magn;
271 axis.tickSize = opts.tickSize || [size, unit];
272 var tickSize = axis.tickSize[0];
273 unit = axis.tickSize[1];
[all …]
Djquery.flot.selection.js165 $.each(plot.getAxes(), function (name, axis) { argument
166 if (axis.used) {
167 var p1 = axis.c2p(c1[axis.direction]), p2 = axis.c2p(c2[axis.direction]);
226 var axis, from, to, key, axes = plot.getAxes();
229 axis = axes[k];
230 if (axis.direction == coord) {
231 key = coord + axis.n + "axis";
232 if (!ranges[key] && axis.n == 1)
244 axis = coord == "x" ? plot.getXAxes()[0] : plot.getYAxes()[0];
256 return { from: from, to: to, axis: axis };
[all …]
Djquery.flot.selection.min.js7axis){if(axis.used){var p1=axis.c2p(c1[axis.direction]),p2=axis.c2p(c2[axis.direction]);r[name]={f… argument
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/autofit/
Dafhints.c38 af_axis_hints_new_segment( AF_AxisHints axis, in af_axis_hints_new_segment() argument
46 if ( axis->num_segments < AF_SEGMENTS_EMBEDDED ) in af_axis_hints_new_segment()
48 if ( axis->segments == NULL ) in af_axis_hints_new_segment()
50 axis->segments = axis->embedded.segments; in af_axis_hints_new_segment()
51 axis->max_segments = AF_SEGMENTS_EMBEDDED; in af_axis_hints_new_segment()
54 else if ( axis->num_segments >= axis->max_segments ) in af_axis_hints_new_segment()
56 FT_Int old_max = axis->max_segments; in af_axis_hints_new_segment()
71 if ( axis->segments == axis->embedded.segments ) in af_axis_hints_new_segment()
73 if ( FT_NEW_ARRAY( axis->segments, new_max ) ) in af_axis_hints_new_segment()
75 ft_memcpy( axis->segments, axis->embedded.segments, in af_axis_hints_new_segment()
[all …]
Dafcjk.c85 metrics->axis[AF_DIMENSION_HORZ].width_count = 0; in af_cjk_metrics_init_widths()
86 metrics->axis[AF_DIMENSION_VERT].width_count = 0; in af_cjk_metrics_init_widths()
169 AF_CJKAxis axis = &metrics->axis[dim]; in af_cjk_metrics_init_widths() local
170 AF_AxisHints axhints = &hints->axis[dim]; in af_cjk_metrics_init_widths()
203 axis->widths[num_widths++].org = dist; in af_cjk_metrics_init_widths()
209 af_sort_and_quantize_widths( &num_widths, axis->widths, in af_cjk_metrics_init_widths()
211 axis->width_count = num_widths; in af_cjk_metrics_init_widths()
217 AF_CJKAxis axis = &metrics->axis[dim]; in af_cjk_metrics_init_widths() local
221 stdw = ( axis->width_count > 0 ) ? axis->widths[0].org in af_cjk_metrics_init_widths()
225 axis->edge_distance_threshold = stdw / 5; in af_cjk_metrics_init_widths()
[all …]
Daflatin2.c68 metrics->axis[AF_DIMENSION_HORZ].width_count = 0; in af_latin2_metrics_init_widths()
69 metrics->axis[AF_DIMENSION_VERT].width_count = 0; in af_latin2_metrics_init_widths()
106 AF_LatinAxis axis = &metrics->axis[dim]; in af_latin2_metrics_init_widths() local
107 AF_AxisHints axhints = &hints->axis[dim]; in af_latin2_metrics_init_widths()
138 axis->widths[num_widths++].org = dist; in af_latin2_metrics_init_widths()
142 af_sort_widths( num_widths, axis->widths ); in af_latin2_metrics_init_widths()
143 axis->width_count = num_widths; in af_latin2_metrics_init_widths()
149 AF_LatinAxis axis = &metrics->axis[dim]; in af_latin2_metrics_init_widths() local
153 stdw = ( axis->width_count > 0 ) in af_latin2_metrics_init_widths()
154 ? axis->widths[0].org in af_latin2_metrics_init_widths()
[all …]
Daflatin.c76 metrics->axis[AF_DIMENSION_HORZ].width_count = 0; in af_latin_metrics_init_widths()
77 metrics->axis[AF_DIMENSION_VERT].width_count = 0; in af_latin_metrics_init_widths()
167 AF_LatinAxis axis = &metrics->axis[dim]; in af_latin_metrics_init_widths() local
168 AF_AxisHints axhints = &hints->axis[dim]; in af_latin_metrics_init_widths()
207 axis->widths[num_widths++].org = dist; in af_latin_metrics_init_widths()
213 af_sort_and_quantize_widths( &num_widths, axis->widths, in af_latin_metrics_init_widths()
215 axis->width_count = num_widths; in af_latin_metrics_init_widths()
221 AF_LatinAxis axis = &metrics->axis[dim]; in af_latin_metrics_init_widths() local
225 stdw = ( axis->width_count > 0 ) ? axis->widths[0].org in af_latin_metrics_init_widths()
229 axis->edge_distance_threshold = stdw / 5; in af_latin_metrics_init_widths()
[all …]
/external/freetype/src/autofit/
Dafhints.c38 af_axis_hints_new_segment( AF_AxisHints axis, in af_axis_hints_new_segment() argument
46 if ( axis->num_segments < AF_SEGMENTS_EMBEDDED ) in af_axis_hints_new_segment()
48 if ( axis->segments == NULL ) in af_axis_hints_new_segment()
50 axis->segments = axis->embedded.segments; in af_axis_hints_new_segment()
51 axis->max_segments = AF_SEGMENTS_EMBEDDED; in af_axis_hints_new_segment()
54 else if ( axis->num_segments >= axis->max_segments ) in af_axis_hints_new_segment()
56 FT_Int old_max = axis->max_segments; in af_axis_hints_new_segment()
71 if ( axis->segments == axis->embedded.segments ) in af_axis_hints_new_segment()
73 if ( FT_NEW_ARRAY( axis->segments, new_max ) ) in af_axis_hints_new_segment()
75 ft_memcpy( axis->segments, axis->embedded.segments, in af_axis_hints_new_segment()
[all …]
Dafcjk.c85 metrics->axis[AF_DIMENSION_HORZ].width_count = 0; in af_cjk_metrics_init_widths()
86 metrics->axis[AF_DIMENSION_VERT].width_count = 0; in af_cjk_metrics_init_widths()
169 AF_CJKAxis axis = &metrics->axis[dim]; in af_cjk_metrics_init_widths() local
170 AF_AxisHints axhints = &hints->axis[dim]; in af_cjk_metrics_init_widths()
203 axis->widths[num_widths++].org = dist; in af_cjk_metrics_init_widths()
209 af_sort_and_quantize_widths( &num_widths, axis->widths, in af_cjk_metrics_init_widths()
211 axis->width_count = num_widths; in af_cjk_metrics_init_widths()
217 AF_CJKAxis axis = &metrics->axis[dim]; in af_cjk_metrics_init_widths() local
221 stdw = ( axis->width_count > 0 ) ? axis->widths[0].org in af_cjk_metrics_init_widths()
225 axis->edge_distance_threshold = stdw / 5; in af_cjk_metrics_init_widths()
[all …]
Daflatin2.c68 metrics->axis[AF_DIMENSION_HORZ].width_count = 0; in af_latin2_metrics_init_widths()
69 metrics->axis[AF_DIMENSION_VERT].width_count = 0; in af_latin2_metrics_init_widths()
106 AF_LatinAxis axis = &metrics->axis[dim]; in af_latin2_metrics_init_widths() local
107 AF_AxisHints axhints = &hints->axis[dim]; in af_latin2_metrics_init_widths()
138 axis->widths[num_widths++].org = dist; in af_latin2_metrics_init_widths()
142 af_sort_widths( num_widths, axis->widths ); in af_latin2_metrics_init_widths()
143 axis->width_count = num_widths; in af_latin2_metrics_init_widths()
149 AF_LatinAxis axis = &metrics->axis[dim]; in af_latin2_metrics_init_widths() local
153 stdw = ( axis->width_count > 0 ) in af_latin2_metrics_init_widths()
154 ? axis->widths[0].org in af_latin2_metrics_init_widths()
[all …]
Daflatin.c72 metrics->axis[AF_DIMENSION_HORZ].width_count = 0; in af_latin_metrics_init_widths()
73 metrics->axis[AF_DIMENSION_VERT].width_count = 0; in af_latin_metrics_init_widths()
163 AF_LatinAxis axis = &metrics->axis[dim]; in af_latin_metrics_init_widths() local
164 AF_AxisHints axhints = &hints->axis[dim]; in af_latin_metrics_init_widths()
203 axis->widths[num_widths++].org = dist; in af_latin_metrics_init_widths()
209 af_sort_and_quantize_widths( &num_widths, axis->widths, in af_latin_metrics_init_widths()
211 axis->width_count = num_widths; in af_latin_metrics_init_widths()
217 AF_LatinAxis axis = &metrics->axis[dim]; in af_latin_metrics_init_widths() local
221 stdw = ( axis->width_count > 0 ) ? axis->widths[0].org in af_latin_metrics_init_widths()
225 axis->edge_distance_threshold = stdw / 5; in af_latin_metrics_init_widths()
[all …]
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/LinearMath/
DbtTransformUtil.h55 btVector3 axis; in integrateTransform() local
66axis = angvel*( btScalar(0.5)*timeStep-(timeStep*timeStep*timeStep)*(btScalar(0.020833333333))*f… in integrateTransform()
71 axis = angvel*( btSin(btScalar(0.5)*fAngle*timeStep)/fAngle ); in integrateTransform()
73 btQuaternion dorn (axis.x(),axis.y(),axis.z(),btCos( fAngle*timeStep*btScalar(0.5) )); in integrateTransform()
85 btVector3 axis; in calculateVelocityQuaternion() local
89 calculateDiffAxisAngleQuaternion(orn0,orn1,axis,angle); in calculateVelocityQuaternion()
90 angVel = axis * angle / timeStep; in calculateVelocityQuaternion()
97 …AngleQuaternion(const btQuaternion& orn0,const btQuaternion& orn1a,btVector3& axis,btScalar& angle) in calculateDiffAxisAngleQuaternion() argument
102 axis = btVector3(dorn.x(),dorn.y(),dorn.z()); in calculateDiffAxisAngleQuaternion()
103 axis[3] = btScalar(0.); in calculateDiffAxisAngleQuaternion()
[all …]
/external/apache-xml/src/main/java/org/apache/xpath/axes/
DWalkingIteratorSorted.java104 int axis = walker.getAxis(); in canBeWalkedInNaturalDocOrderStatic() local
108 boolean isSimpleDownAxis = ((axis == Axis.CHILD) in canBeWalkedInNaturalDocOrderStatic()
109 || (axis == Axis.SELF) in canBeWalkedInNaturalDocOrderStatic()
110 || (axis == Axis.ROOT)); in canBeWalkedInNaturalDocOrderStatic()
113 if(isSimpleDownAxis || (axis == -1)) in canBeWalkedInNaturalDocOrderStatic()
120 if(walker.isDocOrdered() && (axis == Axis.DESCENDANT || in canBeWalkedInNaturalDocOrderStatic()
121 axis == Axis.DESCENDANTORSELF || axis == Axis.DESCENDANTSFROMROOT in canBeWalkedInNaturalDocOrderStatic()
122 || axis == Axis.DESCENDANTSORSELFFROMROOT) || (axis == Axis.ATTRIBUTE)) in canBeWalkedInNaturalDocOrderStatic()
/external/opencv3/3rdparty/openexr/Imath/
DImathVec.cpp60 int axis = -1; in normalizeOrThrow() local
65 if (axis != -1) in normalizeOrThrow()
71 axis = i; in normalizeOrThrow()
74 v[axis] = (v[axis] > 0) ? 1 : -1; in normalizeOrThrow()
83 int axis = -1; in normalizeOrThrow() local
88 if (axis != -1) in normalizeOrThrow()
94 axis = i; in normalizeOrThrow()
97 v[axis] = (v[axis] > 0) ? 1 : -1; in normalizeOrThrow()
106 int axis = -1; in normalizeOrThrow() local
111 if (axis != -1) in normalizeOrThrow()
[all …]
/external/vulkan-validation-layers/libs/glm/gtc/
Dmatrix_transform.inl64 detail::tvec3<T, P> axis(normalize(v)); local
65 detail::tvec3<T, P> temp((T(1) - c) * axis);
68 Rotate[0][0] = c + temp[0] * axis[0];
69 Rotate[0][1] = 0 + temp[0] * axis[1] + s * axis[2];
70 Rotate[0][2] = 0 + temp[0] * axis[2] - s * axis[1];
72 Rotate[1][0] = 0 + temp[1] * axis[0] - s * axis[2];
73 Rotate[1][1] = c + temp[1] * axis[1];
74 Rotate[1][2] = 0 + temp[1] * axis[2] + s * axis[0];
76 Rotate[2][0] = 0 + temp[2] * axis[0] + s * axis[1];
77 Rotate[2][1] = 0 + temp[2] * axis[1] - s * axis[0];
[all …]

12345678910>>...15