/external/freetype/src/autofit/ |
D | afhints.c | 38 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 …]
|
D | afcjk.c | 85 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() 184 AF_CJKAxis axis = &metrics->axis[dim]; in af_cjk_metrics_init_widths() local 185 AF_AxisHints axhints = &hints->axis[dim]; in af_cjk_metrics_init_widths() 224 axis->widths[num_widths++].org = dist; in af_cjk_metrics_init_widths() 230 af_sort_and_quantize_widths( &num_widths, axis->widths, in af_cjk_metrics_init_widths() 232 axis->width_count = num_widths; in af_cjk_metrics_init_widths() 238 AF_CJKAxis axis = &metrics->axis[dim]; in af_cjk_metrics_init_widths() local 242 stdw = ( axis->width_count > 0 ) ? axis->widths[0].org in af_cjk_metrics_init_widths() 246 axis->edge_distance_threshold = stdw / 5; in af_cjk_metrics_init_widths() [all …]
|
D | aflatin2.c | 68 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 …]
|
D | aflatin.c | 76 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() 177 AF_LatinAxis axis = &metrics->axis[dim]; in af_latin_metrics_init_widths() local 178 AF_AxisHints axhints = &hints->axis[dim]; in af_latin_metrics_init_widths() 217 axis->widths[num_widths++].org = dist; in af_latin_metrics_init_widths() 223 af_sort_and_quantize_widths( &num_widths, axis->widths, in af_latin_metrics_init_widths() 225 axis->width_count = num_widths; in af_latin_metrics_init_widths() 231 AF_LatinAxis axis = &metrics->axis[dim]; in af_latin_metrics_init_widths() local 235 stdw = ( axis->width_count > 0 ) ? axis->widths[0].org in af_latin_metrics_init_widths() 239 axis->edge_distance_threshold = stdw / 5; in af_latin_metrics_init_widths() [all …]
|
/external/apache-xml/src/main/java/org/apache/xpath/axes/ |
D | WalkingIteratorSorted.java | 104 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()
|
D | WalkerFactory.java | 353 static public int getAnalysisBitFromAxes(int axis) in getAnalysisBitFromAxes() argument 355 switch (axis) // Generate new traverser in getAnalysisBitFromAxes() 783 public static boolean isDownwardAxisOfMany(int axis) in isDownwardAxisOfMany() argument 785 return ((Axis.DESCENDANTORSELF == axis) || in isDownwardAxisOfMany() 786 (Axis.DESCENDANT == axis) in isDownwardAxisOfMany() 787 || (Axis.FOLLOWING == axis) in isDownwardAxisOfMany() 789 || (Axis.PRECEDING == axis) in isDownwardAxisOfMany() 857 int axis = Axis.SELF; in loadSteps() local 865 pat.setAxis(axis); in loadSteps() 896 if(isDownwardAxisOfMany(axis)) in loadSteps() [all …]
|
/external/jmonkeyengine/engine/src/bullet/com/jme3/bullet/collision/shapes/ |
D | CapsuleCollisionShape.java | 48 protected int axis; field in CapsuleCollisionShape 61 this.axis=1; in CapsuleCollisionShape() 71 public CapsuleCollisionShape(float radius, float height, int axis) { in CapsuleCollisionShape() argument 74 this.axis=axis; in CapsuleCollisionShape() 87 return axis; in getAxis() 95 capsule.write(axis, "axis", 1); in write() 103 axis = capsule.readInt("axis", 1); in read() 108 objectId = createShape(axis, radius, height); in createShape() 127 private native long createShape(int axis, float radius, float height); in createShape() argument
|
D | CylinderCollisionShape.java | 50 protected int axis; field in CylinderCollisionShape 61 this.axis = 2; in CylinderCollisionShape() 70 public CylinderCollisionShape(Vector3f halfExtents, int axis) { in CylinderCollisionShape() argument 72 this.axis = axis; in CylinderCollisionShape() 81 return axis; in getAxis() 88 capsule.write(axis, "axis", 1); in write() 95 axis = capsule.readInt("axis", 1); in read() 100 objectId = createShape(axis, halfExtents); in createShape() 119 private native long createShape(int axis, Vector3f halfExtents); in createShape() argument
|
D | ConeCollisionShape.java | 24 protected int axis; field in ConeCollisionShape 29 public ConeCollisionShape(float radius, float height, int axis) { in ConeCollisionShape() argument 32 this.axis = axis; in ConeCollisionShape() 39 this.axis = PhysicsSpace.AXIS_Y; in ConeCollisionShape() 52 capsule.write(axis, "axis", 0.5f); in write() 65 objectId = createShape(axis, radius, height); in createShape() 80 private native long createShape(int axis, float radius, float height); in createShape() argument
|
/external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/collision/shapes/ |
D | CylinderCollisionShape.java | 52 protected int axis; field in CylinderCollisionShape 63 this.axis = 2; in CylinderCollisionShape() 72 public CylinderCollisionShape(Vector3f halfExtents, int axis) { in CylinderCollisionShape() argument 74 this.axis = axis; in CylinderCollisionShape() 83 return axis; in getAxis() 90 capsule.write(axis, "axis", 1); in write() 97 axis = capsule.readInt("axis", 1); in read() 102 switch (axis) { in createShape()
|
D | CapsuleCollisionShape.java | 50 protected int axis; field in CapsuleCollisionShape 63 this.axis=1; in CapsuleCollisionShape() 74 public CapsuleCollisionShape(float radius, float height, int axis) { in CapsuleCollisionShape() argument 77 this.axis=axis; in CapsuleCollisionShape() 90 return axis; in getAxis() 98 capsule.write(axis, "axis", 1); in write() 106 axis = capsule.readInt("axis", 1); in read() 111 switch(axis){ in createShape()
|
D | ConeCollisionShape.java | 26 protected int axis; field in ConeCollisionShape 31 public ConeCollisionShape(float radius, float height, int axis) { in ConeCollisionShape() argument 34 this.axis = axis; in ConeCollisionShape() 41 this.axis = PhysicsSpace.AXIS_Y; in ConeCollisionShape() 54 capsule.write(axis, "axis", 0.5f); in write() 67 if (axis == PhysicsSpace.AXIS_X) { in createShape() 69 } else if (axis == PhysicsSpace.AXIS_Y) { in createShape() 71 } else if (axis == PhysicsSpace.AXIS_Z) { in createShape()
|
/external/jmonkeyengine/engine/src/core/com/jme3/collision/bih/ |
D | BIHTree.java | 167 private int sortTriangles(int l, int r, float split, int axis) { in sortTriangles() argument 180 if (v1.get(axis) > split) { in sortTriangles() 193 private void setMinMax(BoundingBox bbox, boolean doMin, int axis, float value) { in setMinMax() argument 198 min.set(axis, value); in setMinMax() 200 max.set(axis, value); in setMinMax() 206 private float getMinMax(BoundingBox bbox, boolean doMin, int axis) { in getMinMax() argument 208 return bbox.getMin(null).get(axis); in getMinMax() 210 return bbox.getMax(null).get(axis); in getMinMax() 302 int axis = 0; in createNode() local 305 axis = 0; in createNode() [all …]
|
D | TriangleAxisComparator.java | 40 private final int axis; field in TriangleAxisComparator 42 public TriangleAxisComparator(int axis){ in TriangleAxisComparator() argument 43 this.axis = axis; in TriangleAxisComparator() 50 switch (axis){ in compare()
|
D | BIHNode.java | 63 private int axis; field in BIHNode 72 axis = 3; // indicates leaf in BIHNode() 75 public BIHNode(int axis) { in BIHNode() argument 76 this.axis = axis; in BIHNode() 120 oc.write(axis, "axis", 0); in write() 131 axis = ic.readInt("axis", 0); in read() 175 while (node.axis != 3) { in intersectWhere() 176 int a = node.axis; in intersectWhere() 262 while (node.axis != 3) { // while node is not a leaf in intersectBrute() 349 while (node.axis != 3) { // while node is not a leaf in intersectWhere() [all …]
|
/external/droiddriver/src/io/appium/droiddriver/scroll/ |
D | Direction.java | 53 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/guava/guava/src/com/google/common/collect/ |
D | CartesianList.java | 69 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()
|
/external/apache-xml/src/main/java/org/apache/xpath/patterns/ |
D | ContextMatchStepPattern.java | 41 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/jmonkeyengine/engine/src/core/com/jme3/texture/ |
D | TextureArray.java | 75 public WrapMode getWrap(WrapAxis axis) { in getWrap() argument 76 switch (axis) { in getWrap() 82 throw new IllegalArgumentException("invalid WrapAxis: " + axis); in getWrap() 87 public void setWrap(WrapAxis axis, WrapMode mode) { in setWrap() argument 90 } else if (axis == null) { in setWrap() 93 switch (axis) { in setWrap()
|
D | Texture2D.java | 124 public void setWrap(WrapAxis axis, WrapMode mode) { in setWrap() argument 127 } else if (axis == null) { in setWrap() 130 switch (axis) { in setWrap() 168 public WrapMode getWrap(WrapAxis axis) { in getWrap() argument 169 switch (axis) { in getWrap() 175 throw new IllegalArgumentException("invalid WrapAxis: " + axis); in getWrap()
|
D | TextureCubeMap.java | 102 public void setWrap(WrapAxis axis, WrapMode mode) { in setWrap() argument 105 } else if (axis == null) { in setWrap() 108 switch (axis) { in setWrap() 148 public WrapMode getWrap(WrapAxis axis) { in getWrap() argument 149 switch (axis) { in getWrap() 157 throw new IllegalArgumentException("invalid WrapAxis: " + axis); in getWrap()
|
D | Texture3D.java | 126 public void setWrap(WrapAxis axis, WrapMode mode) { in setWrap() argument 129 } else if (axis == null) { in setWrap() 132 switch (axis) { in setWrap() 172 public WrapMode getWrap(WrapAxis axis) { in getWrap() argument 173 switch (axis) { in getWrap() 181 throw new IllegalArgumentException("invalid WrapAxis: " + axis); in getWrap()
|
/external/skia/src/effects/ |
D | SkColorMatrix.cpp | 95 void SkColorMatrix::setRotate(Axis axis, SkScalar degrees) { in setRotate() argument 100 this->setSinCos(axis, S, C); in setRotate() 103 void SkColorMatrix::setSinCos(Axis axis, SkScalar sine, SkScalar cosine) { in setSinCos() argument 104 SkASSERT((unsigned)axis < 3); in setSinCos() 111 const uint8_t* index = gRotateIndex + axis * 4; in setSinCos() 120 void SkColorMatrix::preRotate(Axis axis, SkScalar degrees) { in preRotate() argument 122 tmp.setRotate(axis, degrees); in preRotate() 126 void SkColorMatrix::postRotate(Axis axis, SkScalar degrees) { in postRotate() argument 128 tmp.setRotate(axis, degrees); in postRotate()
|
/external/skia/src/utils/ |
D | SkCamera.cpp | 215 SkUnit3D axis, zenith, cross; in doUpdate() local 217 fAxis.normalize(&axis); in doUpdate() 220 SkScalar dot = SkUnit3D::Dot(*SkTCast<const SkUnit3D*>(&fZenith), axis); in doUpdate() 222 zenith.fX = fZenith.fX - dot * axis.fX; in doUpdate() 223 zenith.fY = fZenith.fY - dot * axis.fY; in doUpdate() 224 zenith.fZ = fZenith.fZ - dot * axis.fZ; in doUpdate() 229 SkUnit3D::Cross(axis, zenith, &cross); in doUpdate() 237 orien->set(SkMatrix::kMScaleX, x * axis.fX - z * cross.fX); in doUpdate() 238 orien->set(SkMatrix::kMSkewX, x * axis.fY - z * cross.fY); in doUpdate() 239 orien->set(SkMatrix::kMTransX, x * axis.fZ - z * cross.fZ); in doUpdate() [all …]
|
/external/jmonkeyengine/engine/src/core/com/jme3/math/ |
D | Quaternion.java | 556 public Quaternion fromAngleAxis(float angle, Vector3f axis) { in fromAngleAxis() argument 557 Vector3f normAxis = axis.normalize(); in fromAngleAxis() 571 public Quaternion fromAngleNormalAxis(float angle, Vector3f axis) { in fromAngleNormalAxis() argument 572 if (axis.x == 0 && axis.y == 0 && axis.z == 0) { in fromAngleNormalAxis() 578 x = sin * axis.x; in fromAngleNormalAxis() 579 y = sin * axis.y; in fromAngleNormalAxis() 580 z = sin * axis.z; in fromAngleNormalAxis() 879 public Quaternion fromAxes(Vector3f[] axis) { in fromAxes() argument 880 if (axis.length != 3) { in fromAxes() 884 return fromAxes(axis[0], axis[1], axis[2]); in fromAxes() [all …]
|