/frameworks/base/core/jni/android/graphics/ |
H A D | SkiaCanvas.cpp | 116 virtual void drawBitmapMesh(const SkBitmap& bitmap, int meshWidth, int meshHeight, 576 void SkiaCanvas::drawBitmapMesh(const SkBitmap& bitmap, int meshWidth, int meshHeight, argument 579 const int ptCount = (meshWidth + 1) * (meshHeight + 1); 580 const int indexCount = meshWidth * meshHeight * 6; 604 const SkScalar dy = h / meshHeight; 608 for (int i = 0; i <= meshHeight; i++) { 609 if (i == meshHeight) { 629 for (int i = 0; i < meshHeight; i++) {
|
/frameworks/base/include/private/graphics/ |
H A D | Canvas.h | 120 virtual void drawBitmapMesh(const SkBitmap& bitmap, int meshWidth, int meshHeight,
|
/frameworks/base/libs/hwui/ |
H A D | DisplayListRenderer.cpp | 236 status_t DisplayListRenderer::drawBitmapMesh(const SkBitmap* bitmap, int meshWidth, int meshHeight, argument 238 int vertexCount = (meshWidth + 1) * (meshHeight + 1); 244 addDrawOp(new (alloc()) DrawBitmapMeshOp(bitmap, meshWidth, meshHeight,
|
H A D | Renderer.h | 182 virtual status_t drawBitmapMesh(const SkBitmap* bitmap, int meshWidth, int meshHeight,
|
H A D | DisplayListRenderer.h | 115 virtual status_t drawBitmapMesh(const SkBitmap* bitmap, int meshWidth, int meshHeight,
|
H A D | DisplayListOp.h | 804 DrawBitmapMeshOp(const SkBitmap* bitmap, int meshWidth, int meshHeight, argument 806 : DrawBoundedOp(vertices, 2 * (meshWidth + 1) * (meshHeight + 1), paint), 807 mBitmap(bitmap), mMeshWidth(meshWidth), mMeshHeight(meshHeight),
|
H A D | OpenGLRenderer.h | 177 virtual status_t drawBitmapMesh(const SkBitmap* bitmap, int meshWidth, int meshHeight,
|
H A D | OpenGLRenderer.cpp | 2083 status_t OpenGLRenderer::drawBitmapMesh(const SkBitmap* bitmap, int meshWidth, int meshHeight, argument 2097 const uint32_t count = meshWidth * meshHeight * 6; 2105 uint32_t colorsCount = (meshWidth + 1) * (meshHeight + 1); 2116 for (int32_t y = 0; y < meshHeight; y++) { 2122 float v1 = float(y) / meshHeight; 2123 float v2 = float(y + 1) / meshHeight;
|
/frameworks/base/core/java/android/view/ |
H A D | GLES20Canvas.java | 682 public void drawBitmapMesh(Bitmap bitmap, int meshWidth, int meshHeight, float[] verts, argument 685 if (meshWidth < 0 || meshHeight < 0 || vertOffset < 0 || colorOffset < 0) { 689 if (meshWidth == 0 || meshHeight == 0) { 693 final int count = (meshWidth + 1) * (meshHeight + 1); 701 nDrawBitmapMesh(mRenderer, bitmap.mNativeBitmap, bitmap.mBuffer, meshWidth, meshHeight, 706 int meshWidth, int meshHeight, float[] verts, int vertOffset, 705 nDrawBitmapMesh(long renderer, long bitmap, byte[] buffer, int meshWidth, int meshHeight, float[] verts, int vertOffset, int[] colors, int colorOffset, long paint) argument
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | Canvas.java | 1471 * meshHeight+1 vertices down. The verts array is accessed in row-major 1479 * @param meshHeight The number of rows in the mesh. Nothing is drawn if 1483 * (meshWidth+1) * (meshHeight+1) * 2 + vertOffset values 1489 * there must be at least (meshWidth+1) * (meshHeight+1) + 1494 public void drawBitmapMesh(@NonNull Bitmap bitmap, int meshWidth, int meshHeight, argument 1497 if ((meshWidth | meshHeight | vertOffset | colorOffset) < 0) { 1500 if (meshWidth == 0 || meshHeight == 0) { 1503 int count = (meshWidth + 1) * (meshHeight + 1); 1510 nativeDrawBitmapMesh(mNativeCanvasWrapper, bitmap.ni(), meshWidth, meshHeight, 2011 int meshWidth, int meshHeight, 2009 nativeDrawBitmapMesh(long nativeCanvas, long nativeBitmap, int meshWidth, int meshHeight, float[] verts, int vertOffset, int[] colors, int colorOffset, long nativePaint) argument [all...] |
/frameworks/base/core/jni/ |
H A D | android_graphics_Canvas.cpp | 399 jint meshWidth, jint meshHeight, jfloatArray jverts, 401 const int ptCount = (meshWidth + 1) * (meshHeight + 1); 407 get_canvas(canvasHandle)->drawBitmapMesh(*bitmap, meshWidth, meshHeight, 398 drawBitmapMesh(JNIEnv* env, jobject, jlong canvasHandle, jlong bitmapHandle, jint meshWidth, jint meshHeight, jfloatArray jverts, jint vertIndex, jintArray jcolors, jint colorIndex, jlong paintHandle) argument
|
H A D | android_view_GLES20Canvas.cpp | 430 jint meshWidth, jint meshHeight, jfloatArray vertices, jint offset, jintArray colors, 441 renderer->drawBitmapMesh(bitmap, meshWidth, meshHeight, verticesArray, colorsArray, paint); 428 android_view_GLES20Canvas_drawBitmapMesh(JNIEnv* env, jobject clazz, jlong rendererPtr, jlong bitmapPtr, jbyteArray buffer, jint meshWidth, jint meshHeight, jfloatArray vertices, jint offset, jintArray colors, jint colorOffset, jlong paintPtr) argument
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | Canvas_Delegate.java | 825 int meshWidth, int meshHeight, float[] verts, int vertOffset, int[] colors, 824 nativeDrawBitmapMesh(long nCanvas, long nBitmap, int meshWidth, int meshHeight, float[] verts, int vertOffset, int[] colors, int colorOffset, long nPaint) argument
|