/frameworks/base/libs/hwui/canvas/ |
D | Points.h | 25 class Points: public SkNVRefCnt<SkPoint> { 31 Points(std::initializer_list<SkPoint> init): skPoints(init) { } in Points() 33 SkPoint& operator[](int index) { 37 const SkPoint* data() const { in data() 47 android::FatVector<SkPoint, 2> skPoints;
|
/frameworks/base/libs/hwui/jni/ |
D | Path.cpp | 235 typedef SkPoint (*bezierCalculation)(float t, const SkPoint* points); 237 static void addMove(std::vector<SkPoint>& segmentPoints, std::vector<float>& lengths, in addMove() 238 const SkPoint& point) { in addMove() 247 static void addLine(std::vector<SkPoint>& segmentPoints, std::vector<float>& lengths, in addLine() 248 const SkPoint& toPoint) { in addLine() 250 segmentPoints.push_back(SkPoint::Make(0, 0)); in addLine() 255 float length = lengths.back() + SkPoint::Distance(segmentPoints.back(), toPoint); in addLine() 270 static SkPoint cubicBezierCalculation(float t, const SkPoint* points) { in cubicBezierCalculation() 275 return SkPoint::Make(x, y); in cubicBezierCalculation() 283 static SkPoint quadraticBezierCalculation(float t, const SkPoint* points) { in quadraticBezierCalculation() [all …]
|
D | GraphicsJNI.h | 81 static SkPoint* jpointf_to_point(JNIEnv*, jobject jpointf, SkPoint* point); 82 static void point_to_jpointf(const SkPoint& point, JNIEnv*, jobject jpointf);
|
D | android_graphics_Matrix.cpp | 67 matrix->mapPoints((SkPoint*) dstArray, (const SkPoint*) srcArray, in mapPoints() 111 result = matrix->setPolyToPoly((const SkPoint*) src, in setPolyToPoly() 112 (const SkPoint*) dst, ptCount); in setPolyToPoly()
|
D | Shader.cpp | 113 SkPoint pts[2]; in LinearGradient_create() 155 SkPoint start; in RadialGradient_create() 158 SkPoint end; in RadialGradient_create()
|
D | PathMeasure.cpp | 97 if (!pair->fMeasure.getPosTan(dist, (SkPoint*)posPtr, (SkVector*)tanPtr)) { in getPosTan()
|
D | Paint.cpp | 60 const SkPoint pos[], SkPath* dst) { in getPosTextPath() 64 const SkPoint* fPos; in getPosTextPath() 270 Paint* paint, uint16_t* glyphs, SkPoint* pos) in GetTextFunctor() 295 SkPoint* pos; 309 SkPoint* pos = new SkPoint[nGlyphs]; in getTextPath()
|
D | Graphics.cpp | 338 SkPoint* GraphicsJNI::jpointf_to_point(JNIEnv* env, jobject obj, SkPoint* point) in jpointf_to_point() 347 void GraphicsJNI::point_to_jpointf(const SkPoint& r, JNIEnv* env, jobject obj) in point_to_jpointf()
|
D | android_graphics_Canvas.cpp | 395 reinterpret_cast<const SkPoint*>(verts), in drawVertices() 396 reinterpret_cast<const SkPoint*>(texs), in drawVertices()
|
/frameworks/base/libs/hwui/hwui/ |
D | BlurDrawLooper.h | 29 static sk_sp<BlurDrawLooper> Make(SkColor4f, SkColorSpace*, float blurSigma, SkPoint offset); 44 const SkPoint mOffset; 46 SkPoint apply(SkPaint* paint) const; 48 BlurDrawLooper(SkColor4f, float, SkPoint);
|
D | BlurDrawLooper.cpp | 22 BlurDrawLooper::BlurDrawLooper(SkColor4f color, float blurSigma, SkPoint offset) in BlurDrawLooper() 27 SkPoint BlurDrawLooper::apply(SkPaint* paint) const { in apply() 36 SkPoint offset) { in Make()
|
/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 | 67 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()
|
D | StretchyListViewAnimation.cpp | 99 const SkPoint pos = {SkIntToScalar(size / 2), in createRandomCharIcon()
|
/frameworks/base/libs/hwui/ |
D | RecordingCanvas.h | 125 void drawPatch(const SkPoint[12], const SkColor[4], const SkPoint[4], SkBlendMode, 127 void drawPoints(SkCanvas::PointMode, size_t, const SkPoint[], const SkPaint&); 205 void onDrawPatch(const SkPoint[12], const SkColor[4], const SkPoint[4], SkBlendMode, 207 void onDrawPoints(PointMode, size_t count, const SkPoint pts[], const SkPaint&) override;
|
D | RecordingCanvas.cpp | 398 DrawPatch(const SkPoint cubics[12], const SkColor colors[4], const SkPoint texs[4], in DrawPatch() 411 SkPoint cubics[12]; 413 SkPoint texs[4]; 431 c->drawPoints(mode, count, pod<SkPoint>(this), paint); in draw() 741 void DisplayListData::drawPatch(const SkPoint points[12], const SkColor colors[4], in drawPatch() 742 const SkPoint texs[4], SkBlendMode bmode, const SkPaint& paint) { in drawPatch() 745 void DisplayListData::drawPoints(SkCanvas::PointMode mode, size_t count, const SkPoint points[], in drawPoints() 747 void* pod = this->push<DrawPoints>(count * sizeof(SkPoint), mode, count, paint); in drawPoints() 1072 void RecordingCanvas::onDrawPatch(const SkPoint cubics[12], const SkColor colors[4], in onDrawPatch() 1073 const SkPoint texCoords[4], SkBlendMode bmode, in onDrawPatch() [all …]
|
D | SkiaCanvas.cpp | 461 std::unique_ptr<SkPoint[]> pts(new SkPoint[count]); in drawPoints() 599 memcpy(builder.positions(), vertices, ptCount * sizeof(SkPoint)); in drawBitmapMesh() 603 SkPoint* texs = builder.texCoords(); in drawBitmapMesh() 613 SkPoint* texsPtr = texs; in drawBitmapMesh() 775 SkPoint pos; in drawLayoutOnPath()
|
D | SkiaCanvas.h | 189 looper->apply(skp, [&](SkPoint offset, const SkPaint& modifiedPaint) {
|
/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()
|
D | CanvasOpTests.cpp | 450 SkPoint pts[3] = {{64, 32}, {0, 224}, {128, 224}}; in TEST()
|
/frameworks/base/libs/hwui/tests/common/ |
D | CallCountingCanvas.h | 98 void onDrawPatch(const SkPoint cubics[12], const SkColor colors[4], in onDrawPatch() 99 const SkPoint texCoords[4], SkBlendMode mode, in onDrawPatch() 105 void onDrawPoints(SkCanvas::PointMode mode, size_t count, const SkPoint pts[], in onDrawPoints()
|
/frameworks/base/libs/hwui/pipeline/skia/ |
D | DumpOpsCanvas.h | 104 void onDrawPoints(SkCanvas::PointMode, size_t, const SkPoint[], const SkPaint&) override { in onDrawPoints() argument
|