Home
last modified time | relevance | path

Searched refs:shape (Results 1 – 20 of 20) sorted by relevance

/frameworks/base/libs/hwui/
DPathCache.cpp69 memset(&shape, 0, sizeof(Shape)); in PathDescription()
81 memset(&shape, 0, sizeof(Shape)); in PathDescription()
92 hash = JenkinsHashMixBytes(hash, (uint8_t*) &shape, sizeof(Shape)); in hash()
108 return compareWidthHeight(shape.rect, rhs.shape.rect); in operator ==()
110 return compareRoundRects(shape.roundRect, rhs.shape.roundRect); in operator ==()
112 return shape.circle.mRadius == rhs.shape.circle.mRadius; in operator ==()
114 return compareWidthHeight(shape.oval, rhs.shape.oval); in operator ==()
116 return compareArcs(shape.arc, rhs.shape.arc); in operator ==()
118 return shape.path.mGenerationID == rhs.shape.path.mGenerationID; in operator ==()
352 if (key.type == ShapeType::Path && key.shape.path.mGenerationID == generationID) { in clearGarbage()
[all …]
DTessellationCache.cpp45 memset(&shape, 0, sizeof(Shape)); in Description()
56 memset(&shape, 0, sizeof(Shape)); in Description()
68 const Shape::RoundRect& lRect = shape.roundRect; in operator ==()
69 const Shape::RoundRect& rRect = rhs.shape.roundRect; in operator ==()
85 hash = JenkinsHashMixBytes(hash, (uint8_t*) &shape, sizeof(Shape)); in hash()
423 SkRect rect = SkRect::MakeWH(description.shape.roundRect.width, in tessellateRoundRect()
424 description.shape.roundRect.height); in tessellateRoundRect()
425 float rx = description.shape.roundRect.rx; in tessellateRoundRect()
426 float ry = description.shape.roundRect.ry; in tessellateRoundRect()
442 entry.shape.roundRect.width = width; in getRoundRectBuffer()
[all …]
DTessellationCache.h74 } shape; member
DPathCache.h165 } shape; member
/frameworks/base/graphics/java/android/graphics/drawable/shapes/
DRoundRectShape.java132 final RoundRectShape shape = (RoundRectShape) super.clone(); in clone() local
133 shape.mOuterRadii = mOuterRadii != null ? mOuterRadii.clone() : null; in clone()
134 shape.mInnerRadii = mInnerRadii != null ? mInnerRadii.clone() : null; in clone()
135 shape.mInset = new RectF(mInset); in clone()
136 shape.mInnerRect = new RectF(mInnerRect); in clone()
137 shape.mPath = new Path(mPath); in clone()
138 return shape; in clone()
DPathShape.java73 final PathShape shape = (PathShape) super.clone(); in clone() local
74 shape.mPath = new Path(mPath); in clone()
75 return shape; in clone()
DRectShape.java62 final RectShape shape = (RectShape) super.clone(); in clone() local
63 shape.mRect = new RectF(mRect); in clone()
64 return shape; in clone()
/frameworks/base/graphics/java/android/graphics/
DPathDashPathEffect.java42 public PathDashPathEffect(Path shape, float advance, float phase, in PathDashPathEffect() argument
44 native_instance = nativeCreate(shape.readOnlyNI(), advance, phase, in PathDashPathEffect()
/frameworks/base/core/jni/android/graphics/
DPathEffect.cpp52 const SkPath* shape = reinterpret_cast<SkPath*>(shapeHandle); in OneD_constructor() local
53 SkASSERT(shape != NULL); in OneD_constructor()
54 SkPathEffect* effect = SkPath1DPathEffect::Make(*shape, advance, phase, in OneD_constructor()
/frameworks/base/libs/hwui/tests/microbench/
DShadowBench.cpp73 const SkPath& shape, VertexBuffer* ambient, VertexBuffer* spot) { in tessellateShadows() argument
75 opaque, &shape, &testData.casterTransformXY, in tessellateShadows()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DGcSnapshot.java198 public void clip(Shape shape) { in clip() argument
199 mGraphics.clip(shape); in clip()
486 public boolean clip(Shape shape, int regionOp) { in clip() argument
492 layer.clip(shape); in clip()
502 area = new Area(shape); in clip()
504 area = Region_Delegate.combineShapes(getClip(), shape, regionOp); in clip()
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DBaseCanvas_Delegate.java326 Shape shape = pathDelegate.getJavaShape(); in nDrawPath()
327 Rectangle2D bounds = shape.getBounds2D(); in nDrawPath()
356 graphics.fill(shape); in nDrawPath()
361 graphics.draw(shape); in nDrawPath()
DPath_Delegate.java82 public void setJavaShape(Shape shape) { in setJavaShape() argument
84 mPath.append(shape, false /*connect*/); in setJavaShape()
/frameworks/rs/script_api/
Drs_allocation_create.spec85 summary: Creates an rs_type object with the specified Element and shape attributes
87 Creates an rs_type object with the specified Element and shape attributes.
/frameworks/base/graphics/java/android/graphics/drawable/
DShapeDrawable.java225 protected void onDraw(Shape shape, Canvas canvas, Paint paint) { in onDraw() argument
226 shape.draw(canvas, paint); in onDraw()
DGradientDrawable.java427 public void setShape(@Shape int shape) { in setShape() argument
430 mGradientState.setShape(shape); in setShape()
2011 public void setShape(@Shape int shape) {
2012 mShape = shape;
/frameworks/rs/script_api/include/
Drs_allocation_create.rsh79 * rsCreateType: Creates an rs_type object with the specified Element and shape attributes
81 * Creates an rs_type object with the specified Element and shape attributes.
/frameworks/base/api/
Dcurrent.txt1165 field public static final int shape = 16843162; // 0x101019a
51996 method public void shape(char[], int, int);
51997 method public void shape(char[], int, int, int);
51998 method public void shape(char[], int, int, java.awt.font.NumericShaper.Range);
Dsystem-current.txt1292 field public static final int shape = 16843162; // 0x101019a
55904 method public void shape(char[], int, int);
55905 method public void shape(char[], int, int, int);
55906 method public void shape(char[], int, int, java.awt.font.NumericShaper.Range);
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt1089 field public static final int shape = 16843162; // 0x101019a
39538 method public void shape(char[], int, int, int);
39539 method public void shape(char[], int, int);