/frameworks/base/graphics/java/android/graphics/ |
H A D | PathDashPathEffect.java | 22 TRANSLATE(0), //!< translate the shape to each position 23 ROTATE(1), //!< rotate the shape about its center 33 * Dash the drawn path by stamping it with the specified shape. This only 37 * @param shape The path to stamp along 38 * @param advance spacing between each stamp of shape 39 * @param phase amount to offset before the first shape is stamped 40 * @param style how to transform the shape at each position as it is stamped 42 public PathDashPathEffect(Path shape, float advance, float phase, argument 44 native_instance = nativeCreate(shape.ni(), advance, phase,
|
/frameworks/base/graphics/java/android/graphics/drawable/shapes/ |
H A D | PathShape.java | 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(); 71 shape.mPath = new Path(mPath); 72 return shape;
|
H A D | RectShape.java | 25 * Defines a rectangle shape. 61 final RectShape shape = (RectShape) super.clone(); 62 shape.mRect = new RectF(mRect); 63 return shape;
|
H A D | RoundRectShape.java | 27 * can be included (to make a sort of "O" shape). 131 RoundRectShape shape = (RoundRectShape) super.clone(); 132 shape.mOuterRadii = mOuterRadii != null ? mOuterRadii.clone() : null; 133 shape.mInnerRadii = mInnerRadii != null ? mInnerRadii.clone() : null; 134 shape.mInset = new RectF(mInset); 135 shape.mInnerRect = new RectF(mInnerRect); 136 shape.mPath = new Path(mPath); 137 return shape;
|
/frameworks/base/libs/hwui/ |
H A D | PathCache.cpp | 67 memset(&shape, 0, sizeof(Shape)); 79 memset(&shape, 0, sizeof(Shape)); 90 hash = JenkinsHashMixBytes(hash, (uint8_t*) &shape, sizeof(Shape)); 106 return compareWidthHeight(shape.rect, rhs.shape.rect); 108 return compareRoundRects(shape.roundRect, rhs.shape.roundRect); 110 return shape.circle.mRadius == rhs.shape.circle.mRadius; 112 return compareWidthHeight(shape [all...] |
H A D | TessellationCache.cpp | 46 memset(&shape, 0, sizeof(Shape)); 57 memset(&shape, 0, sizeof(Shape)); 69 const Shape::RoundRect& lRect = shape.roundRect; 70 const Shape::RoundRect& rRect = rhs.shape.roundRect; 86 hash = JenkinsHashMixBytes(hash, (uint8_t*) &shape, sizeof(Shape)); 145 ATRACE_NAME("shape tessellation"); 439 SkRect rect = SkRect::MakeWH(description.shape.roundRect.width, 440 description.shape.roundRect.height); 441 float rx = description.shape.roundRect.rx; 442 float ry = description.shape [all...] |
H A D | PathCache.h | 159 } shape; member in struct:android::uirenderer::PathDescription 166 * A simple LRU shape cache. The cache has a maximum size expressed in bytes.
|
H A D | TessellationCache.h | 75 } shape; member in struct:android::uirenderer::TessellationCache::Description
|
/frameworks/base/libs/hwui/tests/microbench/ |
H A D | ShadowBench.cpp | 73 const SkPath& shape, VertexBuffer* ambient, VertexBuffer* spot) { 75 opaque, &shape, &testData.casterTransformXY, 72 tessellateShadows(ShadowTestData& testData, bool opaque, const SkPath& shape, VertexBuffer* ambient, VertexBuffer* spot) argument
|
/frameworks/base/core/jni/android/graphics/ |
H A D | PathEffect.cpp | 50 const SkPath* shape = reinterpret_cast<SkPath*>(shapeHandle); local 51 SkASSERT(shape != NULL); 52 SkPathEffect* effect = SkPath1DPathEffect::Create(*shape, advance, phase,
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
H A D | GcSnapshot.java | 181 * @param clipShape the shape to use a the clip shape. 184 // because setClip is only guaranteed to work with rectangle shape, 192 * Clips the layer with the given shape. This performs an intersect between the current 193 * clip shape and the given shape. 194 * @param shape the new clip shape. 196 public void clip(Shape shape) { argument 197 mGraphics.clip(shape); 484 clip(Shape shape, int regionOp) argument [all...] |
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | ShapeDrawable.java | 49 * This object can be defined in an XML file with the <code><shape></code> 55 * href="{@docRoot}guide/topics/graphics/2d-graphics.html#shape-drawable"> 128 * Returns the Paint used to draw the shape. 135 * Sets padding for the shape. 155 * Sets padding for this shape, defined by a Rect object. Define the padding 171 * Sets the intrinsic (default) width for this shape. 181 * Sets the intrinsic (default) height for this shape. 217 * draw the shape at (0,0). Subclasses can override for special effects such 220 protected void onDraw(Shape shape, Canvas canvas, Paint paint) { argument 221 shape [all...] |
H A D | GradientDrawable.java | 62 * <p>It can be defined in an XML file with the <code><shape></code> element. For more 226 * is honored only when the shape is of type {@link #RECTANGLE}. 265 * rectangle. This property is honored only when the shape is of type 272 * @param radius The radius in pixels of the corners of the rectangle shape 290 * @return the radius in pixels of the corners of the rectangle shape, or 0 398 * <p>Sets the size of the shape drawn by this drawable.</p> 403 * @param width The width of the shape used by this drawable 404 * @param height The height of the shape used by this drawable 416 * <p>Sets the type of shape used to draw the gradient.</p> 421 * @param shape Th 426 setShape(@hape int shape) argument 1973 setShape(@hape int shape) argument [all...] |
/frameworks/rs/api/ |
H A D | rs_allocation_create.spec | 85 summary: Creates an rs_type object with the specified Element and shape attributes 87 Creates an rs_type object with the specified Element and shape attributes.
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | Path_Delegate.java | 82 public void setJavaShape(Shape shape) { argument 84 mPath.append(shape, false /*connect*/); 784 * @param left The left of oval defining shape and size of the arc 785 * @param top The top of oval defining shape and size of the arc 786 * @param right The right of oval defining shape and size of the arc 787 * @param bottom The bottom of oval defining shape and size of the arc
|
H A D | Canvas_Delegate.java | 717 Shape shape = pathDelegate.getJavaShape(); 718 Rectangle2D bounds = shape.getBounds2D(); 747 graphics.fill(shape); 752 graphics.draw(shape);
|