/external/clang/test/PCH/ |
enum.h | 9 enum Shape { 16 enum Shape aRoundShape = Circle;
|
enum.c | 17 enum Shape s = Triangle;
|
/external/chromium_org/third_party/WebKit/Source/platform/geometry/ |
Region.h | 77 class Shape { 79 Shape(); 80 Shape(const IntRect&); 81 Shape(size_t segmentsCapacity, size_t spansCapacity); 97 static Shape unionShapes(const Shape& shape1, const Shape& shape2); 98 static Shape intersectShapes(const Shape& shape1, const Shape& shape2) [all...] |
Region.cpp | 31 // A region class based on the paper "Scanline Coherent Shape Algebra" 53 for (Shape::SpanIterator span = m_shape.spansBegin(), end = m_shape.spansEnd(); span != end && span + 1 != end; ++span) { 57 for (Shape::SegmentIterator segment = m_shape.segmentsBegin(span), end = m_shape.segmentsEnd(span); segment != end && segment + 1 != end; segment += 2) { 73 return Shape::compareShapes<Shape::CompareContainsOperation>(m_shape, region.m_shape); 81 for (Shape::SpanIterator span = m_shape.spansBegin(), end = m_shape.spansEnd(); span != end && span + 1 != end; ++span) { 90 for (Shape::SegmentIterator segment = m_shape.segmentsBegin(span), end = m_shape.segmentsEnd(span); segment != end && segment + 1 != end; segment += 2) { 109 return Shape::compareShapes<Shape::CompareIntersectsOperation>(m_shape, region.m_shape); 127 bool Region::Shape::compareShapes(const Shape& aShape, const Shape& bShape [all...] |
/external/lldb/test/functionalities/data-formatter/data-formatter-categories/ |
main.cpp | 14 struct Shape 17 Shape() : dummy(true) {} 20 struct Rectangle : public Shape { 26 struct Circle : public Shape {
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/shapes/ |
BoxShape.h | 33 #include "core/rendering/shapes/Shape.h" 38 class BoxShape FINAL : public Shape { 41 : Shape()
|
Shape.h | 59 // that will fit within or around a shape. The line is defined by a pair of logical Y coordinates and the 63 class Shape { 66 Path shape; member in struct:WebCore::Shape::DisplayPaths 69 static PassOwnPtr<Shape> createShape(const BasicShape*, const LayoutSize& logicalBoxSize, WritingMode, float margin); 70 static PassOwnPtr<Shape> createRasterShape(Image*, float threshold, const LayoutRect& imageRect, const LayoutRect& marginRect, WritingMode, float margin); 71 static PassOwnPtr<Shape> createLayoutBoxShape(const RoundedRect&, WritingMode, float margin); 73 virtual ~Shape() { }
|
RectangleShape.h | 33 #include "core/rendering/shapes/Shape.h" 42 class RectangleShape FINAL : public Shape { 45 : Shape()
|
BoxShapeTest.cpp | 44 PassOwnPtr<Shape> createBoxShape(const RoundedRect& bounds, float shapeMargin) 46 return Shape::createLayoutBoxShape(bounds, TopToBottomWritingMode, shapeMargin); 74 /* The BoxShape is based on a 100x50 rectangle at 0,0. The shape-margin value is 10, 85 OwnPtr<Shape> shape = createBoxShape(RoundedRect(0, 0, 100, 50), 10); local 86 EXPECT_FALSE(shape->isEmpty()); 88 EXPECT_EQ(LayoutRect(-10, -10, 120, 70), shape->shapeMarginLogicalBoundingBox()); 94 EXPECT_TRUE(shape->lineOverlapsShapeMarginBounds(-9, 1)); 95 EXPECT_TRUE(shape->lineOverlapsShapeMarginBounds(-10, 0)); 96 EXPECT_TRUE(shape->lineOverlapsShapeMarginBounds(-10, 200)) 130 OwnPtr<Shape> shape = createBoxShape(RoundedRect(IntRect(0, 0, 100, 100), cornerRadii), 0); local [all...] |
Shape.cpp | 31 #include "core/rendering/shapes/Shape.h" 50 static PassOwnPtr<Shape> createInsetShape(const FloatRoundedRect& bounds) 56 static PassOwnPtr<Shape> createCircleShape(const FloatPoint& center, float radius) 62 static PassOwnPtr<Shape> createEllipseShape(const FloatPoint& center, const FloatSize& radii) 68 static PassOwnPtr<Shape> createPolygonShape(PassOwnPtr<Vector<FloatPoint> > vertices, WindRule fillRule) 98 PassOwnPtr<Shape> Shape::createShape(const BasicShape* basicShape, const LayoutSize& logicalBoxSize, WritingMode writingMode, float margin) 105 OwnPtr<Shape> shape; local 115 shape = createCircleShape(logicalCenter, radius) 224 OwnPtr<Shape> shape = createInsetShape(bounds); local [all...] |
PolygonShape.h | 33 #include "core/rendering/shapes/Shape.h" 60 class PolygonShape FINAL : public Shape { 64 : Shape()
|
ShapeOutsideInfo.h | 33 #include "core/rendering/shapes/Shape.h" 95 const Shape& computedShape() const; 104 PassOwnPtr<Shape> createShapeForImage(StyleImage*, float shapeImageThreshold, WritingMode, float margin) const; 120 mutable OwnPtr<Shape> m_shape;
|
ShapeOutsideInfo.cpp | 107 PassOwnPtr<Shape> ShapeOutsideInfo::createShapeForImage(StyleImage* styleImage, float shapeImageThreshold, WritingMode writingMode, float margin) const 120 return Shape::createRasterShape(image.get(), shapeImageThreshold, imageRect, marginRect, writingMode, margin); 123 const Shape& ShapeOutsideInfo::computedShape() const 125 if (Shape* shape = m_shape.get()) 126 return *shape; 141 case ShapeValue::Shape: 142 ASSERT(shapeValue.shape()); 143 m_shape = Shape::createShape(shapeValue.shape(), m_referenceBoxLogicalSize, writingMode, margin) [all...] |
/external/chromium_org/mojo/android/javatests/src/org/chromium/mojo/bindings/ |
BindingsTest.java | 12 import org.chromium.mojo.bindings.test.imported.Shape; 56 assertEquals(1, Shape.SHAPE_RECTANGLE); 57 assertEquals(2, Shape.SHAPE_CIRCLE); 58 assertEquals(3, Shape.SHAPE_TRIANGLE); 59 checkConstantField(Shape.class.getField("SHAPE_RECTANGLE"), int.class); 60 checkConstantField(Shape.class.getField("SHAPE_CIRCLE"), int.class); 61 checkConstantField(Shape.class.getField("SHAPE_TRIANGLE"), int.class);
|
/frameworks/base/graphics/java/android/graphics/drawable/shapes/ |
Shape.java | 25 * Defines a generic graphical "shape." 26 * Any Shape can be drawn to a Canvas with its own draw() method, 30 public abstract class Shape implements Cloneable { 35 * Returns the width of the Shape. 42 * Returns the height of the Shape. 49 * Draw this shape into the provided Canvas, with the provided Paint. 52 * @param canvas the Canvas within which this shape should be drawn 53 * @param paint the Paint object that defines this shape's characteristics 58 * Resizes the dimensions of this shape. 61 * @param width the width of the shape (in pixels [all...] |
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;
|
RectShape.java | 25 * Defines a rectangle shape. 30 public class RectShape extends Shape { 61 final RectShape shape = (RectShape) super.clone(); local 62 shape.mRect = new RectF(mRect); 63 return shape;
|
/external/chromium_org/third_party/WebKit/Source/core/html/ |
HTMLAreaElement.h | 59 enum Shape { Default, Poly, Rect, Circle, Unknown }; 66 Shape m_shape;
|
/cts/tests/tests/animation/src/android/animation/cts/ |
ShapeHolder.java | 20 import android.graphics.drawable.shapes.Shape; 25 * A data structure that holds a Shape and various properties that can be used to define 26 * how the shape is drawn. 94 Shape s = mShape.getShape(); 103 Shape s = mShape.getShape();
|
/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...] |
/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/chromium_org/third_party/WebKit/Source/core/rendering/style/ |
ShapeValue.h | 45 Shape, 50 static PassRefPtr<ShapeValue> createShapeValue(PassRefPtr<BasicShape> shape, CSSBoxType cssBox) 52 return adoptRef(new ShapeValue(shape, cssBox)); 66 BasicShape* shape() const { return m_shape.get(); } function in class:WebCore::ShapeValue 88 ShapeValue(PassRefPtr<BasicShape> shape, CSSBoxType cssBox) 89 : m_type(Shape) 90 , m_shape(shape) 124 case Shape: 125 return shape() == other.shape() && cssBox() == other.cssBox() [all...] |
/external/chromium_org/third_party/WebKit/Source/core/animation/ |
AnimatableShapeValue.cpp | 40 if (m_shape->type() != ShapeValue::Shape 41 || shapeValue->m_shape->type() != ShapeValue::Shape 45 const BasicShape* fromShape = this->m_shape->shape(); 46 const BasicShape* toShape = shapeValue->m_shape->shape(); 57 const BasicShape* fromShape = this->m_shape->shape(); 58 const BasicShape* toShape = shapeValue->m_shape->shape(); 64 const ShapeValue* shape = toAnimatableShapeValue(value)->m_shape.get(); local 65 return m_shape == shape || (m_shape && shape && *m_shape == *shape); [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/assetstudio/ |
CreateAssetSetWizardState.java | 22 import com.android.assetstudiolib.GraphicGenerator.Shape; 84 /** The background shape */ 85 public Shape shape = Shape.SQUARE; field in class:CreateAssetSetWizardState 93 /** The background color to use for the shape (unless the shape is {@link Shape#NONE} */ 96 /** The background color to use for the text or clipart (unless shape is {@link Shape#NONE} * [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
ShadowCardDrag.java | 31 import android.graphics.drawable.shapes.Shape; 114 * Simple shape example that generates a shadow casting outline. 116 private static class TriangleShape extends Shape { 141 private final ArrayList<Shape> mShapes = new ArrayList<Shape>();
|