Home
last modified time | relevance | path

Searched refs:axes (Results 1 – 25 of 110) sorted by relevance

12345

/external/guava/guava/src/com/google/common/collect/
DCartesianList.java37 private transient final ImmutableList<List<E>> axes; field in CartesianList
53 CartesianList(ImmutableList<List<E>> axes) { in CartesianList() argument
54 this.axes = axes; in CartesianList()
55 int[] axesSizeProduct = new int[axes.size() + 1]; in CartesianList()
56 axesSizeProduct[axes.size()] = 1; in CartesianList()
58 for (int i = axes.size() - 1; i >= 0; i--) { in CartesianList()
60 IntMath.checkedMultiply(axesSizeProduct[i + 1], axes.get(i).size()); in CartesianList()
70 return (index / axesSizeProduct[axis + 1]) % axes.get(axis).size(); in getAxisIndexForProductIndex()
80 return axes.size(); in get()
87 return axes.get(axis).get(axisIndex); in get()
[all …]
DSets.java1120 private transient final ImmutableList<ImmutableSet<E>> axes;
1133 final ImmutableList<ImmutableSet<E>> axes = axesBuilder.build();
1138 return axes.size();
1143 return axes.get(index).asList();
1151 return new CartesianSet<E>(axes, new CartesianList<E>(listAxes));
1155 ImmutableList<ImmutableSet<E>> axes, CartesianList<E> delegate) {
1156 this.axes = axes;
1170 return this.axes.equals(that.axes);
1182 for (int i = 0; i < axes.size(); i++) {
1188 for (Set<E> axis : axes) {
/external/libgdx/extensions/gdx-controllers/gdx-controllers-lwjgl3/src/com/badlogic/gdx/controllers/lwjgl3/
DLwjgl3Controller.java37 FloatBuffer axes = GLFW.glfwGetJoystickAxes(index); in pollState() local
38 if(axes == null) { in pollState()
48 for(int i = 0; i < axes.limit(); i++) { in pollState()
49 if(axisState[i] != axes.get(i)) { in pollState()
51 listener.axisMoved(this, i, axes.get(i)); in pollState()
53 manager.axisChanged(this, i, axes.get(i)); in pollState()
55 axisState[i] = axes.get(i); in pollState()
/external/libgdx/extensions/gdx-controllers/gdx-controllers-desktop/src/com/badlogic/gdx/controllers/desktop/ois/
DOisJoystick.java31 private final float[] axes; field in OisJoystick
41 axes = new float[getAxisCount()]; in OisJoystick()
62 axes[axisIndex] = ((value - MIN_AXIS) << 1) / (float)(MAX_AXIS - MIN_AXIS) - 1; // -1 to 1 in axisMoved()
63 if (listener != null) listener.axisMoved(this, axisIndex, axes[axisIndex]); in axisMoved()
103 if (axisIndex < 0 || axisIndex >= axes.length) return 0; in getAxis()
104 return axes[axisIndex]; in getAxis()
/external/libgdx/extensions/gdx-controllers/gdx-controllers-desktop/jni/ois-v1-4svn/src/
DOISEffect.cpp72 axes(1) in Effect()
86 axes(1) in Effect()
121 axes = nAxes; in setNumAxes()
127 return axes; in getNumAxes()
/external/libgdx/extensions/gdx-controllers/gdx-controllers-gwt/src/com/badlogic/gdx/controllers/gwt/
DGwtController.java33 protected final float[] axes; field in GwtController
44 axes = new float[gamepad.getAxes().length()]; in GwtController()
67 if(axisIndex < 0 || axisIndex >= axes.length) return 0; in getAxis()
68 return axes[axisIndex]; in getAxis()
DGwtControllers.java91 event.controller.axes[event.code] = event.amount; in setupEventQueue()
161 JsArrayNumber axes = gamepad.getAxes(); in onGamepadUpdated() local
164 for (int i = 0, j = axes.length(); i < j; i++) { in onGamepadUpdated()
166 float newAxis = (float) axes.get(i); in onGamepadUpdated()
/external/libgdx/extensions/gdx-controllers/gdx-controllers-android/src/com/badlogic/gdx/controllers/android/
DAndroidController.java37 protected final float[] axes; field in AndroidController
54 axes = new float[numAxes]; in AndroidController()
115 if(axisIndex < 0 || axisIndex >= axes.length) return 0; in getAxis()
116 return axes[axisIndex]; in getAxis()
/external/apache-xml/src/main/java/org/apache/xpath/functions/
DFuncCurrent.java26 import org.apache.xpath.axes.LocPathIterator;
27 import org.apache.xpath.axes.PredicatedNodeTest;
30 import org.apache.xpath.axes.SubContextList;
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DSets.java961 private transient final ImmutableList<ImmutableSet<E>> axes;
974 final ImmutableList<ImmutableSet<E>> axes = axesBuilder.build();
979 return axes.size();
984 return axes.get(index).asList();
992 return new CartesianSet<E>(axes, new CartesianList<E>(listAxes));
996 ImmutableList<ImmutableSet<E>> axes, CartesianList<E> delegate) {
997 this.axes = axes;
1011 return this.axes.equals(that.axes);
1023 for (int i = 0; i < axes.size(); i++) {
1029 for (Set<E> axis : axes) {
/external/libgdx/extensions/gdx-controllers/gdx-controllers-desktop/jni/ois-v1-4svn/src/linux/
DEventHelpers.cpp197 js.axes = info.relAxes.size() + info.absAxes.size(); in isJoyStick()
209 int axes = 0; in isJoyStick() local
212 js.axis_map[*i] = axes; in isJoyStick()
222 js.axis_range[axes] = Range(absinfo.minimum, absinfo.maximum); in isJoyStick()
226 << " OIS Axis Num: " << dec << axes << endl; in isJoyStick()
229 ++axes; in isJoyStick()
/external/libgdx/extensions/gdx-controllers/gdx-controllers-desktop/jni/ois-v1-4svn/includes/linux/
DLinuxPrereqs.h56 JoyStickInfo(): devId(-1),joyFileD(-1),version(0),axes(0),buttons(0),hats(0) {} in JoyStickInfo()
66 unsigned char axes; variable
/external/opencv3/modules/python/test/
Dtransformations.py970 def euler_matrix(ai, aj, ak, axes='sxyz'): argument
990 firstaxis, parity, repetition, frame = _AXES2TUPLE[axes]
992 _ = _TUPLE2AXES[axes]
993 firstaxis, parity, repetition, frame = axes
1033 def euler_from_matrix(matrix, axes='sxyz'): argument
1053 firstaxis, parity, repetition, frame = _AXES2TUPLE[axes.lower()]
1055 _ = _TUPLE2AXES[axes]
1056 firstaxis, parity, repetition, frame = axes
1091 def euler_from_quaternion(quaternion, axes='sxyz'): argument
1099 return euler_from_matrix(quaternion_matrix(quaternion), axes)
[all …]
/external/opencv3/doc/tutorials/viz/transformations/
Dtransformations.markdown11 - How to visualize camera position by axes and by viewing frustum
37 - Obtain transform matrix knowing the axes of camera coordinate system.
40 /// - makeTransformToGlobal. We need the axes of the camera
61 viz::WCameraPosition cpw(0.5); // Coordinate axes
/external/opencv3/modules/features2d/src/
Devaluation.cpp130 Size_<float> axes; // half length of ellipse axes member in EllipticKeyPoint
148 axes.width = (float)(1/sqrt(x1)); in EllipticKeyPoint()
149 axes.height = (float)(1/sqrt(x2)); in EllipticKeyPoint()
202 Size_<float> axes = src[i].axes; in convert() local
203 float rad = sqrt(axes.height*axes.width); in convert()
331 float maxDist = sqrt(kp1.axes.width*kp1.axes.height), in computeOneToOneMatchedOverlaps()
/external/apache-xml/src/main/java/org/apache/xpath/
DXPathVisitor.java23 import org.apache.xpath.axes.LocPathIterator;
24 import org.apache.xpath.axes.UnionPathIterator;
/external/opencv3/samples/cpp/
Ddrawing.cpp70 Size axes; in main() local
71 axes.width = rng.uniform(0, 200); in main()
72 axes.height = rng.uniform(0, 200); in main()
75 ellipse( image, center, axes, angle, angle - 100, angle + 200, in main()
/external/skia/gm/
Dfontscalerdistortable.cpp60 SkFontMgr::FontParameters::Axis axes[] = { { tag, styleValue } }; in onDraw() local
62 distortable->duplicate(), SkFontMgr::FontParameters().setAxes(axes, 1))); in onDraw()
/external/opencv3/samples/cpp/tutorial_code/core/Matrix/
DDrawing_2.cpp167 Size axes; in Drawing_Random_Ellipses() local
168 axes.width = rng.uniform(0, 200); in Drawing_Random_Ellipses()
169 axes.height = rng.uniform(0, 200); in Drawing_Random_Ellipses()
173 ellipse( image, center, axes, angle, angle - 100, angle + 200, in Drawing_Random_Ellipses()
/external/chromium-trace/catapult/third_party/flot/
DAPI.md9 | [Customizing the axes](#customizing-the-axes)
10 | [Multiple axes](#multiple-axes)
136 The "xaxis" and "yaxis" options specify which axis to use. The axes
241 ## Customizing the axes ##
277 All axes have the same kind of options. The following describes how to
287 top for x axes, left or right for y axes. The "mode" option determines
306 the number of the axis when there are multiple axes. For example, the x-axis
346 whole tick. The default value is "null" for the x axes and 0.02 for y
347 axes which seems appropriate for most cases.
475 innermost axes will have ticks that extend all across the plot, while
[all …]
Djquery.flot.js980 function getOrCreateAxis(axes, number) { argument
981 if (!axes[number - 1])
982 axes[number - 1] = {
984 direction: axes == xaxes ? "x" : "y",
985 options: $.extend(true, {}, axes == xaxes ? options.xaxis : options.yaxis)
988 return axes[number - 1];
1570 var i, axes = allAxes(), showGrid = options.grid.show;
1592 $.each(axes, function (_, axis) {
1601 var allocatedAxes = $.grep(axes, function (axis) {
1633 $.each(axes, function (_, axis) {
[all …]
Djquery.flot.min.js7axes,number){if(!axes[number-1])axes[number-1]={n:number,direction:axes==xaxes?"x":"y",options:$.e… argument
8 …ge.from,yrange.from-yrange.to)}}}axes=allAxes();bw=options.grid.borderWidth;for(var j=0;j<axes.len…
/external/skia/include/ports/
DSkFontMgr.h130 FontParameters& setAxes(const Axis* axes, int axisCount) { in setAxes()
132 fAxes = axes; in setAxes()
/external/opencv3/modules/imgproc/src/
Ddrawing.cpp921 void ellipse2Poly( Point center, Size axes, int angle, in ellipse2Poly() argument
926 double size_a = axes.width, size_b = axes.height; in ellipse2Poly()
988 EllipseEx( Mat& img, Point center, Size axes, in EllipseEx() argument
992 axes.width = std::abs(axes.width), axes.height = std::abs(axes.height); in EllipseEx()
993 int delta = (std::max(axes.width,axes.height)+(XY_ONE>>1))>>XY_SHIFT; in EllipseEx()
997 ellipse2Poly( center, axes, angle, arc_start, arc_end, delta, v ); in EllipseEx()
1764 void ellipse( InputOutputArray _img, Point center, Size axes, in ellipse() argument
1773 CV_Assert( axes.width >= 0 && axes.height >= 0 && in ellipse()
1784 axes.width <<= XY_SHIFT - shift; in ellipse()
1785 axes.height <<= XY_SHIFT - shift; in ellipse()
[all …]
/external/apache-xml/src/main/java/org/apache/xpath/axes/
DPathComponent.java21 package org.apache.xpath.axes;

12345