Home
last modified time | relevance | path

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

12

/frameworks/av/services/camera/libcameraservice/tests/
DDistortionMapperComp.py36 f.write('std::array<int32_t, %d> rawCoords = {\n' % (rawCoords.shape[0] * rawCoords.shape[1]))
37 for i in range(rawCoords.shape[0]):
41 f.write('std::array<int32_t, %d> expCoords = {\n' % (expCoords.shape[0] * expCoords.shape[2]))
42 for i in range(expCoords.shape[0]):
/frameworks/base/graphics/java/android/graphics/drawable/shapes/
DRoundRectShape.java135 final RoundRectShape shape = (RoundRectShape) super.clone(); in clone() local
136 shape.mOuterRadii = mOuterRadii != null ? mOuterRadii.clone() : null; in clone()
137 shape.mInnerRadii = mInnerRadii != null ? mInnerRadii.clone() : null; in clone()
138 shape.mInset = new RectF(mInset); in clone()
139 shape.mInnerRect = new RectF(mInnerRect); in clone()
140 shape.mPath = new Path(mPath); in clone()
141 return shape; in clone()
DShape.java129 Shape shape = (Shape) o; in equals() local
130 return Float.compare(shape.mWidth, mWidth) == 0 in equals()
131 && Float.compare(shape.mHeight, mHeight) == 0; in equals()
DRectShape.java64 final RectShape shape = (RectShape) super.clone(); in clone() local
65 shape.mRect = new RectF(mRect); in clone()
66 return shape; in clone()
DPathShape.java75 final PathShape shape = (PathShape) super.clone(); in clone() local
76 shape.mPath = new Path(mPath); in clone()
77 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/libs/hwui/jni/
DPathEffect.cpp49 const SkPath* shape = reinterpret_cast<SkPath*>(shapeHandle); in OneD_constructor() local
50 SkASSERT(shape != NULL); in OneD_constructor()
51 SkPathEffect* effect = SkPath1DPathEffect::Make(*shape, advance, phase, in OneD_constructor()
/frameworks/base/startop/scripts/app_startup/
Danalyze_metrics.py169 for col in range(np_data_2d.shape[1]):
283 a_len = a.shape[axis]
291 a_len = a.shape[axis]
292 b_len = b.shape[axis]
323 dof = a.shape[axis] + b.shape[axis] - 2
/frameworks/base/core/java/android/widget/
DSmartSelectSprite.java317 for (final RoundedRectangleShape shape : rectangles) { in generateOutlinePolygonPath()
319 rectanglePath.addRect(shape.mBoundingRectangle, Path.Direction.CW); in generateOutlinePolygonPath()
397 final RoundedRectangleShape shape = new RoundedRectangleShape( in startAnimation() local
402 shapes.add(shape); in startAnimation()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DGcSnapshot.java203 public void clip(Shape shape) { in clip() argument
204 mGraphics.clip(shape); in clip()
490 public boolean clip(Shape shape, int regionOp) { in clip() argument
496 layer.clip(shape); in clip()
506 area = new Area(shape); in clip()
508 area = Region_Delegate.combineShapes(getClip(), shape, regionOp); in clip()
/frameworks/base/core/java/android/text/
DTextShaper.java227 tl.shape(consumer); in shapeText()
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/
DPeopleSpaceActivity.java93 GradientDrawable shape = (GradientDrawable) item.getBackground(); in buildActivity() local
96 shape.setColor(ta.getColor(0, Color.WHITE)); in buildActivity()
/frameworks/base/packages/SystemUI/docs/
Dclock-plugins.md21 (clock movement) scheme and shape of the clock.
91 action should be taken to change the shape of the clock face or increase the
/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/layoutlib/bridge/src/android/graphics/
DBaseCanvas_Delegate.java383 Shape shape = pathDelegate.getJavaShape(); in nDrawPath()
384 Rectangle2D bounds = shape.getBounds2D(); in nDrawPath()
413 graphics.fill(shape); in nDrawPath()
418 graphics.draw(shape); in nDrawPath()
DPath_Delegate.java86 public void setJavaShape(Shape shape) { in setJavaShape() argument
88 mPath.append(shape, false /*connect*/); in setJavaShape()
/frameworks/base/graphics/java/android/graphics/drawable/
DShapeDrawable.java224 protected void onDraw(Shape shape, Canvas canvas, Paint paint) { in onDraw() argument
225 shape.draw(canvas, paint); in onDraw()
DGradientDrawable.java452 public void setShape(@Shape int shape) { in setShape() argument
455 mGradientState.setShape(shape); in setShape()
2229 public void setShape(@Shape int shape) {
2230 mShape = shape;
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
Dthreshold_half.rscript47 // the gaussian curve begins to lose its shape
Dthreshold.rscript47 // the gaussian curve begins to lose its shape
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/
Dthreshold.rscript47 // the gaussian curve begins to lose its shape
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
Dthreshold.rscript47 // the gaussian curve begins to lose its shape
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
Dsingle_source_alloc.rscript341 // shape attributes
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
Dsingle_source_alloc.rscript343 // shape attributes
/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.

12