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.ni(), advance, phase,
/frameworks/base/core/jni/android/graphics/
H A DPathEffect.cpp50 const SkPath* shape = reinterpret_cast<SkPath*>(shapeHandle); local
51 SkASSERT(shape != NULL);
52 SkPathEffect* effect = SkPath1DPathEffect::Create(*shape, advance, phase,
/frameworks/base/libs/hwui/
H A DTessellationCache.h69 } shape; member in struct:android::uirenderer::TessellationCache::Description
H A DPathCache.h147 } shape; member in struct:android::uirenderer::PathDescription
156 * A simple LRU shape cache. The cache has a maximum size expressed in bytes.
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/
H A DColladaParser.java166 private void getRenderable(Element shape, Transform t) { argument
167 String geoURL = shape.getAttribute("url").substring(1);
175 NodeList nl = shape.getElementsByTagName("instance_material");
205 private void updateLight(Element shape, Transform t) { argument
206 String lightURL = shape.getAttribute("url");
216 private void updateCamera(Element shape, Transform t) { argument
217 String camURL = shape.getAttribute("url");
/frameworks/base/graphics/java/android/graphics/drawable/
H A DShapeDrawable.java48 * This object can be defined in an XML file with the <code>&lt;shape></code>
54 * href="{@docRoot}guide/topics/graphics/2d-graphics.html#shape-drawable">
127 * Returns the Paint used to draw the shape.
134 * Sets padding for the shape.
154 * Sets padding for this shape, defined by a Rect object. Define the padding
170 * Sets the intrinsic (default) width for this shape.
180 * Sets the intrinsic (default) height for this shape.
216 * draw the shape at (0,0). Subclasses can override for special effects such
219 protected void onDraw(Shape shape, Canvas canvas, Paint paint) { argument
220 shape
[all...]
H A DGradientDrawable.java53 * <p>It can be defined in an XML file with the <code>&lt;shape></code> element. For more
202 * is honored only when the shape is of type {@link #RECTANGLE}.</p>
223 * is honored only when the shape is of type {@link #RECTANGLE}.</p>
228 * @param radius The radius in pixels of the corners of the rectangle shape
341 * <p>Sets the size of the shape drawn by this drawable.</p>
346 * @param width The width of the shape used by this drawable
347 * @param height The height of the shape used by this drawable
359 * <p>Sets the type of shape used to draw the gradient.</p>
364 * @param shape The desired shape fo
369 setShape(int shape) argument
1657 setShape(int shape) argument
[all...]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DGcSnapshot.java180 * @param clipShape the shape to use a the clip shape.
183 // because setClip is only guaranteed to work with rectangle shape,
191 * Clips the layer with the given shape. This performs an intersect between the current
192 * clip shape and the given shape.
193 * @param shape the new clip shape.
195 public void clip(Shape shape) { argument
196 mGraphics.clip(shape);
483 clip(Shape shape, int regionOp) argument
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DPath_Delegate.java74 public void setJavaShape(Shape shape) { argument
76 mPath.append(shape, false /*connect*/);
718 * @param left The left of oval defining shape and size of the arc
719 * @param top The top of oval defining shape and size of the arc
720 * @param right The right of oval defining shape and size of the arc
721 * @param bottom The bottom of oval defining shape and size of the arc

Completed in 280 milliseconds