Searched defs:shape (Results 1 - 9 of 9) sorted by relevance

/frameworks/base/graphics/java/android/graphics/
H A DPathDashPathEffect.java22 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.readOnlyNI(), advance, phase,
/frameworks/base/libs/hwui/tests/microbench/
H A DShadowBench.cpp73 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 DPathEffect.cpp52 const SkPath* shape = reinterpret_cast<SkPath*>(shapeHandle); local
53 SkASSERT(shape != NULL);
54 SkPathEffect* effect = SkPath1DPathEffect::Make(*shape, advance, phase,
/frameworks/base/libs/hwui/
H A DTessellationCache.h74 } shape; member in struct:android::uirenderer::TessellationCache::Description
H A DPathCache.h165 } shape; member in struct:android::uirenderer::PathDescription
172 * A simple LRU shape cache. The cache has a maximum size expressed in bytes.
/frameworks/base/graphics/java/android/graphics/drawable/
H A DShapeDrawable.java54 * This object can be defined in an XML file with the <code>&lt;shape></code>
60 * href="{@docRoot}guide/topics/graphics/2d-graphics.html#shape-drawable">
133 * Returns the Paint used to draw the shape.
140 * Sets padding for the shape.
160 * Sets padding for this shape, defined by a Rect object. Define the padding
176 * Sets the intrinsic (default) width for this shape.
186 * Sets the intrinsic (default) height for this shape.
222 * draw the shape at (0,0). Subclasses can override for special effects such
225 protected void onDraw(Shape shape, Canvas canvas, Paint paint) { argument
226 shape
[all...]
H A DGradientDrawable.java62 * <p>It can be defined in an XML file with the <code>&lt;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
291 * @return the radius in pixels of the corners of the rectangle shape, or 0
399 * <p>Sets the size of the shape drawn by this drawable.</p>
404 * @param width The width of the shape used by this drawable
405 * @param height The height of the shape used by this drawable
417 * <p>Sets the type of shape used to draw the gradient.</p>
422 * @param shape Th
427 setShape(@hape int shape) argument
2011 setShape(@hape int shape) argument
[all...]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DGcSnapshot.java183 * @param clipShape the shape to use a the clip shape.
186 // because setClip is only guaranteed to work with rectangle shape,
194 * Clips the layer with the given shape. This performs an intersect between the current
195 * clip shape and the given shape.
196 * @param shape the new clip shape.
198 public void clip(Shape shape) { argument
199 mGraphics.clip(shape);
486 clip(Shape shape, int regionOp) argument
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DPath_Delegate.java82 public void setJavaShape(Shape shape) { argument
84 mPath.append(shape, false /*connect*/);
787 * @param left The left of oval defining shape and size of the arc
788 * @param top The top of oval defining shape and size of the arc
789 * @param right The right of oval defining shape and size of the arc
790 * @param bottom The bottom of oval defining shape and size of the arc

Completed in 535 milliseconds