Home
last modified time | relevance | path

Searched refs:ptCount (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/libs/hwui/jni/
Dandroid_graphics_Matrix.cpp55 jint ptCount, jboolean isPts) { in mapPoints() argument
57 SkASSERT(ptCount >= 0); in mapPoints()
58 AutoJavaFloatArray autoSrc(env, src, srcIndex + (ptCount << 1), in mapPoints()
60 AutoJavaFloatArray autoDst(env, dst, dstIndex + (ptCount << 1), in mapPoints()
66 ptCount); in mapPoints()
69 ptCount); in mapPoints()
95 jfloatArray jdst, jint dstIndex, jint ptCount) { in setPolyToPoly() argument
99 SkASSERT((unsigned )ptCount <= 4); in setPolyToPoly()
101 AutoJavaFloatArray autoSrc(env, jsrc, srcIndex + (ptCount << 1), in setPolyToPoly()
103 AutoJavaFloatArray autoDst(env, jdst, dstIndex + (ptCount << 1), in setPolyToPoly()
[all …]
Dandroid_graphics_Canvas.cpp612 const int ptCount = (meshWidth + 1) * (meshHeight + 1); in drawBitmapMesh() local
613 AutoJavaFloatArray vertA(env, jverts, vertIndex + (ptCount << 1)); in drawBitmapMesh()
614 AutoJavaIntArray colorA(env, jcolors, colorIndex + ptCount); in drawBitmapMesh()
/frameworks/base/libs/hwui/
DSkiaCanvas.cpp685 const int ptCount = (meshWidth + 1) * (meshHeight + 1); in drawBitmapMesh() local
691 SkVertices::Builder builder(SkVertices::kTriangles_VertexMode, ptCount, indexCount, flags); in drawBitmapMesh()
692 memcpy(builder.positions(), vertices, ptCount * sizeof(SkPoint)); in drawBitmapMesh()
694 memcpy(builder.colors(), colors, ptCount * sizeof(SkColor)); in drawBitmapMesh()
722 LOG_FATAL_IF((texsPtr - texs) != ptCount); in drawBitmapMesh()
752 LOG_FATAL_IF((unsigned)indices[i] >= (unsigned)ptCount); in drawBitmapMesh()
/frameworks/base/graphics/java/android/graphics/
DMatrix.java863 int ptCount, boolean isPts); in nMapPoints() argument