Searched refs:shape (Results 1 - 25 of 298) sorted by relevance

1234567891011>>

/external/chromium_org/third_party/WebKit/Source/core/rendering/shapes/
H A DBoxShapeTest.cpp72 OwnPtr<Shape> shape = createBoxShape(LayoutSize(100, 50), 10, 20); local
73 EXPECT_FALSE(shape->isEmpty());
75 EXPECT_EQ(LayoutRect(-10, -10, 120, 70), shape->shapeMarginLogicalBoundingBox());
76 EXPECT_EQ(LayoutRect(20, 20, 60, 10), shape->shapePaddingLogicalBoundingBox());
82 EXPECT_TRUE(shape->lineOverlapsShapeMarginBounds(-9, 1));
83 EXPECT_TRUE(shape->lineOverlapsShapeMarginBounds(-10, 0));
84 EXPECT_TRUE(shape->lineOverlapsShapeMarginBounds(-10, 200));
85 EXPECT_TRUE(shape->lineOverlapsShapeMarginBounds(5, 10));
86 EXPECT_TRUE(shape->lineOverlapsShapeMarginBounds(59, 1));
88 EXPECT_FALSE(shape
[all...]
/external/chromium_org/native_client_sdk/src/gonacl_appengine/static/bullet/
H A Dworld.js40 var shapeName = body['shape'];
67 function verifyShapeDescription(shape) {
68 if (shape['name'] == undefined) {
73 var type = shape['type'];
84 return verifyCubeDescription(shape);
88 return verifySphereDescription(shape);
92 return verifyCylinderDescription(shape);
96 return verifyConvexDescription(shape);
102 function verifyCubeDescription(shape) {
103 if (shape['w
[all...]
H A Dscene.js34 function loadShape(shape) {
35 if (shapes[shape.name] != undefined) {
36 return shapes[shape.name];
39 if (shape.type == "cube") {
40 shapes[shape.name] = new THREE.CubeGeometry(shape['wx'], shape['wy'], shape['wz']);
41 return shapes[shape.name];
44 if (shape
[all...]
/external/jmonkeyengine/engine/src/bullet-native/
H A Dcom_jme3_bullet_collision_shapes_CapsuleCollisionShape.cpp51 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);
H A Dcom_jme3_bullet_collision_shapes_ConeCollisionShape.cpp51 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);
H A Dcom_jme3_bullet_collision_shapes_CylinderCollisionShape.cpp53 btCollisionShape* shape; local
56 shape = new btCylinderShapeX(extents);
59 shape = new btCylinderShape(extents);
62 shape = new btCylinderShapeZ(extents);
65 return reinterpret_cast<jlong>(shape);
H A Dcom_jme3_bullet_collision_shapes_CollisionShape.cpp50 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 local
[all...]
H A Dcom_jme3_bullet_collision_shapes_CompoundCollisionShape.cpp51 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
[all...]
H A Dcom_jme3_bullet_collision_shapes_BoxCollisionShape.cpp53 btBoxShape* shape = new btBoxShape(extents); local
54 return reinterpret_cast<jlong>(shape);
H A Dcom_jme3_bullet_collision_shapes_PlaneCollisionShape.cpp54 btStaticPlaneShape* shape = new btStaticPlaneShape(norm, constant); local
55 return reinterpret_cast<jlong>(shape);
H A Dcom_jme3_bullet_collision_shapes_SphereCollisionShape.cpp51 btSphereShape* shape=new btSphereShape(radius); local
52 return reinterpret_cast<jlong>(shape);
H A Dcom_jme3_bullet_collision_shapes_HullCollisionShape.cpp55 btConvexHullShape* shape = new btConvexHullShape(); local
61 shape->addPoint(vect);
64 return reinterpret_cast<jlong>(shape);
H A Dcom_jme3_bullet_collision_shapes_MeshCollisionShape.cpp53 btBvhTriangleMeshShape* shape = new btBvhTriangleMeshShape(array, true, true); local
54 return reinterpret_cast<jlong>(shape);
H A Dcom_jme3_bullet_collision_shapes_GImpactCollisionShape.cpp53 btGImpactMeshShape* shape = new btGImpactMeshShape(array); local
54 return reinterpret_cast<jlong>(shape);
/external/chromium_org/third_party/WebKit/Source/core/animation/
H A DAnimatableShapeValue.cpp43 const BasicShape* fromShape = this->m_shape->shape();
44 const BasicShape* toShape = shapeValue->m_shape->shape();
54 const ShapeValue* shape = toAnimatableShapeValue(value)->m_shape.get(); local
55 return m_shape == shape || (m_shape && shape && *m_shape == *shape);
H A DAnimatableShapeValue.h42 static PassRefPtr<AnimatableShapeValue> create(ShapeValue* shape) argument
44 return adoptRef(new AnimatableShapeValue(shape));
52 AnimatableShapeValue(ShapeValue* shape) argument
53 : m_shape(shape)
/external/harfbuzz_ng/
H A DAndroid.mk34 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
[all...]
/external/jmonkeyengine/engine/src/bullet-common/com/jme3/bullet/collision/shapes/infos/
H A DChildCollisionShape.java22 public CollisionShape shape; field in class:ChildCollisionShape
27 public ChildCollisionShape(Vector3f location, Matrix3f rotation, CollisionShape shape) { argument
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/
H A DCompoundCollisionShape.java53 * 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) { argument
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 th
81 addChildShape(CollisionShape shape, Vector3f location, Matrix3f rotation) argument
92 addChildShapeDirect(CollisionShape shape, Vector3f location, Matrix3f rotation) argument
106 removeChildShape(CollisionShape shape) argument
[all...]
/external/jmonkeyengine/engine/src/bullet/com/jme3/bullet/collision/shapes/
H A DCompoundCollisionShape.java50 * to generate a more sophisticated shape.
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) { argument
70 // children.add(new ChildCollisionShape(location.clone(), new Matrix3f(), shape));
71 // ((CompoundShape) objectId).addChildShape(transA, shape.getObjectId());
72 addChildShape(shape, location, new Matrix3f());
76 * adds a child shape a
80 addChildShape(CollisionShape shape, Vector3f location, Matrix3f rotation) argument
92 addChildShapeDirect(CollisionShape shape, Vector3f location, Matrix3f rotation) argument
107 removeChildShape(CollisionShape shape) argument
[all...]
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
H A DRenderSVGResourceSolidColor.cpp84 void RenderSVGResourceSolidColor::postApplyResource(RenderObject*, GraphicsContext*& context, unsigned short resourceMode, const Path* path, const RenderSVGShape* shape) argument
92 else if (shape)
93 shape->fillShape(context);
98 else if (shape)
99 shape->strokeShape(context);
/external/harfbuzz_ng/src/
H A Dgen-arabic-table.py91 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/chromium_org/v8/src/
H A Dv8conversions.cc85 StringShape shape(str);
87 if (shape.IsSequentialAscii()) {
92 } else if (shape.IsSequentialTwoByte()) {
112 StringShape shape(str);
114 if (shape.IsSequentialAscii()) {
118 } else if (shape.IsSequentialTwoByte()) {
/external/v8/src/
H A Dv8conversions.cc85 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()) {
/external/chromium_org/third_party/WebKit/Source/core/html/
H A DHTMLAreaElement.idl26 [Reflect] attribute DOMString shape;

Completed in 530 milliseconds

1234567891011>>