/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) {
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
DrawPoints.java | 42 final int ptCount = (SEGS + 1) * 2; 43 mPts = new float[ptCount * 2];
|
/frameworks/base/core/jni/android/graphics/ |
Matrix.cpp | 61 jint ptCount, jboolean isPts) { 63 SkASSERT(ptCount >= 0); 64 AutoJavaFloatArray autoSrc(env, src, srcIndex + (ptCount << 1), 66 AutoJavaFloatArray autoDst(env, dst, dstIndex + (ptCount << 1), 72 ptCount); 75 ptCount); 101 jfloatArray jdst, jint dstIndex, jint ptCount) { 105 SkASSERT((unsigned )ptCount <= 4); 107 AutoJavaFloatArray autoSrc(env, jsrc, srcIndex + (ptCount << 1), 109 AutoJavaFloatArray autoDst(env, jdst, dstIndex + (ptCount << 1) [all...] |
/external/skia/src/utils/ |
SkDashPath.cpp | 176 SkScalar ptCount = pathLength * intervalCount / (float)intervalLength; 177 ptCount = SkTMin(ptCount, SkDashPath::kMaxDashCount); 178 int n = SkScalarCeilToInt(ptCount) << 2;
|
/external/skia/src/core/ |
SkScan_Hairline.cpp | 426 void extend_pts(SkPath::Verb prevVerb, SkPath::Verb nextVerb, SkPoint* pts, int ptCount) { 433 int controls = ptCount - 1; 440 controls = ptCount - 1; // If all points are equal, move all but one 448 } while (++controls < ptCount); 452 SkPoint* last = &pts[ptCount - 1]; 454 int controls = ptCount - 1; 461 controls = ptCount - 1; 469 } while (++controls < ptCount);
|
SkDraw.h | 76 const uint16_t indices[], int ptCount,
|
SkPathRef.cpp | 198 int ptCount = 0; 204 ptCount += 1; 210 ptCount += 2; 213 ptCount += 3; 221 *ptCountPtr = ptCount;
|
SkGlyphCache.h | 218 static void AddPoints(const SkPoint* pts, int ptCount, const SkScalar bounds[2],
|
SkGeometry.cpp | [all...] |
SkGlyphCache.cpp | 252 void SkGlyphCache::AddPoints(const SkPoint* pts, int ptCount, const SkScalar bounds[2], 254 for (int i = 0; i < ptCount; ++i) {
|
SkPath.cpp | [all...] |
/frameworks/layoutlib/bridge/src/android/graphics/ |
Matrix_Delegate.java | 634 float[] src, int srcIndex, int ptCount, boolean isPts) { 641 d.mapPoints(dst, dstIndex, src, srcIndex, ptCount); 643 d.mapVectors(dst, dstIndex, src, srcIndex, ptCount); 901 private void mapVectors(float[] dst, int dstIndex, float[] src, int srcIndex, int ptCount) { 908 mapPoints(dst, dstIndex, src, srcIndex, ptCount); 911 final int count = ptCount * 2; 924 copy.mapPoints(dst, dstIndex, src, srcIndex, ptCount); [all...] |
/external/skia/src/pathops/ |
SkOpEdgeBuilder.cpp | 155 int ptCount = SkPathOpsVerbToPoints(verb); 156 fPathPts.append(ptCount, &pts[1]); 160 curve[0] = pts[ptCount];
|
SkPathOpsCubic.h | 81 bool hullIntersects(const SkDPoint* pts, int ptCount, bool* isLinear) const;
|
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...] |
SkPathOpsCubic.cpp | 149 bool SkDCubic::hullIntersects(const SkDPoint* pts, int ptCount, bool* isLinear) const { 181 for (int n = 0; n < ptCount; ++n) {
|
SkPathOpsDebug.cpp | 631 int ptCount = SkPathOpsVerbToPoints(verb); 632 for (int index = 0; index <= ptCount; ++index) { 634 if (index < ptCount - 1) { [all...] |
/frameworks/base/libs/hwui/ |
SkiaCanvas.cpp | 552 const int ptCount = (meshWidth + 1) * (meshHeight + 1); 558 SkVertices::Builder builder(SkVertices::kTriangles_VertexMode, ptCount, indexCount, flags); 559 memcpy(builder.positions(), vertices, ptCount * sizeof(SkPoint)); 561 memcpy(builder.colors(), colors, ptCount * sizeof(SkColor)); 589 SkASSERT(texsPtr - texs == ptCount); 619 SkASSERT((unsigned)indices[i] < (unsigned)ptCount);
|
/frameworks/base/core/jni/ |
android_graphics_Canvas.cpp | 471 const int ptCount = (meshWidth + 1) * (meshHeight + 1); 472 AutoJavaFloatArray vertA(env, jverts, vertIndex + (ptCount << 1)); 473 AutoJavaIntArray colorA(env, jcolors, colorIndex + ptCount);
|
/frameworks/base/graphics/java/android/graphics/ |
Matrix.java | 863 int ptCount, boolean isPts);
|