Searched refs:Shape (Results 1 - 14 of 14) sorted by relevance

/frameworks/base/graphics/java/android/graphics/drawable/shapes/
H A DShape.java24 * Any Shape can be drawn to a Canvas with its own draw() method,
28 public abstract class Shape implements Cloneable { class in inherits:Cloneable
33 * Returns the width of the Shape.
40 * Returns the height of the Shape.
79 * Checks whether the Shape is opaque.
91 * @param width the new width of the Shape
92 * @param height the new height of the Shape
97 public Shape clone() throws CloneNotSupportedException {
98 return (Shape) super.clone();
H A DRectShape.java29 public class RectShape extends Shape {
H A DPathShape.java29 public class PathShape extends Shape {
/frameworks/base/graphics/java/android/graphics/drawable/
H A DShapeDrawable.java20 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
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.
85 public Shape getShape() {
90 * Sets the Shape o
[all...]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DGcSnapshot.java38 import java.awt.Shape;
181 void setClip(Shape clipShape) {
194 public void clip(Shape shape) {
318 Shape currentClip = baseLayer.getGraphics().getClip();
482 public boolean clip(Shape shape, int regionOp) {
491 Shape currentClip = getClip();
512 Shape currentClip = getClip();
532 public Shape getClip() {
651 Shape clip = getClip();
/frameworks/base/core/java/android/widget/
H A DRatingBar.java22 import android.graphics.drawable.shapes.Shape;
244 Shape getDrawableShape() {
H A DProgressBar.java37 import android.graphics.drawable.shapes.Shape;
366 Shape getDrawableShape() {
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DRegion_Delegate.java27 import java.awt.Shape;
69 * Combines two {@link Shape} into another one (actually an {@link Area}), according
79 public static Area combineShapes(Shape shape1, Shape shape2, int regionOp) {
H A DPath_Delegate.java27 import java.awt.Shape;
70 public Shape getJavaShape() {
74 public void setJavaShape(Shape shape) {
H A DPaint_Delegate.java30 import java.awt.Shape;
772 Shape strokeShape = stroke.createStrokedShape(srcPath.getJavaShape());
H A DCanvas_Delegate.java33 import java.awt.Shape;
800 Shape shape = pathDelegate.getJavaShape();
/frameworks/base/libs/hwui/
H A DPathCache.cpp51 memset(&shape, 0, sizeof(Shape));
62 memset(&shape, 0, sizeof(Shape));
73 hash = JenkinsHashMixBytes(hash, (uint8_t*) &shape, sizeof(Shape));
237 ALOGD("Shape deleted, size = %d", size);
295 ALOGD("Shape created, size = %d", size);
H A DPathCache.h117 union Shape { union in struct:android::uirenderer::PathDescription
284 ALOGW("Shape too large to be rendered into a texture (%dx%d, max=%dx%d)",
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
H A DProgressBarICS.java35 import android.graphics.drawable.shapes.Shape;
201 Shape getDrawableShape() {

Completed in 392 milliseconds