Searched defs:shape (Results 1 - 7 of 7) 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.cpp43 const SkPath* shape, float advance, float phase, int style) {
44 SkASSERT(shape != NULL);
45 return new SkPath1DPathEffect(*shape, SkFloatToScalar(advance),
42 OneD_constructor(JNIEnv* env, jobject, const SkPath* shape, float advance, float phase, int style) argument
/frameworks/base/graphics/java/android/graphics/drawable/
H A DShapeDrawable.java37 * <p>This object can be defined in an XML file with the <code>&lt;shape></code> element.</p>
42 * <a href="{@docRoot}guide/topics/graphics/2d-graphics.html#shape-drawable">
116 * Returns the Paint used to draw the shape.
123 * Sets padding for the shape.
143 * Sets padding for this shape, defined by a Rect object.
159 * Sets the intrinsic (default) width for this shape.
169 * Sets the intrinsic (default) height for this shape.
205 * to draw the shape at (0,0). Subclasses can override for special effects
208 protected void onDraw(Shape shape, Canvas canvas, Paint paint) { argument
209 shape
[all...]
H A DGradientDrawable.java45 * <p>It can be defined in an XML file with the <code>&lt;shape></code> element. For more
228 public void setShape(int shape) { argument
231 mGradientState.setShape(shape);
844 Log.w("drawable", "Bad element under <shape>: " + name);
977 public void setShape(int shape) { argument
978 mShape = shape;
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DGcSnapshot.java179 * @param clipShape the shape to use a the clip shape.
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.
194 public void clip(Shape shape) { argument
195 mGraphics.clip(shape);
482 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*/);
704 * @param oval The bounds of oval defining shape and size of the arc
/frameworks/base/icu4j/java/android/icu/text/
H A DArabicShaping.java39 * Unicode that are rendered as letters with a specific shape
97 public int shape(char[] source, int sourceStart, int sourceLength, method in class:ArabicShaping
154 public void shape(char[] source, int start, int length) throws ArabicShapingException { method in class:ArabicShaping
156 throw new ArabicShapingException("Cannot shape in place with length option resize.");
158 shape(source, start, length, source, start, length);
169 public String shape(String text) throws ArabicShapingException { method in class:ArabicShaping
177 int len = shape(src, 0, src.length, dest, 0, dest.length);
318 * TAIL (i.e. 0xFE73) or the old unofficial Unicode TAIL code point (i.e. 0x200B) and de-shape the
464 * the isolated forms rather than to their correct shape.
602 case LETTERS_SHAPE: buf.append(", shape letter
[all...]

Completed in 1551 milliseconds