HomeSort by relevance Sort by last modified time
    Searched refs:shape (Results 1 - 25 of 322) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/jmonkeyengine/engine/src/bullet-native/
com_jme3_bullet_collision_shapes_CapsuleCollisionShape.cpp 51 btCollisionShape* shape; local
54 shape = new btCapsuleShapeX(radius, height);
57 shape = new btCapsuleShape(radius, height);
60 shape = new btCapsuleShapeZ(radius, height);
63 return reinterpret_cast<jlong>(shape);
com_jme3_bullet_collision_shapes_ConeCollisionShape.cpp 51 btCollisionShape* shape; local
54 shape = new btConeShapeX(radius, height);
57 shape = new btConeShape(radius, height);
60 shape = new btConeShapeZ(radius, height);
63 return reinterpret_cast<jlong>(shape);
com_jme3_bullet_collision_shapes_CylinderCollisionShape.cpp 53 btCollisionShape* shape; local
56 shape = new btCylinderShapeX(extents);
59 shape = new btCylinderShape(extents);
62 shape = new btCylinderShapeZ(extents);
65 return reinterpret_cast<jlong>(shape);
com_jme3_bullet_collision_shapes_CollisionShape.cpp 50 btCollisionShape* shape = reinterpret_cast<btCollisionShape*>(shapeId); local
51 if (shape == NULL) {
56 return shape->getMargin();
66 btCollisionShape* shape = reinterpret_cast<btCollisionShape*>(shapeId); local
67 if (shape == NULL) {
74 shape->setLocalScaling(scl);
84 btCollisionShape* shape = reinterpret_cast<btCollisionShape*>(shapeId); local
85 if (shape == NULL) {
90 shape->setMargin(newMargin);
100 btCollisionShape* shape = reinterpret_cast<btCollisionShape*>(shapeId) local
    [all...]
com_jme3_bullet_collision_shapes_BoxCollisionShape.cpp 53 btBoxShape* shape = new btBoxShape(extents); local
54 return reinterpret_cast<jlong>(shape);
com_jme3_bullet_collision_shapes_SphereCollisionShape.cpp 51 btSphereShape* shape=new btSphereShape(radius); local
52 return reinterpret_cast<jlong>(shape);
com_jme3_bullet_collision_shapes_CompoundCollisionShape.cpp 51 btCompoundShape* shape = new btCompoundShape(); local
52 return reinterpret_cast<jlong>(shape);
62 btCompoundShape* shape = reinterpret_cast<btCompoundShape*>(compoundId); local
63 if (shape == NULL) {
69 if (shape == NULL) {
78 shape->addChildShape(trans, child);
89 btCompoundShape* shape = reinterpret_cast<btCompoundShape*>(compoundId); local
90 if (shape == NULL) {
96 if (shape == NULL) {
101 shape->removeChildShape(child)
    [all...]
com_jme3_bullet_collision_shapes_HullCollisionShape.cpp 55 btConvexHullShape* shape = new btConvexHullShape(); local
61 shape->addPoint(vect);
64 return reinterpret_cast<jlong>(shape);
com_jme3_bullet_collision_shapes_PlaneCollisionShape.cpp 54 btStaticPlaneShape* shape = new btStaticPlaneShape(norm, constant); local
55 return reinterpret_cast<jlong>(shape);
com_jme3_bullet_collision_shapes_GImpactCollisionShape.cpp 53 btGImpactMeshShape* shape = new btGImpactMeshShape(array); local
54 return reinterpret_cast<jlong>(shape);
  /development/samples/ApiDemos/src/com/example/android/apis/animation/
ShapeHolder.java 22 import android.graphics.drawable.shapes.Shape;
26 * A data structure that holds a Shape and various properties that can be used to define
27 * how the shape is drawn.
31 private ShapeDrawable shape; field in class:ShapeHolder
57 shape = value;
60 return shape;
66 shape.getPaint().setColor(value);
78 shape.setAlpha((int)((alpha * 255f) + .5f));
82 return shape.getShape().getWidth();
85 Shape s = shape.getShape()
    [all...]
  /external/harfbuzz_ng/
Android.mk 34 src/hb-fallback-shape.cc \
38 src/hb-shape.cc \
39 src/hb-shape-plan.cc \
46 src/hb-ot-shape.cc \
47 src/hb-ot-shape-complex-arabic.cc \
48 src/hb-ot-shape-complex-default.cc \
49 src/hb-ot-shape-complex-indic.cc \
50 src/hb-ot-shape-complex-indic-table.cc \
51 src/hb-ot-shape-complex-myanmar.cc \
52 src/hb-ot-shape-complex-sea.cc
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/kube/
Layer.java 29 GLShape shape = mShapes[i]; local
30 if (shape != null) {
31 shape.startAnimation();
38 GLShape shape = mShapes[i]; local
39 if (shape != null) {
40 shape.endAnimation();
84 GLShape shape = mShapes[i]; local
85 if (shape != null) {
86 shape.animateTransform(mTransform);
  /frameworks/base/graphics/java/android/graphics/drawable/shapes/
RectShape.java 24 * Defines a rectangle shape.
29 public class RectShape extends Shape {
56 final RectShape shape = (RectShape) super.clone(); local
57 shape.mRect = new RectF(mRect);
58 return shape;
RoundRectShape.java 26 * can be included (to make a sort of "O" shape).
108 RoundRectShape shape = (RoundRectShape) super.clone(); local
109 shape.mOuterRadii = mOuterRadii != null ? mOuterRadii.clone() : null;
110 shape.mInnerRadii = mInnerRadii != null ? mInnerRadii.clone() : null;
111 shape.mInset = new RectF(mInset);
112 shape.mInnerRect = new RectF(mInnerRect);
113 shape.mPath = new Path(mPath);
114 return shape;
PathShape.java 29 public class PathShape extends Shape {
40 * @param path a Path that defines the geometric paths for this shape
41 * @param stdWidth the standard width for the shape. Any changes to the
44 * @param stdHeight the standard height for the shape. Any changes to the
70 PathShape shape = (PathShape) super.clone(); local
71 shape.mPath = new Path(mPath);
72 return shape;
  /external/skia/legacy/include/effects/
SkGroupShape.h 83 /** Return the shape at the specified index. Note this does not affect the
84 owner count of the index'd shape. If index is out of range, returns NULL
88 /** Helper function to return the matrixref of the specified shape.
96 /** Ref the specified shape, and insert it into the child list at the
97 specified index. If index == countShapes(), then the shape will be
99 shape is not added. Either way, the shape parameter is returned.
101 Child shapes are drawn in order, after the parent, so the shape at index
102 0 will be drawn first, and the shape at index countShapes() - 1 will be
107 void addShape(int index, SkShape* shape, const SkMatrix& matrix)
    [all...]
  /frameworks/base/graphics/java/android/graphics/
PathDashPathEffect.java 22 TRANSLATE(0), //!< translate the shape to each position
23 ROTATE(1), //!< rotate the shape about its center
33 * Dash the drawn path by stamping it with the specified shape. This only
37 * @param shape The path to stamp along
38 * @param advance spacing between each stamp of shape
39 * @param phase amount to offset before the first shape is stamped
40 * @param style how to transform the shape at each position as it is stamped
42 public PathDashPathEffect(Path shape, float advance, float phase,
44 native_instance = nativeCreate(shape.ni(), advance, phase,
  /external/jmonkeyengine/engine/src/bullet-common/com/jme3/bullet/collision/shapes/infos/
ChildCollisionShape.java 22 public CollisionShape shape; field in class:ChildCollisionShape
27 public ChildCollisionShape(Vector3f location, Matrix3f rotation, CollisionShape shape) {
30 this.shape = shape;
37 capsule.write(shape, "shape", new BoxCollisionShape(new Vector3f(1, 1, 1)));
44 shape = (CollisionShape) capsule.readSavable("shape", new BoxCollisionShape(new Vector3f(1, 1, 1)));
  /external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/collision/shapes/
CompoundCollisionShape.java 53 * to generate a more sophisticated shape.
65 * adds a child shape at the given local translation
66 * @param shape the child shape to add
67 * @param location the local location of the child shape
69 public void addChildShape(CollisionShape shape, Vector3f location) {
72 children.add(new ChildCollisionShape(location.clone(), new Matrix3f(), shape));
73 ((CompoundShape) cShape).addChildShape(transA, shape.getCShape());
77 * adds a child shape at the given local translation
78 * @param shape the child shape to ad
    [all...]
  /cts/tests/tests/graphics/src/android/graphics/drawable/shapes/cts/
ShapeTest.java 27 import android.graphics.drawable.shapes.Shape;
79 Shape shape = new MockShape(); local
80 shape.resize(100f, 200f);
81 Shape clonedShape = shape.clone();
82 assertEquals(100f, shape.getWidth());
83 assertEquals(200f, shape.getHeight());
85 assertNotSame(shape, clonedShape);
86 assertEquals(shape.getWidth(), clonedShape.getWidth())
91 Shape shape = new MockShape(); local
96 Shape shape = new MockShape(); local
    [all...]
  /external/jmonkeyengine/engine/src/bullet/com/jme3/bullet/collision/shapes/
CompoundCollisionShape.java 50 * to generate a more sophisticated shape.
59 Logger.getLogger(this.getClass().getName()).log(Level.INFO, "Created Shape {0}", Long.toHexString(objectId));
63 * adds a child shape at the given local translation
64 * @param shape the child shape to add
65 * @param location the local location of the child shape
67 public void addChildShape(CollisionShape shape, Vector3f location) {
70 // children.add(new ChildCollisionShape(location.clone(), new Matrix3f(), shape));
71 // ((CompoundShape) objectId).addChildShape(transA, shape.getObjectId());
72 addChildShape(shape, location, new Matrix3f())
    [all...]
  /packages/apps/Settings/src/com/android/settings/deviceinfo/
StorageItemPreference.java 59 ShapeDrawable shape = new ShapeDrawable(new RectShape()); local
60 shape.setIntrinsicHeight(height);
61 shape.setIntrinsicWidth(width);
62 shape.getPaint().setColor(color);
63 return shape;
  /external/harfbuzz_ng/src/
gen-arabic-table.py 91 shape, items = items[0][1:-1], tuple (int (x, 16) for x in items[1:])
93 if not shape in ['initial', 'medial', 'isolated', 'final']:
106 ligatures[items][shape] = c
109 # Save shape
116 shapes[items[0]][shape] = c
125 s = [shapes[u][shape] if u in shapes and shape in shapes[u] else 0
126 for shape in ['initial', 'medial', 'final', 'isolated']]
138 for shape in ligatures[pair]:
139 c = ligatures[pair][shape]
    [all...]
  /external/v8/src/
v8conversions.cc 85 StringShape shape(str);
86 if (shape.IsSequentialAscii()) {
91 } else if (shape.IsSequentialTwoByte()) {
110 StringShape shape(str);
111 if (shape.IsSequentialAscii()) {
115 } else if (shape.IsSequentialTwoByte()) {

Completed in 369 milliseconds

1 2 3 4 5 6 7 8 91011>>