/frameworks/base/libs/hwui/ |
D | SkiaCanvas.cpp | 144 virtual void drawBitmapMesh(const SkBitmap& bitmap, int meshWidth, int meshHeight, 647 void SkiaCanvas::drawBitmapMesh(const SkBitmap& bitmap, int meshWidth, int meshHeight, in drawBitmapMesh() argument 650 const int ptCount = (meshWidth + 1) * (meshHeight + 1); in drawBitmapMesh() 651 const int indexCount = meshWidth * meshHeight * 6; in drawBitmapMesh() 674 const SkScalar dx = w / meshWidth; in drawBitmapMesh() 684 for (int j = 0; j < meshWidth; j++) { in drawBitmapMesh() 701 for (int j = 0; j < meshWidth; j++) { in drawBitmapMesh() 704 *indexPtr++ = index + meshWidth + 1; in drawBitmapMesh() 705 *indexPtr++ = index + meshWidth + 2; in drawBitmapMesh() 708 *indexPtr++ = index + meshWidth + 2; in drawBitmapMesh()
|
D | RecordedOp.h | 224 BitmapMeshOp(BASE_PARAMS, const SkBitmap* bitmap, int meshWidth, int meshHeight, in BitmapMeshOp() 228 , meshWidth(meshWidth) in BitmapMeshOp() 233 const int meshWidth; member
|
D | BakedOpDispatcher.cpp | 446 const uint32_t elementCount = op.meshWidth * op.meshHeight * 6; in onBitmapMeshOp() 454 uint32_t colorsCount = (op.meshWidth + 1) * (op.meshHeight + 1); in onBitmapMeshOp() 464 for (int32_t x = 0; x < op.meshWidth; x++) { in onBitmapMeshOp() 465 uint32_t i = (y * (op.meshWidth + 1) + x) * 2; in onBitmapMeshOp() 467 float u1 = float(x) / op.meshWidth; in onBitmapMeshOp() 468 float u2 = float(x + 1) / op.meshWidth; in onBitmapMeshOp() 474 int ax = i + (op.meshWidth + 1) * 2; in onBitmapMeshOp() 480 int dx = i + (op.meshWidth + 1) * 2 + 2; in onBitmapMeshOp()
|
D | DisplayListCanvas.cpp | 312 void DisplayListCanvas::drawBitmapMesh(const SkBitmap& bitmap, int meshWidth, int meshHeight, in drawBitmapMesh() argument 314 int vertexCount = (meshWidth + 1) * (meshHeight + 1); in drawBitmapMesh() 319 addDrawOp(new (alloc()) DrawBitmapMeshOp(refBitmap(bitmap), meshWidth, meshHeight, in drawBitmapMesh()
|
D | OpenGLRenderer.cpp | 1511 void OpenGLRenderer::drawBitmapMesh(const SkBitmap* bitmap, int meshWidth, int meshHeight, 1522 const uint32_t elementCount = meshWidth * meshHeight * 6; 1529 uint32_t colorsCount = (meshWidth + 1) * (meshHeight + 1); 1539 for (int32_t x = 0; x < meshWidth; x++) { 1540 uint32_t i = (y * (meshWidth + 1) + x) * 2; 1542 float u1 = float(x) / meshWidth; 1543 float u2 = float(x + 1) / meshWidth; 1549 int ax = i + (meshWidth + 1) * 2; 1555 int dx = i + (meshWidth + 1) * 2 + 2;
|
D | RecordingCanvas.cpp | 505 void RecordingCanvas::drawBitmapMesh(const SkBitmap& bitmap, int meshWidth, int meshHeight, in drawBitmapMesh() argument 507 int vertexCount = (meshWidth + 1) * (meshHeight + 1); in drawBitmapMesh() 512 refPaint(paint), refBitmap(bitmap), meshWidth, meshHeight, in drawBitmapMesh()
|
D | DisplayListCanvas.h | 204 virtual void drawBitmapMesh(const SkBitmap& bitmap, int meshWidth, int meshHeight,
|
D | RecordingCanvas.h | 185 virtual void drawBitmapMesh(const SkBitmap& bitmap, int meshWidth, int meshHeight,
|
D | OpenGLRenderer.h | 175 void drawBitmapMesh(const SkBitmap* bitmap, int meshWidth, int meshHeight,
|
D | DisplayListOp.h | 741 DrawBitmapMeshOp(const SkBitmap* bitmap, int meshWidth, int meshHeight, in DrawBitmapMeshOp() argument 743 : DrawBoundedOp(vertices, 2 * (meshWidth + 1) * (meshHeight + 1), paint), in DrawBitmapMeshOp() 744 mBitmap(bitmap), mMeshWidth(meshWidth), mMeshHeight(meshHeight), in DrawBitmapMeshOp()
|
/frameworks/base/graphics/java/android/graphics/ |
D | Canvas.java | 1550 public void drawBitmapMesh(@NonNull Bitmap bitmap, int meshWidth, int meshHeight, in drawBitmapMesh() argument 1553 if ((meshWidth | meshHeight | vertOffset | colorOffset) < 0) { in drawBitmapMesh() 1556 if (meshWidth == 0 || meshHeight == 0) { in drawBitmapMesh() 1559 int count = (meshWidth + 1) * (meshHeight + 1); in drawBitmapMesh() 1566 nativeDrawBitmapMesh(mNativeCanvasWrapper, bitmap, meshWidth, meshHeight, in drawBitmapMesh() 2109 int meshWidth, int meshHeight, in nativeDrawBitmapMesh() argument
|
/frameworks/base/core/jni/ |
D | android_graphics_Canvas.cpp | 464 jint meshWidth, jint meshHeight, jfloatArray jverts, in drawBitmapMesh() argument 466 const int ptCount = (meshWidth + 1) * (meshHeight + 1); in drawBitmapMesh() 473 get_canvas(canvasHandle)->drawBitmapMesh(bitmap, meshWidth, meshHeight, in drawBitmapMesh()
|
/frameworks/base/libs/hwui/hwui/ |
D | Canvas.h | 205 virtual void drawBitmapMesh(const SkBitmap& bitmap, int meshWidth, int meshHeight,
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/graphics/ |
D | NopCanvas.java | 239 public void drawBitmapMesh(Bitmap bitmap, int meshWidth, int meshHeight, float[] verts, in drawBitmapMesh() argument
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
D | Canvas_Delegate.java | 919 int meshWidth, int meshHeight, float[] verts, int vertOffset, int[] colors, in nativeDrawBitmapMesh() argument
|