Searched refs:ptCount (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/core/jni/android/graphics/ |
D | Matrix.cpp | 237 jfloatArray jdst, int dstIndex, int ptCount) { in setPolyToPoly() argument 240 SkASSERT((unsigned)ptCount <= 4); in setPolyToPoly() 242 AutoJavaFloatArray autoSrc(env, jsrc, srcIndex + (ptCount << 1)); in setPolyToPoly() 243 AutoJavaFloatArray autoDst(env, jdst, dstIndex + (ptCount << 1)); in setPolyToPoly() 249 for (int i = 0; i < ptCount; i++) { in setPolyToPoly() 255 return matrix->setPolyToPoly(srcPt, dstPt, ptCount); in setPolyToPoly() 258 ptCount); in setPolyToPoly() 269 int ptCount, bool isPts) { in mapPoints() argument 270 SkASSERT(ptCount >= 0); in mapPoints() 271 AutoJavaFloatArray autoSrc(env, src, srcIndex + (ptCount << 1)); in mapPoints() [all …]
|
D | Canvas.cpp | 576 const int ptCount = (meshWidth + 1) * (meshHeight + 1); in drawBitmapMesh() local 579 AutoJavaFloatArray vertA(env, jverts, vertIndex + (ptCount << 1)); in drawBitmapMesh() 580 AutoJavaIntArray colorA(env, jcolors, colorIndex + ptCount); in drawBitmapMesh() 588 ssize_t storageSize = ptCount * sizeof(SkPoint); // texs[] in drawBitmapMesh() 590 storageSize += ptCount * sizeof(SkPoint); // storage for verts in drawBitmapMesh() 600 indices = (uint16_t*)(texs + ptCount); in drawBitmapMesh() 602 verts = texs + ptCount; in drawBitmapMesh() 603 indices = (uint16_t*)(verts + ptCount); in drawBitmapMesh() 607 for (int i = 0; i < ptCount; i++) { in drawBitmapMesh() 637 SkASSERT(texsPtr - texs == ptCount); in drawBitmapMesh() [all …]
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
D | Matrix_Delegate.java | 686 float[] src, int srcIndex, int ptCount, boolean isPts) { in native_mapPoints() argument 693 d.mapPoints(dst, dstIndex, src, srcIndex, ptCount); in native_mapPoints() 695 d.mapVectors(dst, dstIndex, src, srcIndex, ptCount); in native_mapPoints() 949 private void mapVectors(float[] dst, int dstIndex, float[] src, int srcIndex, int ptCount) { in mapVectors() argument 956 mapPoints(dst, dstIndex, src, srcIndex, ptCount); in mapVectors() 959 final int count = ptCount * 2; in mapVectors() 972 copy.mapPoints(dst, dstIndex, src, srcIndex, ptCount); in mapVectors()
|
/frameworks/base/graphics/java/android/graphics/ |
D | Matrix.java | 871 int ptCount, boolean isPts); in native_mapPoints() argument
|