/pdk/apps/CameraITS/tests/ |
test_formats.py | 47 assert(img.shape[0] == size["height"]) 48 assert(img.shape[1] == size["width"]) 49 assert(img.shape[2] == 3)
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/shapes/ |
Shape.cpp | 31 #include "core/rendering/shapes/Shape.h" 48 static PassOwnPtr<Shape> createBoxShape(const FloatRoundedRect& bounds) 54 static PassOwnPtr<Shape> createRectangleShape(const FloatRect& bounds, const FloatSize& radii) 60 static PassOwnPtr<Shape> createCircleShape(const FloatPoint& center, float radius) 66 static PassOwnPtr<Shape> createEllipseShape(const FloatPoint& center, const FloatSize& radii) 72 static PassOwnPtr<Shape> createPolygonShape(PassOwnPtr<Vector<FloatPoint> > vertices, WindRule fillRule) 113 PassOwnPtr<Shape> Shape::createShape(const BasicShape* basicShape, const LayoutSize& logicalBoxSize, WritingMode writingMode, Length margin, Length padding) 120 OwnPtr<Shape> shape; local 260 OwnPtr<Shape> shape = createBoxShape(bounds); local [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/graphics/kube/ |
GLWorld.java | 30 public void addShape(GLShape shape) { 31 mShapeList.add(shape); 32 mIndexCount += shape.getIndexCount(); 56 GLShape shape = iter3.next(); local 57 shape.putIndices(mIndexBuffer);
|
/external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/util/ |
DebugShapeFactory.java | 68 * Creates a debug shape from the given collision shape. This is mostly used internally.<br> 69 * To attach a debug shape to a physics object, call <code>attachDebugShape(AssetManager manager);</code> on it. 79 CompoundCollisionShape shape = (CompoundCollisionShape) collisionShape; local 80 List<ChildCollisionShape> children = shape.getChildren(); 84 CollisionShape ccollisionShape = childCollisionShape.shape; 114 private static Geometry createDebugShape(CollisionShape shape) { 116 geom.setMesh(DebugShapeFactory.getDebugMesh(shape)); 117 // geom.setLocalScale(shape.getScale()); 122 public static Mesh getDebugMesh(CollisionShape shape) { [all...] |
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/tool/templates/dot/ |
dot.stg | 68 node [fontsize=11, shape = <if(useBox)>box<else>circle, fixedsize=true, width=.4<endif>]; <name> 72 node [fontsize=11, shape = <if(useBox)>polygon,sides=4,peripheries=2<else>doublecircle, fixedsize=true, width=.6<endif>]; <name>
|
/external/chromium_org/native_client_sdk/src/gonacl_appengine/static/bullet/ |
scenes.js | 18 body.shape = 'box'; 46 body.shape = 'box'; 89 body.shape = 'boxX'; 108 body.shape = 'boxZ'; 165 body.shape = 'stick'; 167 body.shape = 'tube'; 169 body.shape = 'sphere'; 171 body.shape = 'tri';
|
/external/harfbuzz/src/ |
harfbuzz-arabic.c | 33 unsigned char shape; member in struct:__anon18526 387 ArabicShape shape = joining_table[XIsolated][j].form2; local 398 properties[i].shape = XIsolated; 402 properties[lastPos].shape = joining_table[shape][j].form1; 403 shape = joining_table[shape][j].form2; 407 if (properties[lastPos].shape == XInitial || properties[lastPos].shape == XMedial) 411 if (properties[lastPos].shape == XFinal 513 ArabicShape shape = joining_table[XIsolated][j].form2; local 936 int shape = properties[i].shape; local [all...] |
/external/harfbuzz_ng/src/hb-old/ |
harfbuzz-arabic.c | 33 unsigned char shape; member in struct:__anon18591 387 ArabicShape shape = joining_table[XIsolated][j].form2; local 398 properties[i].shape = XIsolated; 402 properties[lastPos].shape = joining_table[shape][j].form1; 403 shape = joining_table[shape][j].form2; 407 if (properties[lastPos].shape == XInitial || properties[lastPos].shape == XMedial) 411 if (properties[lastPos].shape == XFinal 513 ArabicShape shape = joining_table[XIsolated][j].form2; local 936 int shape = properties[i].shape; local [all...] |
/external/jmonkeyengine/engine/src/test/jme3test/bullet/ |
TestGhostObject.java | 45 import com.jme3.scene.shape.Box; 70 CollisionShape shape = new BoxCollisionShape(new Vector3f(1, 1, 1)); local 72 Node physicsBox = PhysicsTestHelper.createPhysicsTestNode(assetManager, shape, 1); 78 Node physicsBox1 = PhysicsTestHelper.createPhysicsTestNode(assetManager, shape, 1);
|
TestCollisionListener.java | 42 import com.jme3.scene.shape.Sphere;
43 import com.jme3.scene.shape.Sphere.TextureMode;
|
/external/chromium_org/third_party/WebKit/Source/core/css/ |
CSSBasicShapes.cpp | 76 bool CSSBasicShapeRectangle::equals(const CSSBasicShape& shape) const 78 if (shape.type() != CSSBasicShapeRectangleType) 81 const CSSBasicShapeRectangle& other = static_cast<const CSSBasicShapeRectangle&>(shape); 120 bool CSSBasicShapeCircle::equals(const CSSBasicShape& shape) const 122 if (shape.type() != CSSBasicShapeCircleType) 125 const CSSBasicShapeCircle& other = static_cast<const CSSBasicShapeCircle&>(shape); 155 bool CSSBasicShapeEllipse::equals(const CSSBasicShape& shape) const 157 if (shape.type() != CSSBasicShapeEllipseType) 160 const CSSBasicShapeEllipse& other = static_cast<const CSSBasicShapeEllipse&>(shape); 232 bool CSSBasicShapePolygon::equals(const CSSBasicShape& shape) cons [all...] |
/frameworks/base/libs/hwui/ |
PathCache.cpp | 51 memset(&shape, 0, sizeof(Shape)); 62 memset(&shape, 0, sizeof(Shape)); 73 hash = JenkinsHashMixBytes(hash, (uint8_t*) &shape, sizeof(Shape)); 237 ALOGD("Shape deleted, size = %d", size); 295 ALOGD("Shape created, size = %d", size); 379 (key.shape.path.mPath == pair.getFirst() || 380 key.shape.path.mPath == pair.getSecond())) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/html/ |
HTMLAnchorElement.idl | 30 [Reflect] attribute DOMString shape;
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/ |
RenderSVGResourceGradient.cpp | 141 void RenderSVGResourceGradient::postApplyResource(RenderObject*, GraphicsContext*& context, unsigned short resourceMode, const Path* path, const RenderSVGShape* shape) 149 else if (shape) 150 shape->fillShape(context); 155 else if (shape) 156 shape->strokeShape(context);
|
/external/jmonkeyengine/engine/src/bullet-native/ |
com_jme3_bullet_util_DebugShapeFactory.cpp | 91 btCollisionShape* shape = reinterpret_cast<btCollisionShape*>(shapeId); local 92 if (shape->isConcave()) { 93 btConcaveShape* concave = reinterpret_cast<btConcaveShape*>(shape); 99 } else if (shape->isConvex()) { 100 btConvexShape* convexShape = reinterpret_cast<btConvexShape*>(shape); 101 // Check there is a hull shape to render
|
/external/chromium_org/chrome/test/chromedriver/js/ |
get_element_region.js | 18 if (element.shape.toLowerCase() == 'rect') { 31 } else if (element.shape.toLowerCase() == 'circle') { 43 } else if (element.shape.toLowerCase() == 'poly') { 65 throw new Error('shape=' + element.shape + ' is not supported');
|
/external/jmonkeyengine/engine/src/test/jme3test/model/shape/ |
TestBillboard.java | 33 package jme3test.model.shape; 42 import com.jme3.scene.shape.Box; 43 import com.jme3.scene.shape.Quad;
|
TestDebugShapes.java | 33 package jme3test.model.shape; 53 public Geometry putShape(Mesh shape, ColorRGBA color){ 54 Geometry g = new Geometry("shape", shape);
|
/frameworks/base/core/jni/android/graphics/ |
PathEffect.cpp | 43 const SkPath* shape, float advance, float phase, int style) { 44 SkASSERT(shape != NULL); 45 return new SkPath1DPathEffect(*shape, SkFloatToScalar(advance),
|
/external/chromium_org/third_party/harfbuzz-ng/ |
harfbuzz-ng.target.darwin-arm.mk | 32 third_party/harfbuzz-ng/src/hb-fallback-shape.cc \ 37 third_party/harfbuzz-ng/src/hb-ot-shape-complex-arabic.cc \ 38 third_party/harfbuzz-ng/src/hb-ot-shape-complex-default.cc \ 39 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic-table.cc \ 40 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc \ 41 third_party/harfbuzz-ng/src/hb-ot-shape-complex-myanmar.cc \ 42 third_party/harfbuzz-ng/src/hb-ot-shape-complex-sea.cc \ 43 third_party/harfbuzz-ng/src/hb-ot-shape-complex-thai.cc \ 44 third_party/harfbuzz-ng/src/hb-ot-shape-fallback.cc \ 45 third_party/harfbuzz-ng/src/hb-ot-shape-normalize.cc [all...] |
harfbuzz-ng.target.darwin-mips.mk | 32 third_party/harfbuzz-ng/src/hb-fallback-shape.cc \ 37 third_party/harfbuzz-ng/src/hb-ot-shape-complex-arabic.cc \ 38 third_party/harfbuzz-ng/src/hb-ot-shape-complex-default.cc \ 39 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic-table.cc \ 40 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc \ 41 third_party/harfbuzz-ng/src/hb-ot-shape-complex-myanmar.cc \ 42 third_party/harfbuzz-ng/src/hb-ot-shape-complex-sea.cc \ 43 third_party/harfbuzz-ng/src/hb-ot-shape-complex-thai.cc \ 44 third_party/harfbuzz-ng/src/hb-ot-shape-fallback.cc \ 45 third_party/harfbuzz-ng/src/hb-ot-shape-normalize.cc [all...] |
harfbuzz-ng.target.darwin-x86.mk | 32 third_party/harfbuzz-ng/src/hb-fallback-shape.cc \ 37 third_party/harfbuzz-ng/src/hb-ot-shape-complex-arabic.cc \ 38 third_party/harfbuzz-ng/src/hb-ot-shape-complex-default.cc \ 39 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic-table.cc \ 40 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc \ 41 third_party/harfbuzz-ng/src/hb-ot-shape-complex-myanmar.cc \ 42 third_party/harfbuzz-ng/src/hb-ot-shape-complex-sea.cc \ 43 third_party/harfbuzz-ng/src/hb-ot-shape-complex-thai.cc \ 44 third_party/harfbuzz-ng/src/hb-ot-shape-fallback.cc \ 45 third_party/harfbuzz-ng/src/hb-ot-shape-normalize.cc [all...] |
harfbuzz-ng.target.linux-arm.mk | 32 third_party/harfbuzz-ng/src/hb-fallback-shape.cc \ 37 third_party/harfbuzz-ng/src/hb-ot-shape-complex-arabic.cc \ 38 third_party/harfbuzz-ng/src/hb-ot-shape-complex-default.cc \ 39 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic-table.cc \ 40 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc \ 41 third_party/harfbuzz-ng/src/hb-ot-shape-complex-myanmar.cc \ 42 third_party/harfbuzz-ng/src/hb-ot-shape-complex-sea.cc \ 43 third_party/harfbuzz-ng/src/hb-ot-shape-complex-thai.cc \ 44 third_party/harfbuzz-ng/src/hb-ot-shape-fallback.cc \ 45 third_party/harfbuzz-ng/src/hb-ot-shape-normalize.cc [all...] |
harfbuzz-ng.target.linux-mips.mk | 32 third_party/harfbuzz-ng/src/hb-fallback-shape.cc \ 37 third_party/harfbuzz-ng/src/hb-ot-shape-complex-arabic.cc \ 38 third_party/harfbuzz-ng/src/hb-ot-shape-complex-default.cc \ 39 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic-table.cc \ 40 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc \ 41 third_party/harfbuzz-ng/src/hb-ot-shape-complex-myanmar.cc \ 42 third_party/harfbuzz-ng/src/hb-ot-shape-complex-sea.cc \ 43 third_party/harfbuzz-ng/src/hb-ot-shape-complex-thai.cc \ 44 third_party/harfbuzz-ng/src/hb-ot-shape-fallback.cc \ 45 third_party/harfbuzz-ng/src/hb-ot-shape-normalize.cc [all...] |
harfbuzz-ng.target.linux-x86.mk | 32 third_party/harfbuzz-ng/src/hb-fallback-shape.cc \ 37 third_party/harfbuzz-ng/src/hb-ot-shape-complex-arabic.cc \ 38 third_party/harfbuzz-ng/src/hb-ot-shape-complex-default.cc \ 39 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic-table.cc \ 40 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc \ 41 third_party/harfbuzz-ng/src/hb-ot-shape-complex-myanmar.cc \ 42 third_party/harfbuzz-ng/src/hb-ot-shape-complex-sea.cc \ 43 third_party/harfbuzz-ng/src/hb-ot-shape-complex-thai.cc \ 44 third_party/harfbuzz-ng/src/hb-ot-shape-fallback.cc \ 45 third_party/harfbuzz-ng/src/hb-ot-shape-normalize.cc [all...] |