Home
last modified time | relevance | path

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

/frameworks/base/core/jni/android/graphics/
DMatrix.cpp60 jint ptCount, jboolean isPts) { in mapPoints() argument
62 SkASSERT(ptCount >= 0); in mapPoints()
63 AutoJavaFloatArray autoSrc(env, src, srcIndex + (ptCount << 1), in mapPoints()
65 AutoJavaFloatArray autoDst(env, dst, dstIndex + (ptCount << 1), in mapPoints()
71 ptCount); in mapPoints()
74 ptCount); in mapPoints()
100 jfloatArray jdst, jint dstIndex, jint ptCount) { in setPolyToPoly() argument
104 SkASSERT((unsigned )ptCount <= 4); in setPolyToPoly()
106 AutoJavaFloatArray autoSrc(env, jsrc, srcIndex + (ptCount << 1), in setPolyToPoly()
108 AutoJavaFloatArray autoDst(env, jdst, dstIndex + (ptCount << 1), in setPolyToPoly()
[all …]
/frameworks/layoutlib/bridge/src/android/graphics/
DMatrix_Delegate.java642 float[] src, int srcIndex, int ptCount, boolean isPts) { in nMapPoints() argument
649 d.mapPoints(dst, dstIndex, src, srcIndex, ptCount); in nMapPoints()
651 d.mapVectors(dst, dstIndex, src, srcIndex, ptCount); in nMapPoints()
909 private void mapVectors(float[] dst, int dstIndex, float[] src, int srcIndex, int ptCount) { in mapVectors() argument
916 mapPoints(dst, dstIndex, src, srcIndex, ptCount); in mapVectors()
919 final int count = ptCount * 2; in mapVectors()
932 copy.mapPoints(dst, dstIndex, src, srcIndex, ptCount); in mapVectors()
/frameworks/base/libs/hwui/
DSkiaCanvas.cpp570 const int ptCount = (meshWidth + 1) * (meshHeight + 1); in drawBitmapMesh() local
576 SkVertices::Builder builder(SkVertices::kTriangles_VertexMode, ptCount, indexCount, flags); in drawBitmapMesh()
577 memcpy(builder.positions(), vertices, ptCount * sizeof(SkPoint)); in drawBitmapMesh()
579 memcpy(builder.colors(), colors, ptCount * sizeof(SkColor)); in drawBitmapMesh()
607 SkASSERT(texsPtr - texs == ptCount); in drawBitmapMesh()
637 SkASSERT((unsigned)indices[i] < (unsigned)ptCount); in drawBitmapMesh()
/frameworks/base/core/jni/
Dandroid_graphics_Canvas.cpp530 const int ptCount = (meshWidth + 1) * (meshHeight + 1); in drawBitmapMesh() local
531 AutoJavaFloatArray vertA(env, jverts, vertIndex + (ptCount << 1)); in drawBitmapMesh()
532 AutoJavaIntArray colorA(env, jcolors, colorIndex + ptCount); in drawBitmapMesh()
/frameworks/base/graphics/java/android/graphics/
DMatrix.java865 int ptCount, boolean isPts); in nMapPoints() argument