/frameworks/base/core/jni/android/graphics/ |
D | Path.cpp | 40 SkPath* obj = reinterpret_cast<SkPath*>(objHandle); in finalizer() 49 return reinterpret_cast<jlong>(new SkPath()); in init1() 53 SkPath* val = reinterpret_cast<SkPath*>(valHandle); in init2() 54 return reinterpret_cast<jlong>(new SkPath(*val)); in init2() 58 SkPath* obj = reinterpret_cast<SkPath*>(objHandle); in reset() 63 SkPath* obj = reinterpret_cast<SkPath*>(objHandle); in rewind() 68 SkPath* dst = reinterpret_cast<SkPath*>(dstHandle); in assign() 69 const SkPath* src = reinterpret_cast<SkPath*>(srcHandle); in assign() 74 SkPath* obj = reinterpret_cast<SkPath*>(objHandle); in isConvex() 79 SkPath* obj = reinterpret_cast<SkPath*>(objHandle); in getFillType() [all …]
|
D | PathMeasure.cpp | 43 PathMeasurePair(const SkPath& path, bool forceClosed) in PathMeasurePair() 46 SkPath fPath; // copy of the user's path 57 const SkPath* path = reinterpret_cast<SkPath*>(pathHandle); in create() 70 const SkPath* path = reinterpret_cast<SkPath*>(pathHandle); in setPath() 123 SkPath* dst = reinterpret_cast<SkPath*>(dstHandle); in getSegment()
|
/frameworks/base/libs/hwui/tests/unit/ |
D | VectorDrawableTests.cpp | 32 const std::function<void(SkPath*)> skPathLamda; 48 [](SkPath* outPath) { in __anonf8ea878d0102() 69 [](SkPath* outPath) { in __anonf8ea878d0202() 111 [](SkPath* outPath) { in __anonf8ea878d0302() 146 [](SkPath* outPath) { in __anonf8ea878d0402() 173 [](SkPath* outPath) { in __anonf8ea878d0502() 203 [](SkPath* outPath) { in __anonf8ea878d0602() 223 [](SkPath* outPath) {} in __anonf8ea878d0702() 261 SkPath skPath; in TEST() 270 SkPath expectedPath; in TEST() [all …]
|
D | ClipAreaTests.cpp | 95 SkPath path; in TEST() 158 SkPath circlePath; in TEST() 178 SkPath circlePath; in TEST() 233 SkPath circlePath; in TEST() 237 SkPath ovalPath; in TEST()
|
/frameworks/base/libs/hwui/ |
D | PathCache.h | 201 PathTexture* get(const SkPath* path, const SkPaint* paint); 202 void remove(const SkPath* path, const SkPaint* paint); 208 ANDROID_API void removeDeferred(const SkPath* path); 228 void precache(const SkPath* path, const SkPaint* paint); 230 static bool canDrawAsConvexPath(SkPath* path, const SkPaint* paint); 231 static void computePathBounds(const SkPath* path, const SkPaint* paint, 238 const SkPath *path, const SkPaint* paint); 273 PathTask(const SkPath* path, const SkPaint* paint, PathTexture* texture): in PathTask() 282 const SkPath path;
|
D | TessellationCache.h | 84 const SkPath* nodeKey; 88 ShadowDescription(const SkPath* nodeKey, const Matrix4* drawTransform); 94 … const SkPath* casterPerimeter, const Matrix4* transformXY, const Matrix4* transformZ, in ShadowTask() 116 const SkPath casterPerimeter; 166 bool opaque, const SkPath* casterPerimeter, 170 bool opaque, const SkPath* casterPerimeter, 176 bool opaque, const SkPath* casterPerimeter, 228 bool isCasterOpaque, const SkPath* casterPerimeter,
|
D | PathCache.cpp | 124 bool PathCache::canDrawAsConvexPath(SkPath* path, const SkPaint* paint) { in canDrawAsConvexPath() 126 return paint->getPathEffect() == nullptr && path->getConvexity() == SkPath::kConvex_Convexity; in canDrawAsConvexPath() 129 void PathCache::computePathBounds(const SkPath* path, const SkPaint* paint, in computePathBounds() 166 static void drawPath(const SkPath *path, const SkPaint* paint, SkBitmap& bitmap, in drawPath() 270 PathTexture* PathCache::addTexture(const PathDescription& entry, const SkPath *path, in addTexture() 355 void PathCache::removeDeferred(const SkPath* path) { in removeDeferred() 382 PathTexture* PathCache::get(const SkPath* path, const SkPaint* paint) { in get() 413 void PathCache::remove(const SkPath* path, const SkPaint* paint) { in remove() 419 void PathCache::precache(const SkPath* path, const SkPaint* paint) { in precache() 472 SkPath path; in getRoundRect() [all …]
|
D | PathTessellator.h | 28 class SkPath; variable 77 static void tessellatePath(const SkPath& path, const SkPaint* paint, 115 static bool approximatePathOutlineVertices(const SkPath &path, float threshold, 119 static bool approximatePathOutlineVertices(const SkPath &path, bool forceClose,
|
D | OpenGLRenderer.h | 163 const SkPaint* paint, int flags, const SkPath* convexMask); 191 void drawPath(const SkPath* path, const SkPaint* paint); 194 void drawTextOnPath(const glyph_t* glyphs, int bytesCount, int count, const SkPath* path, 320 bool clipPath(const SkPath* path, SkRegion::Op op); 332 void setProjectionPathMask(LinearAllocator& allocator, const SkPath* path); 344 SkPath* allocPathForFrame() { in allocPathForFrame() 345 std::unique_ptr<SkPath> path(new SkPath()); in allocPathForFrame() 346 SkPath* returnPath = path.get(); in allocPathForFrame() 515 const SkPaint* paint, int flags, const SkPath* convexMask); 636 void drawConvexPath(const SkPath& path, const SkPaint* paint); [all …]
|
D | DisplayListCanvas.h | 155 virtual bool quickRejectPath(const SkPath& path) const override; 158 virtual bool clipPath(const SkPath* path, SkRegion::Op op) override; 191 virtual void drawPath(const SkPath& path, const SkPaint& paint) override; 216 virtual void drawGlyphsOnPath(const uint16_t* glyphs, int count, const SkPath& path, 260 inline const SkPath* refPath(const SkPath* path) { in refPath() 265 const SkPath* cachedPath = new SkPath(*path); in refPath() 336 DefaultKeyedVector<const SkPath*, const SkPath*> mPathMap;
|
D | RecordingCanvas.h | 132 virtual bool quickRejectPath(const SkPath& path) const override; 135 virtual bool clipPath(const SkPath* path, SkRegion::Op op) override; 170 virtual void drawPath(const SkPath& path, const SkPaint& paint) override; 199 virtual void drawGlyphsOnPath(const uint16_t* glyphs, int count, const SkPath& path, 228 inline const SkPath* refPath(const SkPath* path) { in refPath() 233 const SkPath* cachedPath = new SkPath(*path); in refPath() 306 DefaultKeyedVector<const SkPath*, const SkPath*> mPathMap;
|
D | VectorDrawable.cpp | 48 SkPath renderPath; in draw() 52 SkPath tmpPath; in draw() 107 const SkPath& Path::getUpdatedPath() { in getUpdatedPath() 116 void Path::getStagingPath(SkPath* outPath) { in getStagingPath() 134 static void applyTrim(SkPath* outPath, const SkPath& inPath, float trimPathStart, float trimPathEnd, in applyTrim() 160 const SkPath& FullPath::getUpdatedPath() { in getUpdatedPath() 175 void FullPath::getStagingPath(SkPath* outPath) { in getStagingPath() 177 SkPath inPath = *outPath; in getStagingPath() 195 void FullPath::drawPath(SkCanvas* outCanvas, SkPath& renderPath, float strokeScale, in drawPath() 215 SkPath::FillType ft = static_cast<SkPath::FillType>(properties.getFillType()); in drawPath() [all …]
|
D | Snapshot.h | 74 const SkPath* projectionMask; 146 void clipPath(const SkPath& path, SkRegion::Op op); 210 void setProjectionPathMask(LinearAllocator& allocator, const SkPath* path); 306 const SkPath* projectionPathMask;
|
D | Outline.h | 68 void setConvexPath(const SkPath* outline, float alpha) { in setConvexPath() 126 const SkPath* getPath() const { in getPath() 150 SkPath mPath;
|
D | VectorDrawable.h | 188 virtual const SkPath& getUpdatedPath(); 189 virtual void getStagingPath(SkPath* outPath); 190 virtual void drawPath(SkCanvas *outCanvas, SkPath& renderPath, 195 SkPath mSkPath; 382 const SkPath& getUpdatedPath() override; 383 void getStagingPath(SkPath* outPath) override; 384 void drawPath(SkCanvas* outCanvas, SkPath& renderPath, 393 SkPath mTrimmedSkPath; 404 void drawPath(SkCanvas* outCanvas, SkPath& renderPath,
|
D | SkiaCanvasProxy.cpp | 65 SkPath path; in onDrawPoints() 94 SkPath path; in onDrawRRect() 100 void SkiaCanvasProxy::onDrawPath(const SkPath& path, const SkPaint& paint) { in onDrawPath() 205 SkPath path; in onDrawDRRect() 208 path.setFillType(SkPath::kEvenOdd_FillType); in onDrawDRRect() 348 void SkiaCanvasProxy::onDrawTextOnPath(const void* text, size_t byteLength, const SkPath& path, in onDrawTextOnPath() 385 SkPath path; in onClipRRect() 390 void SkiaCanvasProxy::onClipPath(const SkPath& path, SkRegion::Op op, ClipEdgeStyle) { in onClipPath()
|
D | ClipArea.cpp | 151 static SkPath pathFromTransformedRectangle(const Rect& bounds, in pathFromTransformedRectangle() 153 SkPath rectPath; in pathFromTransformedRectangle() 154 SkPath rectPathTransformed; in pathFromTransformedRectangle() 166 SkPath rectPathTransformed = pathFromTransformedRectangle( in convertToRegion() 245 void ClipArea::clipPathWithTransform(const SkPath& path, const mat4* transform, in clipPathWithTransform() 252 SkPath transformed; in clipPathWithTransform() 337 SkPath transformedRect = pathFromTransformedRectangle(r, *transform); in regionModeClipRectWithTransform() 454 SkPath transformedRect = pathFromTransformedRectangle(recordedClip->rect, in serializeIntersectedClip()
|
D | RevealClip.h | 59 const SkPath* getPath() const { in getPath() 70 SkPath mPath;
|
D | DisplayList.h | 46 class SkPath; variable 91 SkPath* allocPathForFrame() { in allocPathForFrame() 197 LsaVector<const SkPath*> pathResources;
|
D | SkiaCanvasProxy.h | 62 virtual void onDrawPath(const SkPath& path, const SkPaint&) override; 82 virtual void onDrawTextOnPath(const void* text, size_t byteLength, const SkPath& path, 93 virtual void onClipPath(const SkPath&, SkRegion::Op, ClipEdgeStyle) override;
|
D | TessellationCache.cpp | 103 TessellationCache::ShadowDescription::ShadowDescription(const SkPath* nodeKey, const Matrix4* drawT… in ShadowDescription() 209 bool isCasterOpaque, const SkPath* casterPerimeter, in tessellateShadows() 356 bool opaque, const SkPath* casterPerimeter, in precacheShadows() 373 bool opaque, const SkPath* casterPerimeter, in getShadowBuffers() 389 bool opaque, const SkPath* casterPerimeter, in getShadowTask() 425 const SkPath& path) { in tessellatePath() 449 SkPath path; in tessellateRoundRect()
|
D | PathTessellator.cpp | 723 void PathTessellator::tessellatePath(const SkPath &path, const SkPaint* paint, in tessellatePath() 813 SkPath path; in tessellatePoints() 902 bool PathTessellator::approximatePathOutlineVertices(const SkPath& path, float threshold, in approximatePathOutlineVertices() 942 bool PathTessellator::approximatePathOutlineVertices(const SkPath& path, bool forceClose, in approximatePathOutlineVertices() 948 SkPath::Iter iter(path, forceClose); in approximatePathOutlineVertices() 950 SkPath::Verb v; in approximatePathOutlineVertices() 952 while (SkPath::kDone_Verb != (v = iter.next(pts))) { in approximatePathOutlineVertices() 954 case SkPath::kMove_Verb: in approximatePathOutlineVertices() 959 case SkPath::kClose_Verb: in approximatePathOutlineVertices() 963 case SkPath::kLine_Verb: in approximatePathOutlineVertices() [all …]
|
/frameworks/base/core/jni/ |
D | android_util_PathParser.cpp | 34 SkPath* skPath = reinterpret_cast<SkPath*>(skPathHandle); in parseStringForPath() 98 SkPath* skPath = reinterpret_cast<SkPath*>(outPathPtr); in setSkPathFromPathData()
|
/frameworks/base/libs/hwui/tests/microbench/ |
D | ShadowBench.cpp | 73 const SkPath& shape, VertexBuffer* ambient, VertexBuffer* spot) { in tessellateShadows() 83 SkPath path; in BM_TessellateShadows_roundrect_opaque() 99 SkPath path; in BM_TessellateShadows_roundrect_translucent()
|
/frameworks/base/libs/hwui/hwui/ |
D | Canvas.h | 159 virtual bool quickRejectPath(const SkPath& path) const = 0; 163 virtual bool clipPath(const SkPath* path, SkRegion::Op op) = 0; 192 virtual void drawPath(const SkPath& path, const SkPaint& paint) = 0; 232 void drawTextOnPath(const uint16_t* text, int count, int bidiFlags, const SkPath& path, 247 virtual void drawGlyphsOnPath(const uint16_t* glyphs, int count, const SkPath& path,
|