/external/apache-xml/src/main/java/org/apache/xpath/axes/ |
WalkingIteratorSorted.java | 23 import org.apache.xml.dtm.Axis; 104 int axis = walker.getAxis(); local 108 boolean isSimpleDownAxis = ((axis == Axis.CHILD) 109 || (axis == Axis.SELF) 110 || (axis == Axis.ROOT)); 113 if(isSimpleDownAxis || (axis == -1)) 120 if(walker.isDocOrdered() && (axis == Axis.DESCENDANT || [all...] |
/external/harfbuzz_ng/src/ |
hb-ot-var-fvar-table.hh | 66 Tag axisTag; /* Tag identifying the design variation for the axis. */ 67 Fixed minValue; /* The minimum coordinate value for the axis. */ 68 Fixed defaultValue; /* The default coordinate value for the axis. */ 69 Fixed maxValue; /* The maximum coordinate value for the axis. */ 72 * provide a display name for this axis. */ 113 const AxisRecord &axis = get_axes ()[index]; local 114 info->tag = axis.axisTag; 115 info->name_id = axis.axisNameID; 116 info->default_value = axis.defaultValue / 65536.; 118 info->min_value = MIN<float> (info->default_value, axis.minValue / 65536.) 164 hb_ot_var_axis_t axis; local [all...] |
/external/apache-xml/src/main/java/org/apache/xml/dtm/ |
Axis.java | 19 * $Id: Axis.java 468653 2006-10-28 07:07:05Z minchau $ 30 public final class Axis 34 * The ancestor axis contains the ancestors of the context node; 36 * node and the parent's parent and so on; thus, the ancestor axis will 42 * the ancestor-or-self axis contains the context node and the ancestors of 43 * the context node; thus, the ancestor axis will always include the 49 * the attribute axis contains the attributes of the context node; the axis 54 /** The child axis contains the children of the context node. */ 58 * The descendant axis contains the descendants of the context node [all...] |
/external/freetype/src/autofit/ |
afhints.c | 35 /* Get new segment for given axis. */ 38 af_axis_hints_new_segment( AF_AxisHints axis, 46 if ( axis->num_segments < AF_SEGMENTS_EMBEDDED ) 48 if ( !axis->segments ) 50 axis->segments = axis->embedded.segments; 51 axis->max_segments = AF_SEGMENTS_EMBEDDED; 54 else if ( axis->num_segments >= axis->max_segments ) 56 FT_Int old_max = axis->max_segments 246 AF_AxisHints axis = &hints->axis[dimension]; local 291 AF_AxisHints axis = &hints->axis[dimension]; local 409 AF_AxisHints axis = &hints->axis[dimension]; local 466 AF_AxisHints axis; local 495 AF_AxisHints axis; local 543 AF_AxisHints axis = &hints->axis[dimension]; local 676 AF_AxisHints axis = &hints->axis[dim]; local 1171 AF_AxisHints axis = & hints->axis[dim]; local 1248 AF_AxisHints axis = &hints->axis[dim]; local [all...] |
aflatin2.c | 73 metrics->axis[AF_DIMENSION_HORZ].width_count = 0; 74 metrics->axis[AF_DIMENSION_VERT].width_count = 0; 111 AF_LatinAxis axis = &metrics->axis[dim]; local 112 AF_AxisHints axhints = &hints->axis[dim]; 143 axis->widths[num_widths++].org = dist; 147 af_sort_widths( num_widths, axis->widths ); 148 axis->width_count = num_widths; 154 AF_LatinAxis axis = &metrics->axis[dim] local 200 AF_LatinAxis axis = &metrics->axis[AF_DIMENSION_VERT]; local 527 AF_LatinAxis axis; local 731 AF_AxisHints axis = &hints->axis[dim]; local 986 AF_AxisHints axis = &hints->axis[dim]; local 1084 AF_AxisHints axis = &hints->axis[dim]; local 1410 AF_AxisHints axis = &hints->axis[AF_DIMENSION_VERT]; local 1653 AF_LatinAxis axis = & metrics->axis[dim]; local 1861 AF_AxisHints axis = &hints->axis[dim]; local [all...] |
afcjk.c | 85 metrics->axis[AF_DIMENSION_HORZ].width_count = 0; 86 metrics->axis[AF_DIMENSION_VERT].width_count = 0; 184 AF_CJKAxis axis = &metrics->axis[dim]; local 185 AF_AxisHints axhints = &hints->axis[dim]; 224 axis->widths[num_widths++].org = dist; 230 af_sort_and_quantize_widths( &num_widths, axis->widths, 232 axis->width_count = num_widths; 238 AF_CJKAxis axis = &metrics->axis[dim] local 291 AF_CJKAxis axis; local 651 AF_CJKAxis axis; local 783 AF_AxisHints axis = &hints->axis[dim]; local 827 AF_AxisHints axis = &hints->axis[dim]; local 985 AF_AxisHints axis = &hints->axis[dim]; local 1272 AF_AxisHints axis = &hints->axis[dim]; local 1492 AF_CJKAxis axis = &metrics->axis[dim]; local 1790 AF_AxisHints axis = &hints->axis[dim]; local 2169 AF_AxisHints axis = & hints->axis[dim]; local [all...] |
aflatin.c | 76 metrics->axis[AF_DIMENSION_HORZ].width_count = 0; 77 metrics->axis[AF_DIMENSION_VERT].width_count = 0; 177 AF_LatinAxis axis = &metrics->axis[dim]; local 178 AF_AxisHints axhints = &hints->axis[dim]; 217 axis->widths[num_widths++].org = dist; 223 af_sort_and_quantize_widths( &num_widths, axis->widths, 225 axis->width_count = num_widths; 231 AF_LatinAxis axis = &metrics->axis[dim] local 322 AF_LatinAxis axis = &metrics->axis[AF_DIMENSION_VERT]; local 1122 AF_LatinAxis axis; local 1482 AF_AxisHints axis = &hints->axis[dim]; local 1906 AF_AxisHints axis = &hints->axis[dim]; local 2042 AF_AxisHints axis = &hints->axis[dim]; local 2422 AF_AxisHints axis = &hints->axis[AF_DIMENSION_VERT]; local 2679 AF_LatinAxis axis = &metrics->axis[dim]; local 2926 AF_AxisHints axis = &hints->axis[dim]; local 3487 AF_LatinAxis axis; local [all...] |
/external/droiddriver/src/io/appium/droiddriver/scroll/ |
Direction.java | 53 public Axis axis() { method 54 return Axis.VERTICAL; 64 public Axis axis() { method 65 return Axis.VERTICAL; 75 public Axis axis() { method 76 return Axis.HORIZONTAL; 86 public Axis axis() method 92 public abstract Axis axis(); method in class:Direction.PhysicalDirection [all...] |
/external/vulkan-validation-layers/libs/glm/gtx/ |
rotate_normalized_axis.hpp | 35 /// @brief Quaternions and matrices rotations around normalized axis. 57 /// Builds a rotation 4 * 4 matrix created from a normalized axis and an angle. 61 /// @param axis Rotation axis, must be normalized. 72 detail::tvec3<T, P> const & axis); 74 /// Rotates a quaternion from a vector of 3 components normalized axis and an angle. 78 /// @param axis Normalized axis of the rotation, must be normalized. 85 detail::tvec3<T, P> const & axis);
|
matrix_interpolation.hpp | 53 /// Get the axis and angle of the rotation from a matrix. 58 detail::tvec3<T, P> & axis, 61 /// Build a matrix from axis and angle. 65 detail::tvec3<T, P> const & axis,
|
/hardware/libhardware/tests/input/evdev/ |
InputMocks.h | 57 virtual bool hasRelativeAxis(int axis) const override { return mRelAxes.count(axis); } 58 virtual bool hasAbsoluteAxis(int32_t axis) const override { return mAbsAxes.count(axis); } 76 void addRelAxis(int32_t axis) { mRelAxes.insert(axis); } 77 void addAbsAxis(int32_t axis, AbsoluteAxisInfo* info) { mAbsAxes[axis] = info; } 84 virtual const AbsoluteAxisInfo* getAbsoluteAxisInfo(int32_t axis) const override { 85 auto iter = mAbsAxes.find(axis); [all...] |
/frameworks/native/libs/vr/libdvrcommon/tests/ |
pose_test.cpp | 56 for (int axis = 0; axis < 3; ++axis) { 58 start_position[axis] = FT(1.0); 81 for (int axis = 0; axis < 3; ++axis) { 83 start_position[axis] = FT(1.0); 110 for (int axis = 0; axis < 3; ++axis) [all...] |
/external/apache-xml/src/main/java/org/apache/xpath/patterns/ |
ContextMatchStepPattern.java | 23 import org.apache.xml.dtm.Axis; 41 public ContextMatchStepPattern(int axis, int paxis) 43 super(DTMFilter.SHOW_ALL, axis, paxis); 99 int axis = m_axis; local 101 boolean needToTraverseAttrs = WalkerFactory.isDownwardAxisOfMany(axis); 105 if((Axis.PRECEDING == axis) && iterRootIsAttr) 107 axis = Axis.PRECEDINGANDANCESTOR; 110 traverser = dtm.getAxisTraverser(axis); [all...] |
/external/guava/guava/src/com/google/common/collect/ |
CartesianList.java | 69 private int getAxisIndexForProductIndex(int index, int axis) { 70 return (index / axesSizeProduct[axis + 1]) % axes.get(axis).size(); 84 public E get(int axis) { 85 checkElementIndex(axis, size()); 86 int axisIndex = getAxisIndexForProductIndex(index, axis); 87 return axes.get(axis).get(axisIndex);
|
/frameworks/base/graphics/java/android/graphics/ |
FontFamily.java | 102 for (FontVariationAxis axis : axes) { 103 nAddAxisValue(mBuilderPtr, axis.getOpenTypeTagValue(), axis.getStyleValue()); 119 for (FontVariationAxis axis : axes) { 120 nAddAxisValue(mBuilderPtr, axis.getOpenTypeTagValue(), axis.getStyleValue()); 145 for (FontVariationAxis axis : axes) { 146 nAddAxisValue(mBuilderPtr, axis.getOpenTypeTagValue(), axis.getStyleValue()); 199 // The added axis values are only valid for the next nAddFont* method call [all...] |
/external/vulkan-validation-layers/demos/smoke/ |
Simulation.cpp | 104 current_.axis = glm::normalize(glm::vec3(x, y, z)); 114 current_.matrix = glm::rotate(current_.matrix, current_.speed * t, current_.axis); 185 CircleCurve(float radius, glm::vec3 axis) 190 if (axis.x != 0.0f) { 191 a.x = -axis.z / axis.x; 194 } else if (axis.y != 0.0f) { 196 a.y = -axis.x / axis.y; 201 a.z = -axis.x / axis.z [all...] |
/frameworks/base/core/jni/android/graphics/ |
FontUtils.h | 47 // Utility wrapper for android.graphics.FontConfig$Axis 50 AxisHelper(JNIEnv* env, jobject axis) : mEnv(env), mAxis(axis) {}
|
/external/eigen/demos/opengl/ |
trackball.cpp | 24 Vector3f axis = mLastPoint3D.cross(newPoint3D).normalized(); local 30 mpCamera->rotateAroundTarget(Quaternionf(AngleAxisf(angle, axis))); 32 mpCamera->localRotate(Quaternionf(AngleAxisf(-angle, axis)));
|
/frameworks/native/libs/input/ |
Input.cpp | 91 float PointerCoords::getAxisValue(int32_t axis) const { 92 if (axis < 0 || axis > 63 || !BitSet64::hasBit(bits, axis)){ 95 return values[BitSet64::getIndexOfBit(bits, axis)]; 98 status_t PointerCoords::setAxisValue(int32_t axis, float value) { 99 if (axis < 0 || axis > 63) { 103 uint32_t index = BitSet64::getIndexOfBit(bits, axis); 104 if (!BitSet64::hasBit(bits, axis)) { [all...] |
/external/v8/tools/ignition/ |
bytecode_dispatches_report.py | 137 # Reverse y axis for a nicer appearance 145 def plot_dispatches_table(dispatches_table, figure, axis): 148 image = axis.pcolor( 157 axis.xaxis.set( 161 axis.xaxis.tick_top() 162 axis.set_xlim(0, len(xlabels)) 163 axis.set_xticklabels(xlabels, rotation="vertical") 165 axis.yaxis.set( 170 axis.set_ylim(0, len(ylabels)) 174 ax=axis, [all...] |
/cts/tests/tests/graphics/src/android/graphics/cts/ |
FontVariationAxisTest.java | 46 FontVariationAxis axis = new FontVariationAxis("wght", 1.0f); local 47 assertEquals("wght", axis.getTag()); 48 assertEquals(1.0f, axis.getStyleValue(), FLOT_EQUALITY_PREC); 50 axis = new FontVariationAxis("PRIV", -1.0f); 51 assertEquals("PRIV", axis.getTag()); 52 assertEquals(-1.0f, axis.getStyleValue(), FLOT_EQUALITY_PREC);
|
/external/autotest/client/site_tests/kernel_CrosECSysfsAccel/ |
kernel_CrosECSysfsAccel.py | 110 for axis in ['x', 'y', 'z']: 111 name_list = ['in', 'accel', axis] 119 value[axis] = int(self._read_sysfs_accel_file(axis_path)) 120 value[axis] *= accel_scale 121 mag += value[axis] * value[axis]
|
/external/skia/src/effects/ |
SkColorMatrix.cpp | 95 void SkColorMatrix::setRotate(Axis axis, SkScalar degrees) { 100 this->setSinCos(axis, S, C); 103 void SkColorMatrix::setSinCos(Axis axis, SkScalar sine, SkScalar cosine) { 104 SkASSERT((unsigned)axis < 3); 111 const uint8_t* index = gRotateIndex + axis * 4; 120 void SkColorMatrix::preRotate(Axis axis, SkScalar degrees) { 122 tmp.setRotate(axis, degrees) [all...] |
/frameworks/support/compat/java/android/support/v4/view/ |
MotionEventCompat.java | 558 * Get axis value for the first pointer index (may be an 561 * @param axis The axis identifier for the axis value to retrieve. 570 public static float getAxisValue(MotionEvent event, int axis) { 571 return event.getAxisValue(axis); 575 * Returns the value of the requested axis for the given pointer <em>index</em> 578 * @param axis The axis identifier for the axis value to retrieve [all...] |
/prebuilts/misc/darwin-x86_64/sdl2/include/SDL2/ |
SDL_gamecontroller.h | 68 * Get the SDL joystick layer binding for this controller button/axis mapping 76 int axis; member in union:SDL_GameControllerButtonBind::__anon53471 104 * aX - axis X of the joystick 105 * Buttons can be used as a controller axis and vice versa. 225 * turn this string into a axis mapping 230 * turn this axis enum into a string mapping 232 extern DECLSPEC const char* SDLCALL SDL_GameControllerGetStringForAxis(SDL_GameControllerAxis axis); 239 SDL_GameControllerAxis axis); 242 * Get the current state of an axis control on a game controller. 246 * The axis indices start at index 0 [all...] |