Searched refs:meshWidth (Results 1 - 3 of 3) sorted by relevance
/frameworks/base/core/jni/android/graphics/ |
H A D | Canvas.cpp | 575 const SkBitmap* bitmap, int meshWidth, int meshHeight, 579 const int ptCount = (meshWidth + 1) * (meshHeight + 1); 580 const int indexCount = meshWidth * meshHeight * 6; 621 const SkScalar dx = w / meshWidth; 631 for (int j = 0; j < meshWidth; j++) { 648 for (int j = 0; j < meshWidth; j++) { 651 *indexPtr++ = index + meshWidth + 1; 652 *indexPtr++ = index + meshWidth + 2; 655 *indexPtr++ = index + meshWidth + 2; 574 drawBitmapMesh(JNIEnv* env, jobject, SkCanvas* canvas, const SkBitmap* bitmap, int meshWidth, int meshHeight, jfloatArray jverts, int vertIndex, jintArray jcolors, int colorIndex, const SkPaint* paint) argument
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | Canvas.java | 1127 * distributed across the bitmap. There are meshWidth+1 vertices across, and 1129 * order, so that the first meshWidth+1 vertices are distributed across the 1134 * @param meshWidth The number of columns in the mesh. Nothing is drawn if 1140 * (meshWidth+1) * (meshHeight+1) * 2 + meshOffset values 1146 * there must be at least (meshWidth+1) * (meshHeight+1) + 1151 public void drawBitmapMesh(Bitmap bitmap, int meshWidth, int meshHeight, argument 1154 if ((meshWidth | meshHeight | vertOffset | colorOffset) < 0) { 1157 if (meshWidth == 0 || meshHeight == 0) { 1160 int count = (meshWidth + 1) * (meshHeight + 1); 1167 nativeDrawBitmapMesh(mNativeCanvas, bitmap.ni(), meshWidth, meshHeigh 1547 nativeDrawBitmapMesh(int nCanvas, int nBitmap, int meshWidth, int meshHeight, float[] verts, int vertOffset, int[] colors, int colorOffset, int nPaint) argument [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | Canvas.java | 1058 public void drawBitmapMesh(Bitmap bitmap, int meshWidth, int meshHeight, float[] verts, argument 1061 super.drawBitmapMesh(bitmap, meshWidth, meshHeight, verts, vertOffset, colors, colorOffset, paint);
|
Completed in 34 milliseconds