/frameworks/base/core/jni/android/graphics/ |
D | Path.cpp | 237 typedef SkPoint (*bezierCalculation)(float t, const SkPoint* points); 239 static void addMove(std::vector<SkPoint>& segmentPoints, std::vector<float>& lengths, in addMove() 240 const SkPoint& point) { in addMove() 249 static void addLine(std::vector<SkPoint>& segmentPoints, std::vector<float>& lengths, in addLine() 250 const SkPoint& toPoint) { in addLine() 252 segmentPoints.push_back(SkPoint::Make(0, 0)); in addLine() 257 float length = lengths.back() + SkPoint::Distance(segmentPoints.back(), toPoint); in addLine() 272 static SkPoint cubicBezierCalculation(float t, const SkPoint* points) { in cubicBezierCalculation() 277 return SkPoint::Make(x, y); in cubicBezierCalculation() 285 static SkPoint quadraticBezierCalculation(float t, const SkPoint* points) { in quadraticBezierCalculation() [all …]
|
D | GraphicsJNI.h | 60 static SkPoint* jpointf_to_point(JNIEnv*, jobject jpointf, SkPoint* point); 61 static void point_to_jpointf(const SkPoint& point, JNIEnv*, jobject jpointf);
|
D | Matrix.cpp | 70 matrix->mapPoints((SkPoint*) dstArray, (const SkPoint*) srcArray, in mapPoints() 114 result = matrix->setPolyToPoly((const SkPoint*) src, in setPolyToPoly() 115 (const SkPoint*) dst, ptCount); in setPolyToPoly()
|
D | Shader.cpp | 110 SkPoint pts[2]; in LinearGradient_create() 141 SkPoint center; in RadialGradient_create()
|
D | Graphics.cpp | 289 SkPoint* GraphicsJNI::jpointf_to_point(JNIEnv* env, jobject obj, SkPoint* point) in jpointf_to_point() 298 void GraphicsJNI::point_to_jpointf(const SkPoint& r, JNIEnv* env, jobject obj) in point_to_jpointf()
|
D | Paint.cpp | 75 const SkPoint pos[], SkPath* dst) { in getPosTextPath() 79 const SkPoint* fPos; in getPosTextPath() 285 Paint* paint, uint16_t* glyphs, SkPoint* pos) in GetTextFunctor() 310 SkPoint* pos; 324 SkPoint* pos = new SkPoint[nGlyphs]; in getTextPath()
|
D | PathMeasure.cpp | 99 if (!pair->fMeasure.getPosTan(dist, (SkPoint*)posPtr, (SkVector*)tanPtr)) { in getPosTan()
|
/frameworks/base/libs/hwui/tests/common/scenes/ |
D | SimpleGradientAnimation.cpp | 53 SkPoint pts[] = {SkPoint::Make(0, 0), SkPoint::Make(width, height)}; in createCard()
|
D | SimpleColorMatrixAnimation.cpp | 75 SkPoint pts[] = {SkPoint::Make(0, 0), SkPoint::Make(width, height)}; in createCard()
|
D | ListOfFadedTextAnimation.cpp | 41 SkPoint pts[2]; in createListItem()
|
D | HwBitmapInCompositeShader.cpp | 57 SkPoint center; in createContent()
|
D | ListViewAnimation.cpp | 54 const SkPoint pos = {SkIntToScalar(size / 2), in createRandomCharIcon()
|
/frameworks/base/libs/hwui/ |
D | RecordingCanvas.h | 114 void drawPatch(const SkPoint[12], const SkColor[4], const SkPoint[4], SkBlendMode, 116 void drawPoints(SkCanvas::PointMode, size_t, const SkPoint[], const SkPaint&); 197 void onDrawPatch(const SkPoint[12], const SkColor[4], const SkPoint[4], SkBlendMode, 199 void onDrawPoints(PointMode, size_t count, const SkPoint pts[], const SkPaint&) override;
|
D | RecordingCanvas.cpp | 395 DrawPatch(const SkPoint cubics[12], const SkColor colors[4], const SkPoint texs[4], in DrawPatch() 408 SkPoint cubics[12]; 410 SkPoint texs[4]; 428 c->drawPoints(mode, count, pod<SkPoint>(this), paint); in draw() 646 void DisplayListData::drawPatch(const SkPoint points[12], const SkColor colors[4], in drawPatch() 647 const SkPoint texs[4], SkBlendMode bmode, const SkPaint& paint) { in drawPatch() 650 void DisplayListData::drawPoints(SkCanvas::PointMode mode, size_t count, const SkPoint points[], in drawPoints() 652 void* pod = this->push<DrawPoints>(count * sizeof(SkPoint), mode, count, paint); in drawPoints() 957 void RecordingCanvas::onDrawPatch(const SkPoint cubics[12], const SkColor colors[4], in onDrawPatch() 958 const SkPoint texCoords[4], SkBlendMode bmode, in onDrawPatch() [all …]
|
D | SkiaCanvas.cpp | 462 std::unique_ptr<SkPoint[]> pts(new SkPoint[count]); in drawPoints() 577 memcpy(builder.positions(), vertices, ptCount * sizeof(SkPoint)); in drawBitmapMesh() 581 SkPoint* texs = builder.texCoords(); in drawBitmapMesh() 591 SkPoint* texsPtr = texs; in drawBitmapMesh() 741 SkPoint pos; in drawLayoutOnPath()
|
/frameworks/base/libs/hwui/tests/unit/ |
D | FatalTestCanvas.h | 36 void onDrawPatch(const SkPoint cubics[12], const SkColor colors[4], const SkPoint texCoords[4], in onDrawPatch() 57 void onDrawPoints(PointMode, size_t count, const SkPoint pts[], const SkPaint&) { in onDrawPoints()
|
/frameworks/base/libs/hwui/pipeline/skia/ |
D | DumpOpsCanvas.h | 108 void onDrawPoints(SkCanvas::PointMode, size_t, const SkPoint[], const SkPaint&) override { in onDrawPoints() argument
|
/frameworks/base/core/jni/ |
D | android_graphics_Canvas.cpp | 393 reinterpret_cast<const SkPoint*>(verts), in drawVertices() 394 reinterpret_cast<const SkPoint*>(texs), in drawVertices()
|