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

/frameworks/base/graphics/java/android/graphics/drawable/shapes/
H A DShape.java27 * Any Shape can be drawn to a Canvas with its own draw() method, but more
31 * Custom Shape classes must implement {@link #clone()} and return an instance
32 * of the custom Shape class.
34 public abstract class Shape implements Cloneable { class in inherits:Cloneable
39 * Returns the width of the Shape.
46 * Returns the height of the Shape.
85 * Checks whether the Shape is opaque.
99 * @param width the new width of the Shape
100 * @param height the new height of the Shape
115 public Shape clon
[all...]
H A DPathShape.java31 public class PathShape extends Shape {
H A DRectShape.java31 public class RectShape extends Shape {
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DGcSnapshot.java41 import java.awt.Shape;
185 void setClip(Shape clipShape) {
198 public void clip(Shape shape) {
322 Shape currentClip = baseLayer.getGraphics().getClip();
486 public boolean clip(Shape shape, int regionOp) {
495 Shape currentClip = getClip();
516 Shape currentClip = getClip();
536 public Shape getClip() {
720 Shape clip = getClip();
/frameworks/base/graphics/java/android/graphics/drawable/
H A DShapeDrawable.java38 import android.graphics.drawable.shapes.Shape;
50 * {@link android.graphics.drawable.shapes.Shape} object and manages its
51 * presence on the screen. If no Shape is given, then the ShapeDrawable will
63 * <a href="{@docRoot}guide/topics/resources/drawable-resource.html#Shape">
89 * Creates a ShapeDrawable with a specified Shape.
91 * @param s the Shape that this ShapeDrawable should be
93 public ShapeDrawable(Shape s) {
100 * Returns the Shape of this ShapeDrawable.
102 public Shape getShape() {
107 * 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
427 public void setShape(@Shape int shape) {
441 @Shape
1777 public @Shape int mShape = RECTANGLE;
2011 public void setShape(@Shape int shape) {
/frameworks/base/core/java/android/widget/
H A DRatingBar.java22 import android.graphics.drawable.shapes.Shape;
251 Shape getDrawableShape() {
H A DProgressBar.java38 import android.graphics.drawable.shapes.Shape;
489 Shape getDrawableShape() {
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DAppCompatProgressBarHelper.java29 import android.graphics.drawable.shapes.Shape;
138 private Shape getDrawableShape() {
/frameworks/base/libs/hwui/
H A DPathCache.cpp46 static bool compareRoundRects(const PathDescription::Shape::RoundRect& lhs,
47 const PathDescription::Shape::RoundRect& rhs) {
51 static bool compareArcs(const PathDescription::Shape::Arc& lhs, const PathDescription::Shape::Arc& rhs) {
68 // Shape bits should be set to zeroes, because they are used for hash calculation.
69 memset(&shape, 0, sizeof(Shape));
80 // Shape bits should be set to zeroes, because they are used for hash calculation.
81 memset(&shape, 0, sizeof(Shape));
92 hash = JenkinsHashMixBytes(hash, (uint8_t*) &shape, sizeof(Shape));
157 ALOGW("Shape to
[all...]
H A DTessellationCache.cpp44 // Shape bits should be set to zeroes, because they are used for hash calculation.
45 memset(&shape, 0, sizeof(Shape));
55 // Shape bits should be set to zeroes, because they are used for hash calculation.
56 memset(&shape, 0, sizeof(Shape));
68 const Shape::RoundRect& lRect = shape.roundRect;
69 const Shape::RoundRect& rRect = rhs.shape.roundRect;
85 hash = JenkinsHashMixBytes(hash, (uint8_t*) &shape, sizeof(Shape));
H A DPathCache.h137 union Shape { union in struct:android::uirenderer::PathDescription
H A DTessellationCache.h67 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 DPaint_Delegate.java33 import java.awt.Shape;
792 Shape strokeShape = stroke.createStrokedShape(srcPath.getJavaShape());
H A DBaseCanvas_Delegate.java326 Shape shape = pathDelegate.getJavaShape();
/frameworks/base/
H A Dpreloaded-classes1127 android.graphics.drawable.shapes.Shape
H A Dcompiled-classes-phone1468 android.graphics.drawable.shapes.Shape

Completed in 7805 milliseconds