/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&); 94 static Shape unionShapes(const Shape& shape1, const Shape& shape2); 95 static Shape intersectShapes(const Shape& shape1, const Shape& shape2); 96 static Shape subtractShapes(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...] |
/frameworks/base/graphics/java/android/graphics/drawable/shapes/ |
Shape.java | 23 * Defines a generic graphical "shape." 24 * Any Shape can be drawn to a Canvas with its own draw() method, 28 public abstract class Shape implements Cloneable { 33 * Returns the width of the Shape. 40 * Returns the height of the Shape. 48 * Draw this shape into the provided Canvas, with the provided Paint. 51 * @param canvas the Canvas within which this shape should be drawn 52 * @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...] |
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;
|
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/chromium_org/third_party/WebKit/Source/core/rendering/shapes/ |
Shape.h | 57 // that will fit within or around a shape. The line is defined by a pair of logical Y coordinates and the 61 class Shape { 63 static PassOwnPtr<Shape> createShape(const BasicShape*, const LayoutSize& logicalBoxSize, WritingMode, Length margin, Length padding); 64 static PassOwnPtr<Shape> createShape(const StyleImage*, float threshold, const LayoutSize& logicalBoxSize, WritingMode, Length margin, Length padding); 65 static PassOwnPtr<Shape> createLayoutBoxShape(const LayoutSize& logicalBoxSize, WritingMode, const Length& margin, const Length& padding); 67 virtual ~Shape() { }
|
ShapeInfo.cpp | 50 const Shape* ShapeInfo<RenderType>::computedShape() const 52 if (Shape* shape = m_shape.get()) 53 return shape; 63 case ShapeValue::Shape: 64 ASSERT(shapeValue->shape()); 65 m_shape = Shape::createShape(shapeValue->shape(), m_shapeLogicalSize, writingMode, margin, padding); 69 m_shape = Shape::createShape(shapeValue->image(), shapeImageThreshold, m_shapeLogicalSize, writingMode, margin, padding); 72 m_shape = Shape::createLayoutBoxShape(m_shapeLogicalSize, writingMode, margin, padding) [all...] |
BoxShape.h | 33 #include "core/rendering/shapes/Shape.h" 38 class BoxShape : public Shape { 41 : Shape()
|
RectangleShape.h | 33 #include "core/rendering/shapes/Shape.h" 42 class RectangleShape : public Shape { 45 : Shape()
|
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...] |
BoxShapeTest.cpp | 42 PassOwnPtr<Shape> createBoxShape(const LayoutSize& size, float shapeMargin, float shapePadding) 44 return Shape::createLayoutBoxShape(size, TopToBottomWritingMode, Length(shapeMargin, Fixed), Length(shapePadding, Fixed)); 72 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)) [all...] |
PolygonShape.h | 33 #include "core/rendering/shapes/Shape.h" 82 class PolygonShape : public Shape { 86 : Shape()
|
ShapeInsideInfo.cpp | 51 case ShapeValue::Shape: 52 return shapeValue->shape() && shapeValue->shape()->type() != BasicShape::BasicShapeInsetRectangleType; 89 const Shape* shape = computedShape(); local 90 if (!shape || m_lineHeight <= 0 || logicalLineTop() > shapeLogicalBottom()) 94 if (shape->firstIncludedIntervalLogicalTop(m_shapeLineTop, LayoutSize(minSegmentWidth, m_lineHeight), newLineTop)) {
|
RasterShape.h | 33 #include "core/rendering/shapes/Shape.h" 87 class RasterShape : public Shape { 91 : Shape()
|
ShapeOutsideInfo.cpp | 45 case ShapeValue::Shape: 46 return shapeValue->shape(); 82 // Lines that do not overlap the shape should act as if the float
|
/external/chromium_org/third_party/WebKit/Source/core/animation/ |
AnimatableShapeValue.cpp | 40 if (m_shape->type() != ShapeValue::Shape || shapeValue->m_shape->type() != ShapeValue::Shape) 43 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);
|
/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/html/ |
HTMLAreaElement.h | 61 enum Shape { Default, Poly, Rect, Circle, Unknown }; 68 Shape m_shape;
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/style/ |
ShapeValue.h | 45 Shape, 51 static PassRefPtr<ShapeValue> createShapeValue(PassRefPtr<BasicShape> shape) 53 return adoptRef(new ShapeValue(shape)); 72 BasicShape* shape() const { return m_shape.get(); } function in class:WebCore::ShapeValue 88 ShapeValue(PassRefPtr<BasicShape> shape) 89 : m_type(Shape) 90 , m_shape(shape)
|
/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...] |
/frameworks/base/graphics/java/android/graphics/drawable/ |
ShapeDrawable.java | 20 import android.graphics.drawable.shapes.Shape; 32 * A ShapeDrawable takes a {@link android.graphics.drawable.shapes.Shape} 33 * object and manages its presence on the screen. If no Shape is given, then 37 * <p>This object can be defined in an XML file with the <code><shape></code> element.</p> 42 * <a href="{@docRoot}guide/topics/graphics/2d-graphics.html#shape-drawable"> 45 * <a href="{@docRoot}guide/topics/resources/drawable-resource.html#Shape">Drawable Resources</a> 68 * Creates a ShapeDrawable with a specified Shape. 70 * @param s the Shape that this ShapeDrawable should be 72 public ShapeDrawable(Shape s) { 83 * Returns the Shape of this ShapeDrawable [all...] |