/frameworks/base/core/jni/android/graphics/ |
D | Path.cpp | 40 SkPath* obj = reinterpret_cast<SkPath*>(objHandle); in finalizer() 51 return reinterpret_cast<jlong>(new SkPath()); in init1() 55 SkPath* val = reinterpret_cast<SkPath*>(valHandle); in init2() 56 return reinterpret_cast<jlong>(new SkPath(*val)); in init2() 60 SkPath* obj = reinterpret_cast<SkPath*>(objHandle); in reset() 65 SkPath* obj = reinterpret_cast<SkPath*>(objHandle); in rewind() 70 SkPath* dst = reinterpret_cast<SkPath*>(dstHandle); in assign() 71 const SkPath* src = reinterpret_cast<SkPath*>(srcHandle); in assign() 76 SkPath* obj = reinterpret_cast<SkPath*>(objHandle); in isConvex() 81 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()
|
D | SkiaCanvas.cpp | 83 virtual bool quickRejectPath(const SkPath& path) const; 85 virtual bool clipPath(const SkPath* path, SkRegion::Op op); 106 virtual void drawPath(const SkPath& path, const SkPaint& paint); 124 virtual void drawTextOnPath(const uint16_t* glyphs, int count, const SkPath& path, 185 virtual void clipPath(const SkPath& path, SkRegion::Op op, bool antialias) { in clipPath() 426 bool SkiaCanvas::quickRejectPath(const SkPath& path) const { in quickRejectPath() 436 bool SkiaCanvas::clipPath(const SkPath* path, SkRegion::Op op) { in clipPath() 442 SkPath rgnPath; in clipRegion() 541 void SkiaCanvas::drawPath(const SkPath& path, const SkPaint& paint) { in drawPath() 706 void SkiaCanvas::drawTextOnPath(const uint16_t* glyphs, int count, const SkPath& path, in drawTextOnPath()
|
D | PathEffect.cpp | 50 const SkPath* shape = reinterpret_cast<SkPath*>(shapeHandle); in OneD_constructor()
|
D | Region.cpp | 69 const SkPath* path = reinterpret_cast<SkPath*>(pathHandle); in Region_setPath() 86 SkPath* path = reinterpret_cast<SkPath*>(pathHandle); in Region_getBoundaryPath()
|
/frameworks/base/libs/hwui/ |
D | PathCache.h | 35 class SkPath; variable 121 const SkPath* mPath; 195 PathTexture* get(const SkPath* path, const SkPaint* paint); 201 void removeDeferred(SkPath* path); 221 void precache(const SkPath* path, const SkPaint* paint); 223 static bool canDrawAsConvexPath(SkPath* path, const SkPaint* paint); 224 static void computePathBounds(const SkPath* path, const SkPaint* paint, 230 typedef Pair<SkPath*, SkPath*> path_pair_t; 233 const SkPath *path, const SkPaint* paint); 274 PathTask(const SkPath* path, const SkPaint* paint, PathTexture* texture): in PathTask() [all …]
|
D | ResourceCache.h | 71 void incrementRefcount(const SkPath* resource); 75 void incrementRefcountLocked(const SkPath* resource); 80 void decrementRefcount(const SkPath* resource); 84 void decrementRefcountLocked(const SkPath* resource); 87 void destructor(SkPath* resource); 91 void destructorLocked(SkPath* resource);
|
D | PathCache.cpp | 82 bool PathCache::canDrawAsConvexPath(SkPath* path, const SkPaint* paint) { in canDrawAsConvexPath() 84 return paint->getPathEffect() == NULL && path->getConvexity() == SkPath::kConvex_Convexity; in canDrawAsConvexPath() 87 void PathCache::computePathBounds(const SkPath* path, const SkPaint* paint, in computePathBounds() 124 static void drawPath(const SkPath *path, const SkPaint* paint, SkBitmap& bitmap, in drawPath() 256 PathTexture* PathCache::addTexture(const PathDescription& entry, const SkPath *path, in addTexture() 379 void PathCache::removeDeferred(SkPath* path) { in removeDeferred() 381 mGarbage.push(path_pair_t(path, const_cast<SkPath*>(path->getSourcePath()))); in removeDeferred() 411 static const SkPath* getSourcePath(const SkPath* path) { in getSourcePath() 412 const SkPath* sourcePath = path->getSourcePath(); in getSourcePath() 414 return const_cast<SkPath*>(sourcePath); in getSourcePath() [all …]
|
D | ResourceCache.cpp | 74 void ResourceCache::incrementRefcount(const SkPath* pathResource) { in incrementRefcount() 96 void ResourceCache::incrementRefcountLocked(const SkPath* pathResource) { in incrementRefcountLocked() 113 void ResourceCache::decrementRefcount(const SkPath* pathResource) { in decrementRefcount() 138 void ResourceCache::decrementRefcountLocked(const SkPath* pathResource) { in decrementRefcountLocked() 146 void ResourceCache::destructor(SkPath* resource) { in destructor() 151 void ResourceCache::destructorLocked(SkPath* resource) { in destructorLocked() 276 SkPath* path = (SkPath*) resource; in deleteResourceReferenceLocked()
|
D | DisplayListRenderer.h | 95 virtual bool clipPath(const SkPath* path, SkRegion::Op op); 139 virtual status_t drawPath(const SkPath* path, const SkPaint* paint); 147 virtual status_t drawTextOnPath(const char* text, int bytesCount, int count, const SkPath* path, 200 inline const SkPath* refPath(const SkPath* path) { in refPath() 203 const SkPath* pathCopy = mPathMap.valueFor(path); in refPath() 205 SkPath* newPathCopy = new SkPath(*path); in refPath() 295 DefaultKeyedVector<const SkPath*, const SkPath*> mPathMap;
|
D | ShadowTessellator.cpp | 214 bool ShadowTessellator::isClockwisePath(const SkPath& path) { in isClockwisePath() 215 SkPath::Iter iter(path, false); in isClockwisePath() 217 SkPath::Verb v; in isClockwisePath() 220 while (SkPath::kDone_Verb != (v = iter.next(pts))) { in isClockwisePath() 222 case SkPath::kMove_Verb: in isClockwisePath() 225 case SkPath::kLine_Verb: in isClockwisePath() 228 case SkPath::kQuad_Verb: in isClockwisePath() 232 case SkPath::kCubic_Verb: in isClockwisePath()
|
D | PathTessellator.h | 53 static void tessellatePath(const SkPath& path, const SkPaint* paint, 91 static bool approximatePathOutlineVertices(const SkPath &path, float thresholdSquared, 95 static bool approximatePathOutlineVertices(const SkPath &path, bool forceClose,
|
D | DisplayList.h | 47 class SkPath; variable 85 SkPath* allocPathForFrame() { in allocPathForFrame() 143 Vector<const SkPath*> paths; 144 SortedVector<const SkPath*> sourcePaths;
|
D | Outline.h | 44 void setConvexPath(const SkPath* outline, float alpha) { in setConvexPath() 97 const SkPath* getPath() const { in getPath() 116 SkPath mPath;
|
D | RevealClip.h | 56 const SkPath* getPath() const { in getPath() 67 SkPath mPath;
|
D | OpenGLRenderer.h | 154 const SkPaint* paint, int flags, const SkPath* convexMask); 186 virtual status_t drawPath(const SkPath* path, const SkPaint* paint); 189 virtual status_t drawTextOnPath(const char* text, int bytesCount, int count, const SkPath* path, 345 SkPath* allocPathForFrame() { in allocPathForFrame() 346 SkPath* path = new SkPath(); in allocPathForFrame() 558 const SkPaint* paint, int flags, const SkPath* convexMask); 683 status_t drawConvexPath(const SkPath& path, const SkPaint* paint); 1024 std::vector<SkPath*> mTempPaths;
|
D | TessellationCache.h | 32 class SkPath; variable 132 bool opaque, const SkPath* casterPerimeter, 137 bool opaque, const SkPath* casterPerimeter,
|
D | TessellationCache.cpp | 166 const SkPath* casterPerimeter, const Matrix4* transformXY, const Matrix4* transformZ, in ShadowTask() 195 const SkPath casterPerimeter; 212 bool isCasterOpaque, const SkPath* casterPerimeter, in tessellateShadows() 378 bool opaque, const SkPath* casterPerimeter, in precacheShadows() 395 bool opaque, const SkPath* casterPerimeter, in getShadowBuffers() 431 const SkPath& path) { in tessellatePath() 455 SkPath path; in tessellateRoundRect()
|
D | Layer.h | 247 inline void setConvexMask(const SkPath* convexMask) { in setConvexMask() 251 inline const SkPath* getConvexMask() { in getConvexMask() 432 const SkPath* convexMask;
|
D | Renderer.h | 173 virtual bool clipPath(const SkPath* path, SkRegion::Op op) = 0; 207 virtual status_t drawPath(const SkPath* path, const SkPaint* paint) = 0; 215 virtual status_t drawTextOnPath(const char* text, int bytesCount, int count, const SkPath* path,
|
D | RenderNode.cpp | 529 const SkPath* outlineOfProjectionSurface, in computeOrderingImpl() 557 const SkPath* projectionOutline = NULL; in computeOrderingImpl() 596 inline SkPath* allocPathForFrame() { return mDeferStruct.allocPathForFrame(); } in allocPathForFrame() 627 inline SkPath* allocPathForFrame() { return mReplayStruct.allocPathForFrame(); } in allocPathForFrame() 677 const SkPath* casterOutlinePath = properties().getOutline().getPath(); in issueDrawShadowOperation() 678 const SkPath* revealClipPath = properties().getRevealClip().getPath(); in issueDrawShadowOperation() 685 SkPath* frameAllocatedPath = NULL; in issueDrawShadowOperation() 686 const SkPath* outlinePath = casterOutlinePath; in issueDrawShadowOperation() 704 SkPath clipBoundsPath; in issueDrawShadowOperation() 796 const SkPath* projectionReceiverOutline = properties().getOutline().getPath(); in issueOperationsOfProjectedChildren()
|
D | PathTessellator.cpp | 725 void PathTessellator::tessellatePath(const SkPath &path, const SkPaint* paint, in tessellatePath() 813 SkPath path; in tessellatePoints() 904 bool PathTessellator::approximatePathOutlineVertices(const SkPath& path, float thresholdSquared, in approximatePathOutlineVertices() 916 bool PathTessellator::approximatePathOutlineVertices(const SkPath& path, bool forceClose, in approximatePathOutlineVertices() 923 SkPath::Iter iter(path, forceClose); in approximatePathOutlineVertices() 925 SkPath::Verb v; in approximatePathOutlineVertices() 926 while (SkPath::kDone_Verb != (v = iter.next(pts))) { in approximatePathOutlineVertices() 928 case SkPath::kMove_Verb: in approximatePathOutlineVertices() 932 case SkPath::kClose_Verb: in approximatePathOutlineVertices() 935 case SkPath::kLine_Verb: in approximatePathOutlineVertices() [all …]
|
D | StatefulBaseRenderer.cpp | 159 SkPath path; in clipRect() 165 bool StatefulBaseRenderer::clipPath(const SkPath* path, SkRegion::Op op) { in clipPath() 169 SkPath transformed; in clipPath()
|
/frameworks/base/include/private/graphics/ |
D | Canvas.h | 76 virtual bool quickRejectPath(const SkPath& path) const = 0; 79 virtual bool clipPath(const SkPath* path, SkRegion::Op op) = 0; 107 virtual void drawPath(const SkPath& path, const SkPaint& paint) = 0; 129 virtual void drawTextOnPath(const uint16_t* glyphs, int count, const SkPath& path,
|
/frameworks/base/core/jni/ |
D | android_graphics_Canvas.cpp | 160 SkPath* path = reinterpret_cast<SkPath*>(pathHandle); in quickRejectPath() 174 SkPath* path = reinterpret_cast<SkPath*>(pathHandle); in clipPath() 276 const SkPath* path = reinterpret_cast<SkPath*>(pathHandle); in drawPath() 598 float vOffset, const Paint& paint, const SkPath& path) in DrawTextOnPathFunctor() 617 const SkPath& path; 621 const SkPath& path, float hOffset, float vOffset, in drawTextOnPath() 641 SkPath* path = reinterpret_cast<SkPath*>(pathHandle); in drawTextOnPathChars() 656 SkPath* path = reinterpret_cast<SkPath*>(pathHandle); in drawTextOnPathString()
|