/frameworks/base/libs/hwui/ |
H A D | SkiaCanvas.cpp | 117 virtual void drawBitmapMesh(const SkBitmap& bitmap, int meshWidth, int meshHeight, 568 void SkiaCanvas::drawBitmapMesh(const SkBitmap& bitmap, int meshWidth, int meshHeight, argument 571 const int ptCount = (meshWidth + 1) * (meshHeight + 1); 572 const int indexCount = meshWidth * meshHeight * 6; 596 const SkScalar dy = h / meshHeight; 600 for (int i = 0; i <= meshHeight; i++) { 601 if (i == meshHeight) { 621 for (int i = 0; i < meshHeight; i++) {
|
H A D | Canvas.h | 141 virtual void drawBitmapMesh(const SkBitmap& bitmap, int meshWidth, int meshHeight,
|
H A D | DisplayListCanvas.cpp | 322 void DisplayListCanvas::drawBitmapMesh(const SkBitmap& bitmap, int meshWidth, int meshHeight, argument 324 int vertexCount = (meshWidth + 1) * (meshHeight + 1); 329 addDrawOp(new (alloc()) DrawBitmapMeshOp(refBitmap(bitmap), meshWidth, meshHeight,
|
H A D | DisplayListCanvas.h | 227 virtual void drawBitmapMesh(const SkBitmap& bitmap, int meshWidth, int meshHeight,
|
H A D | DisplayListOp.h | 759 DrawBitmapMeshOp(const SkBitmap* bitmap, int meshWidth, int meshHeight, argument 761 : DrawBoundedOp(vertices, 2 * (meshWidth + 1) * (meshHeight + 1), paint), 762 mBitmap(bitmap), mMeshWidth(meshWidth), mMeshHeight(meshHeight),
|
H A D | OpenGLRenderer.h | 195 void drawBitmapMesh(const SkBitmap* bitmap, int meshWidth, int meshHeight,
|
H A D | OpenGLRenderer.cpp | 1574 void OpenGLRenderer::drawBitmapMesh(const SkBitmap* bitmap, int meshWidth, int meshHeight, argument 1585 const uint32_t elementCount = meshWidth * meshHeight * 6; 1592 uint32_t colorsCount = (meshWidth + 1) * (meshHeight + 1); 1601 for (int32_t y = 0; y < meshHeight; y++) { 1607 float v1 = float(y) / meshHeight; 1608 float v2 = float(y + 1) / meshHeight;
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | Canvas.java | 1516 * meshHeight+1 vertices down. The verts array is accessed in row-major 1524 * @param meshHeight The number of rows in the mesh. Nothing is drawn if 1528 * (meshWidth+1) * (meshHeight+1) * 2 + vertOffset values 1534 * there must be at least (meshWidth+1) * (meshHeight+1) + 1539 public void drawBitmapMesh(@NonNull Bitmap bitmap, int meshWidth, int meshHeight, argument 1542 if ((meshWidth | meshHeight | vertOffset | colorOffset) < 0) { 1545 if (meshWidth == 0 || meshHeight == 0) { 1548 int count = (meshWidth + 1) * (meshHeight + 1); 1555 nativeDrawBitmapMesh(mNativeCanvasWrapper, bitmap, meshWidth, meshHeight, 2088 int meshWidth, int meshHeight, 2086 nativeDrawBitmapMesh(long nativeCanvas, Bitmap bitmap, 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 | 413 jint meshWidth, jint meshHeight, jfloatArray jverts, 415 const int ptCount = (meshWidth + 1) * (meshHeight + 1); 422 get_canvas(canvasHandle)->drawBitmapMesh(bitmap, meshWidth, meshHeight, 412 drawBitmapMesh(JNIEnv* env, jobject, jlong canvasHandle, jobject jbitmap, jint meshWidth, jint meshHeight, jfloatArray jverts, jint vertIndex, jintArray jcolors, jint colorIndex, jlong paintHandle) argument
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | Canvas_Delegate.java | 831 int meshWidth, int meshHeight, float[] verts, int vertOffset, int[] colors, 830 nativeDrawBitmapMesh(long nCanvas, Bitmap bitmap, int meshWidth, int meshHeight, float[] verts, int vertOffset, int[] colors, int colorOffset, long nPaint) argument
|