/frameworks/base/graphics/java/android/graphics/ |
H A D | Canvas.java | 1211 * meshHeight+1 vertices down. The verts array is accessed in row-major 1219 * @param meshHeight The number of rows in the mesh. Nothing is drawn if 1223 * (meshWidth+1) * (meshHeight+1) * 2 + meshOffset values 1229 * there must be at least (meshWidth+1) * (meshHeight+1) + 1234 public void drawBitmapMesh(Bitmap bitmap, int meshWidth, int meshHeight, argument 1236 if ((meshWidth | meshHeight | vertOffset | colorOffset) < 0) { 1239 if (meshWidth == 0 || meshHeight == 0) { 1242 int count = (meshWidth + 1) * (meshHeight + 1); 1249 nativeDrawBitmapMesh(mNativeCanvas, bitmap.ni(), meshWidth, meshHeight, 1721 int meshWidth, int meshHeight, 1720 nativeDrawBitmapMesh(int nCanvas, int nBitmap, int meshWidth, int meshHeight, float[] verts, int vertOffset, int[] colors, int colorOffset, int nPaint) argument [all...] |
/frameworks/base/core/java/android/view/ |
H A D | GLES20RecordingCanvas.java | 145 public void drawBitmapMesh(Bitmap bitmap, int meshWidth, int meshHeight, float[] verts, argument 147 super.drawBitmapMesh(bitmap, meshWidth, meshHeight, verts, vertOffset,
|
H A D | GLES20Canvas.java | 890 public void drawBitmapMesh(Bitmap bitmap, int meshWidth, int meshHeight, float[] verts, argument 893 if (meshWidth < 0 || meshHeight < 0 || vertOffset < 0 || colorOffset < 0) { 897 if (meshWidth == 0 || meshHeight == 0) { 901 final int count = (meshWidth + 1) * (meshHeight + 1); 911 nDrawBitmapMesh(mRenderer, bitmap.mNativeBitmap, bitmap.mBuffer, meshWidth, meshHeight, 919 int meshWidth, int meshHeight, float[] verts, int vertOffset, 918 nDrawBitmapMesh(int renderer, int bitmap, byte[] buffer, int meshWidth, int meshHeight, float[] verts, int vertOffset, int[] colors, int colorOffset, int paint) argument
|
/frameworks/base/core/jni/android/graphics/ |
H A D | Canvas.cpp | 563 const SkBitmap* bitmap, int meshWidth, int meshHeight, 567 const int ptCount = (meshWidth + 1) * (meshHeight + 1); 568 const int indexCount = meshWidth * meshHeight * 6; 610 const SkScalar dy = h / meshHeight; 614 for (int i = 0; i <= meshHeight; i++) { 615 if (i == meshHeight) { 635 for (int i = 0; i < meshHeight; i++) { 562 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/libs/hwui/ |
H A D | DisplayListRenderer.cpp | 493 uint32_t meshHeight = getInt(); local 1112 uint32_t meshHeight = getInt(); local 1119 drawGlStatus |= renderer.drawBitmapMesh(bitmap, meshWidth, meshHeight, vertices, 1627 status_t DisplayListRenderer::drawBitmapMesh(SkBitmap* bitmap, int meshWidth, int meshHeight, argument 1632 addInt(meshHeight); 1633 addFloats(vertices, (meshWidth + 1) * (meshHeight + 1) * 2); 1636 addInts(colors, (meshWidth + 1) * (meshHeight + 1));
|
H A D | OpenGLRenderer.h | 179 virtual status_t drawBitmapMesh(SkBitmap* bitmap, int meshWidth, int meshHeight,
|
H A D | OpenGLRenderer.cpp | 1726 status_t OpenGLRenderer::drawBitmapMesh(SkBitmap* bitmap, int meshWidth, int meshHeight, argument 1738 const uint32_t count = meshWidth * meshHeight * 6; 1744 for (int32_t y = 0; y < meshHeight; y++) { 1750 float v1 = float(y) / meshHeight; 1751 float v2 = float(y + 1) / meshHeight;
|
H A D | DisplayListRenderer.h | 589 virtual status_t drawBitmapMesh(SkBitmap* bitmap, int meshWidth, int meshHeight,
|
/frameworks/base/core/jni/ |
H A D | android_view_GLES20Canvas.cpp | 387 jint meshWidth, jint meshHeight, jfloatArray vertices, jint offset, 395 renderer->drawBitmapMesh(bitmap, meshWidth, meshHeight, verticesArray, colorsArray, paint); 385 android_view_GLES20Canvas_drawBitmapMesh(JNIEnv* env, jobject clazz, OpenGLRenderer* renderer, SkBitmap* bitmap, jbyteArray buffer, jint meshWidth, jint meshHeight, jfloatArray vertices, jint offset, jintArray colors, jint colorOffset, SkPaint* paint) argument
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | Canvas_Delegate.java | 963 int meshWidth, int meshHeight, float[] verts, int vertOffset, int[] colors, 962 nativeDrawBitmapMesh(int nCanvas, int nBitmap, int meshWidth, int meshHeight, float[] verts, int vertOffset, int[] colors, int colorOffset, int nPaint) argument
|