/external/clang/test/PCH/ |
enum.h | 9 enum Shape { 16 enum Shape aRoundShape = Circle;
|
enum.c | 15 enum Shape s = Triangle;
|
/external/webkit/Source/WebKit2/Platform/ |
Region.h | 67 class Shape { 69 Shape(); 70 Shape(const WebCore::IntRect&); 83 static Shape unionShapes(const Shape& shape1, const Shape& shape2); 84 static Shape intersectShapes(const Shape& shape1, const Shape& shape2); 85 static Shape subtractShapes(const Shape& shape1, const Shape& shape2) [all...] |
Region.cpp | 29 // A region class based on the paper "Scanline Coherent Shape Algebra" 53 for (Shape::SpanIterator span = m_shape.spans_begin(), end = m_shape.spans_end(); span != end && span + 1 != end; ++span) { 57 for (Shape::SegmentIterator segment = m_shape.segments_begin(span), end = m_shape.segments_end(span); segment != end && segment + 1 != end; segment += 2) { 68 Region::Shape::Shape() 72 Region::Shape::Shape(const IntRect& rect) 80 void Region::Shape::appendSpan(int y) 85 bool Region::Shape::canCoalesce(SegmentIterator begin, SegmentIterator end) 105 void Region::Shape::appendSpan(int y, SegmentIterator begin, SegmentIterator end [all...] |
/sdk/assetstudio/tests/src/com/android/assetstudiolib/ |
NotificationIconGeneratorTest.java | 26 GraphicGenerator.Shape shape, int minSdk, String folderName, 29 options.shape = shape; 36 private void checkGraphic(String baseName, GraphicGenerator.Shape shape) throws IOException { 37 checkGraphic(baseName, shape, 1, "notification", 12); 41 checkGraphic("ic_stat_circle", GraphicGenerator.Shape.CIRCLE); 45 checkGraphic("ic_stat_square", GraphicGenerator.Shape.SQUARE); 49 checkGraphic("ic_stat_circle", GraphicGenerator.Shape.CIRCLE, 9 /* minSdk*/ [all...] |
LauncherIconGeneratorTest.java | 26 GraphicGenerator.Shape shape, GraphicGenerator.Style style, 29 options.shape = shape; 40 checkGraphic("red_simple_circle", GraphicGenerator.Shape.CIRCLE, 47 // checkGraphic("blue_glossy_square", GraphicGenerator.Shape.SQUARE,
|
/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/webkit/Source/WebCore/html/ |
HTMLAreaElement.h | 62 enum Shape { Default, Poly, Rect, Circle, Unknown }; 69 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/webkit/Source/WebCore/platform/text/mac/ |
ShapeArabic.c | 357 unsigned int Shape; 392 /* If high byte of currLink > 0 then more than one shape */ 421 * get the proper shape according to link ability of neighbors 427 Shape = shapeTable[nextLink & (LINKR + LINKL)] 432 Shape = (Shape == 1 || Shape == 3) ? 1 : 0; 438 Shape = 1; 440 Shape = 0; 443 Shape = 0 [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...] |
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
GcSnapshot.java | 38 import java.awt.Shape; 179 * @param clipShape the shape to use a the clip shape. 181 void setClip(Shape clipShape) { 182 // because setClip is only guaranteed to work with rectangle shape, 190 * Clips the layer with the given shape. This performs an intersect between the current 191 * clip shape and the given shape. 192 * @param shape the new clip shape [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
ShapeDrawable1.java | 62 public MyShapeDrawable(Shape s) { 71 @Override protected void onDraw(Shape s, Canvas c, Paint p) {
|
/frameworks/base/core/java/android/widget/ |
RatingBar.java | 22 import android.graphics.drawable.shapes.Shape; 244 Shape getDrawableShape() {
|
/sdk/assetstudio/src/com/android/assetstudiolib/ |
LauncherIconGenerator.java | 44 String shape = launcherOptions.shape.id; local 46 + shape + "/" + density + "/back.png"); 48 + shape + "/" + density + "/" + launcherOptions.style.id + ".png"); 50 + shape + "/" + density + "/mask.png"); 122 /** The shape to use for the background */ 123 public Shape shape = Shape.SQUARE; field in class:LauncherIconGenerator.LauncherOptions
|
NotificationIconGenerator.java | 68 + notificationOptions.shape.id + '/' + 141 * The shape to use for graphics behind the icon (for {@link Version#OLDER} only) 143 public Shape shape = Shape.SQUARE;
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
ShapeDrawableTest.java | 36 import android.graphics.drawable.shapes.Shape; 249 public MockShapeDrawable(Shape s) { 253 protected void onDraw(Shape shape, Canvas canvas, Paint paint) { 254 super.onDraw(shape, canvas, paint); 282 private static class MockShape extends Shape {
|
/external/webkit/PerformanceTests/SunSpider/tests/v8-v4/ |
v8-raytrace.js | 59 // flog/shape/baseshape.js 60 // flog/shape/sphere.js 61 // flog/shape/plane.js 416 if(typeof(Flog.RayTracer.Shape) == 'undefined') Flog.RayTracer.Shape = {}; 418 Flog.RayTracer.Shape.BaseShape = Class.create(); 420 Flog.RayTracer.Shape.BaseShape.prototype = { 441 if(typeof(Flog.RayTracer.Shape) == 'undefined') Flog.RayTracer.Shape = {}; 443 Flog.RayTracer.Shape.Sphere = Class.create() [all...] |
/external/webkit/PerformanceTests/SunSpider/tests/v8-v5/ |
v8-raytrace.js | 59 // flog/shape/baseshape.js 60 // flog/shape/sphere.js 61 // flog/shape/plane.js 416 if(typeof(Flog.RayTracer.Shape) == 'undefined') Flog.RayTracer.Shape = {}; 418 Flog.RayTracer.Shape.BaseShape = Class.create(); 420 Flog.RayTracer.Shape.BaseShape.prototype = { 441 if(typeof(Flog.RayTracer.Shape) == 'undefined') Flog.RayTracer.Shape = {}; 443 Flog.RayTracer.Shape.Sphere = Class.create() [all...] |
/external/proguard/src/proguard/gui/splash/ |
OverrideGraphics2D.java | 244 public void clip(Shape s) 264 public void draw(Shape s) 404 public void fill(Shape s) 449 public Shape getClip() 514 public boolean hit(Rectangle rect, Shape s, boolean onStroke) 549 public void setClip(Shape clip)
|
/external/v8/benchmarks/ |
raytrace.js | 64 // flog/shape/baseshape.js 65 // flog/shape/sphere.js 66 // flog/shape/plane.js 415 if(typeof(Flog.RayTracer.Shape) == 'undefined') Flog.RayTracer.Shape = {}; 417 Flog.RayTracer.Shape.Sphere = Class.create(); 419 Flog.RayTracer.Shape.Sphere.prototype = { 428 info.shape = this; 465 if(typeof(Flog.RayTracer.Shape) == 'undefined') Flog.RayTracer.Shape = {} [all...] |