Home
last modified time | relevance | path

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

12345678910

/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 …]
Dcommon.py338 def AddAxis(self, position, axis): argument
347 self._axes.setdefault(position, []).append(axis)
348 return axis
366 axis = Axis()
367 self._axes[position] = [axis]
368 return axis
370 def SetAxis(self, position, axis): argument
381 self._axes.setdefault(position, [None])[0] = axis
382 return axis
391 for axis in self._axes.get(code, []):
[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/chromium-trace/catapult/third_party/flot/
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.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.categories.min.js7axis){var res=[];for(var label in axis.categories){var v=axis.categories[label];if(v>=axis.min&&v<… 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.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.min.js7axis){if(axis.used){var p1=axis.c2p(c1[axis.direction]),p2=axis.c2p(c2[axis.direction]);r[name]={f… argument
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 …]
/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/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 …]
/external/vulkan-validation-layers/demos/smoke/
DSimulation.cpp110 current_.axis = glm::normalize(glm::vec3(x, y, z)); in Animation()
120 current_.matrix = glm::rotate(current_.matrix, current_.speed * t, current_.axis); in transformation()
191 CircleCurve(float radius, glm::vec3 axis) in CircleCurve() argument
196 if (axis.x != 0.0f) { in CircleCurve()
197 a.x = -axis.z / axis.x; in CircleCurve()
200 } else if (axis.y != 0.0f) { in CircleCurve()
202 a.y = -axis.x / axis.y; in CircleCurve()
207 a.z = -axis.x / axis.z; in CircleCurve()
211 b_ = glm::normalize(glm::cross(a_, axis)); in CircleCurve()
271 glm::vec3 axis(dir(rng_), dir(rng_), dir(rng_)); in generate_subpath() local
[all …]
/external/opencv3/doc/py_tutorials/py_calib3d/py_pose/
Dpy_pose.markdown20 Our problem is, we want to draw our 3D coordinate axis (X, Y, Z axes) on our chessboard's first
21 corner. X axis in blue color, Y axis in green color and Z axis in red color. So in-effect, Z axis
36 **cv2.findChessboardCorners()**) and **axis points** to draw a 3D axis.
46 chessboard) and axis points. Axis points are points in 3D space for drawing the axis. We draw axis
48 our X axis is drawn from (0,0,0) to (3,0,0), so for Y axis. For Z axis, it is drawn from (0,0,0) to
55 axis = np.float32([[3,0,0], [0,3,0], [0,0,-3]]).reshape(-1,3)
59 **cv2.solvePnPRansac()**. Once we those transformation matrices, we use them to project our **axis
76 imgpts, jac = cv2.projectPoints(axis, rvecs, tvecs, mtx, dist)
86 See some results below. Notice that each axis is 3 squares long.:
92 If you want to draw a cube, modify the draw() function and axis points as follows.
[all …]
/external/droiddriver/src/io/appium/droiddriver/scroll/
DDirection.java53 public Axis axis() { in axis() method
64 public Axis axis() { in axis() method
75 public Axis axis() { in axis() method
86 public Axis axis() { in axis() method
92 public abstract Axis axis(); in axis() method in Direction.PhysicalDirection
163 if (toPhysicalDirection(physicalDirection.axis(), forward) == physicalDirection) { in toLogicalDirection()
170 … public final PhysicalDirection toPhysicalDirection(Axis axis, LogicalDirection logicalDirection) { in toPhysicalDirection() argument
171 switch (axis) { in toPhysicalDirection()
/external/chromium-trace/catapult/third_party/graphy/graphy/backends/google_chart_api/
Dencoders.py155 def _GetAxisLabelsAndPositions(self, axis, chart): argument
157 return axis.labels, axis.label_positions
168 axis_type_code, axis = axis_pair
170 if axis.min is not None or axis.max is not None:
171 assert axis.min is not None # Sanity check: both min & max must be set.
172 assert axis.max is not None
173 axis_ranges.append('%s,%s,%s' % (i, axis.min, axis.max))
175 labels, positions = self._GetAxisLabelsAndPositions(axis, chart)
182 if axis.label_gridlines:
273 def _GetAxisLabelsAndPositions(self, axis, chart): argument
[all …]
/external/apache-xml/src/main/java/org/apache/xpath/patterns/
DContextMatchStepPattern.java41 public ContextMatchStepPattern(int axis, int paxis) in ContextMatchStepPattern() argument
43 super(DTMFilter.SHOW_ALL, axis, paxis); in ContextMatchStepPattern()
99 int axis = m_axis; in executeRelativePathPattern() local
101 boolean needToTraverseAttrs = WalkerFactory.isDownwardAxisOfMany(axis); in executeRelativePathPattern()
105 if((Axis.PRECEDING == axis) && iterRootIsAttr) in executeRelativePathPattern()
107 axis = Axis.PRECEDINGANDANCESTOR; in executeRelativePathPattern()
110 traverser = dtm.getAxisTraverser(axis); in executeRelativePathPattern()
/external/guava/guava/src/com/google/common/collect/
DCartesianList.java69 private int getAxisIndexForProductIndex(int index, int axis) { in getAxisIndexForProductIndex() argument
70 return (index / axesSizeProduct[axis + 1]) % axes.get(axis).size(); in getAxisIndexForProductIndex()
84 public E get(int axis) { in get() argument
85 checkElementIndex(axis, size()); in get()
86 int axisIndex = getAxisIndexForProductIndex(index, axis); in get()
87 return axes.get(axis).get(axisIndex); in get()

12345678910