/frameworks/base/libs/hwui/ |
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, in drawBitmapMesh() argument 571 const int ptCount = (meshWidth + 1) * (meshHeight + 1); in drawBitmapMesh() 572 const int indexCount = meshWidth * meshHeight * 6; in drawBitmapMesh() 596 const SkScalar dy = h / meshHeight; in drawBitmapMesh() 600 for (int i = 0; i <= meshHeight; i++) { in drawBitmapMesh() 601 if (i == meshHeight) { in drawBitmapMesh() 621 for (int i = 0; i < meshHeight; i++) { in drawBitmapMesh()
|
D | DisplayListCanvas.cpp | 322 void DisplayListCanvas::drawBitmapMesh(const SkBitmap& bitmap, int meshWidth, int meshHeight, in drawBitmapMesh() argument 324 int vertexCount = (meshWidth + 1) * (meshHeight + 1); in drawBitmapMesh() 329 addDrawOp(new (alloc()) DrawBitmapMeshOp(refBitmap(bitmap), meshWidth, meshHeight, in drawBitmapMesh()
|
D | Canvas.h | 141 virtual void drawBitmapMesh(const SkBitmap& bitmap, int meshWidth, int meshHeight,
|
D | OpenGLRenderer.cpp | 1574 void OpenGLRenderer::drawBitmapMesh(const SkBitmap* bitmap, int meshWidth, int meshHeight, 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;
|
D | DisplayListCanvas.h | 227 virtual void drawBitmapMesh(const SkBitmap& bitmap, int meshWidth, int meshHeight,
|
D | DisplayListOp.h | 759 DrawBitmapMeshOp(const SkBitmap* bitmap, int meshWidth, int meshHeight, in DrawBitmapMeshOp() argument 761 : DrawBoundedOp(vertices, 2 * (meshWidth + 1) * (meshHeight + 1), paint), in DrawBitmapMeshOp() 762 mBitmap(bitmap), mMeshWidth(meshWidth), mMeshHeight(meshHeight), in DrawBitmapMeshOp()
|
D | OpenGLRenderer.h | 195 void drawBitmapMesh(const SkBitmap* bitmap, int meshWidth, int meshHeight,
|
/frameworks/base/graphics/java/android/graphics/ |
D | Canvas.java | 1539 public void drawBitmapMesh(@NonNull Bitmap bitmap, int meshWidth, int meshHeight, in drawBitmapMesh() argument 1542 if ((meshWidth | meshHeight | vertOffset | colorOffset) < 0) { in drawBitmapMesh() 1545 if (meshWidth == 0 || meshHeight == 0) { in drawBitmapMesh() 1548 int count = (meshWidth + 1) * (meshHeight + 1); in drawBitmapMesh() 1555 nativeDrawBitmapMesh(mNativeCanvasWrapper, bitmap, meshWidth, meshHeight, in drawBitmapMesh() 2088 int meshWidth, int meshHeight, in nativeDrawBitmapMesh() argument
|
/frameworks/base/core/jni/ |
D | android_graphics_Canvas.cpp | 413 jint meshWidth, jint meshHeight, jfloatArray jverts, in drawBitmapMesh() argument 415 const int ptCount = (meshWidth + 1) * (meshHeight + 1); in drawBitmapMesh() 422 get_canvas(canvasHandle)->drawBitmapMesh(bitmap, meshWidth, meshHeight, in drawBitmapMesh()
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
D | Canvas_Delegate.java | 831 int meshWidth, int meshHeight, float[] verts, int vertOffset, int[] colors, in nativeDrawBitmapMesh() argument
|