/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
DrawPoints.java | 42 final int ptCount = (SEGS + 1) * 2; 43 mPts = new float[ptCount * 2];
|
/external/skia/tests/ |
PathOpsThreeWayTest.cpp | 15 int ptCount; 58 if (oTest.ptCount == 1 && iTest.ptCount == 1) { 60 } else if (oTest.ptCount == 1 && iTest.ptCount == 4) { 62 } else if (oTest.ptCount == 4 && iTest.ptCount == 1) { 64 } else if (oTest.ptCount == 4 && iTest.ptCount == 4) {
|
/external/skqp/tests/ |
PathOpsThreeWayTest.cpp | 15 int ptCount; 58 if (oTest.ptCount == 1 && iTest.ptCount == 1) { 60 } else if (oTest.ptCount == 1 && iTest.ptCount == 4) { 62 } else if (oTest.ptCount == 4 && iTest.ptCount == 1) { 64 } else if (oTest.ptCount == 4 && iTest.ptCount == 4) {
|
/external/skia/src/pathops/ |
SkOpEdgeBuilder.cpp | 155 int ptCount = SkPathOpsVerbToPoints(verb); 156 fPathPts.append(ptCount, &pts[1]); 160 curve[0] = pts[ptCount];
|
SkOpAngle.cpp | 410 int ptCount = SkPathOpsVerbToPoints(segment.verb()); 412 for (int idx1 = 0; idx1 <= ptCount - 1; ++idx1) { 413 for (int idx2 = idx1 + 1; idx2 <= ptCount; ++idx2) { 504 int ptCount = index ? rPts : lPts; 505 for (int idx2 = 0; idx2 <= ptCount; ++idx2) { [all...] |
SkPathOpsDebug.cpp | 631 int ptCount = SkPathOpsVerbToPoints(verb); 632 for (int index = 0; index <= ptCount; ++index) { 634 if (index < ptCount - 1) { [all...] |
/external/skqp/src/pathops/ |
SkOpEdgeBuilder.cpp | 155 int ptCount = SkPathOpsVerbToPoints(verb); 156 fPathPts.append(ptCount, &pts[1]); 160 curve[0] = pts[ptCount];
|
SkOpAngle.cpp | 410 int ptCount = SkPathOpsVerbToPoints(segment.verb()); 412 for (int idx1 = 0; idx1 <= ptCount - 1; ++idx1) { 413 for (int idx2 = idx1 + 1; idx2 <= ptCount; ++idx2) { 504 int ptCount = index ? rPts : lPts; 505 for (int idx2 = 0; idx2 <= ptCount; ++idx2) { [all...] |
SkPathOpsDebug.cpp | 631 int ptCount = SkPathOpsVerbToPoints(verb); 632 for (int index = 0; index <= ptCount; ++index) { 634 if (index < ptCount - 1) { [all...] |
/frameworks/base/core/jni/ |
android_graphics_Canvas.cpp | 479 const int ptCount = (meshWidth + 1) * (meshHeight + 1); 480 AutoJavaFloatArray vertA(env, jverts, vertIndex + (ptCount << 1)); 481 AutoJavaIntArray colorA(env, jcolors, colorIndex + ptCount);
|
/external/skia/src/core/ |
SkGeometry.cpp | [all...] |
SkPath.cpp | [all...] |
/external/skqp/src/core/ |
SkGeometry.cpp | [all...] |
SkPath.cpp | [all...] |
/frameworks/base/libs/hwui/ |
SkiaCanvas.cpp | 603 const int ptCount = (meshWidth + 1) * (meshHeight + 1); 609 SkVertices::Builder builder(SkVertices::kTriangles_VertexMode, ptCount, indexCount, flags); 610 memcpy(builder.positions(), vertices, ptCount * sizeof(SkPoint)); 612 memcpy(builder.colors(), colors, ptCount * sizeof(SkColor)); 640 SkASSERT(texsPtr - texs == ptCount); 670 SkASSERT((unsigned)indices[i] < (unsigned)ptCount);
|