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

/frameworks/base/graphics/java/android/graphics/drawable/shapes/
H A DShape.java26 * Any Shape can be drawn to a Canvas with its own draw() method,
30 public abstract class Shape implements Cloneable { class in inherits:Cloneable
35 * Returns the width of the Shape.
42 * 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
105 public Shape clone() throws CloneNotSupportedException {
106 return (Shape) super.clone();
H A DPathShape.java29 public class PathShape extends Shape {
H A DRectShape.java30 public class RectShape extends Shape {
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DGcSnapshot.java40 import java.awt.Shape;
183 void setClip(Shape clipShape) {
196 public void clip(Shape shape) {
320 Shape currentClip = baseLayer.getGraphics().getClip();
484 public boolean clip(Shape shape, int regionOp) {
493 Shape currentClip = getClip();
514 Shape currentClip = getClip();
534 public Shape getClip() {
717 Shape clip = getClip();
/frameworks/base/graphics/java/android/graphics/drawable/
H A DShapeDrawable.java33 import android.graphics.drawable.shapes.Shape;
45 * {@link android.graphics.drawable.shapes.Shape} object and manages its
46 * presence on the screen. If no Shape is given, then the ShapeDrawable will
58 * <a href="{@docRoot}guide/topics/resources/drawable-resource.html#Shape">
84 * Creates a ShapeDrawable with a specified Shape.
86 * @param s the Shape that this ShapeDrawable should be
88 public ShapeDrawable(Shape s) {
95 * Returns the Shape of this ShapeDrawable.
97 public Shape getShape() {
102 * Sets the Shape o
[all...]
H A DGradientDrawable.java96 * Shape is a rectangle, possibly with rounded corners
101 * Shape is an ellipse
106 * Shape is a line
111 * Shape is a ring.
118 public @interface Shape {} interface in class:GradientDrawable
426 public void setShape(@Shape int shape) {
440 @Shape
1739 public @Shape int mShape = RECTANGLE;
1973 public void setShape(@Shape int shape) {
/frameworks/base/core/java/android/widget/
H A DRatingBar.java22 import android.graphics.drawable.shapes.Shape;
246 Shape getDrawableShape() {
H A DProgressBar.java39 import android.graphics.drawable.shapes.Shape;
527 Shape getDrawableShape() {
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DAppCompatProgressBarHelper.java29 import android.graphics.drawable.shapes.Shape;
140 private Shape getDrawableShape() {
/frameworks/base/libs/hwui/
H A DPathCache.cpp44 static bool compareRoundRects(const PathDescription::Shape::RoundRect& lhs,
45 const PathDescription::Shape::RoundRect& rhs) {
49 static bool compareArcs(const PathDescription::Shape::Arc& lhs, const PathDescription::Shape::Arc& rhs) {
66 // Shape bits should be set to zeroes, because they are used for hash calculation.
67 memset(&shape, 0, sizeof(Shape));
78 // Shape bits should be set to zeroes, because they are used for hash calculation.
79 memset(&shape, 0, sizeof(Shape));
90 hash = JenkinsHashMixBytes(hash, (uint8_t*) &shape, sizeof(Shape));
246 ALOGD("Shape delete
[all...]
H A DTessellationCache.cpp45 // Shape bits should be set to zeroes, because they are used for hash calculation.
46 memset(&shape, 0, sizeof(Shape));
56 // Shape bits should be set to zeroes, because they are used for hash calculation.
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));
H A DPathCache.h131 union Shape { union in struct:android::uirenderer::PathDescription
262 ALOGW("Shape too large to be rendered into a texture (%dx%d, max=%dx%d)",
H A DTessellationCache.h68 union Shape { union in struct:android::uirenderer::TessellationCache::Description
/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.java28 import java.awt.Shape;
82 public void setJavaShape(Shape shape) {
H A DCanvas_Delegate.java36 import java.awt.Shape;
717 Shape shape = pathDelegate.getJavaShape();
H A DPaint_Delegate.java33 import java.awt.Shape;
803 Shape strokeShape = stroke.createStrokedShape(srcPath.getJavaShape());
/frameworks/base/
H A Dcompiled-classes-phone1367 android.graphics.drawable.shapes.Shape

Completed in 325 milliseconds