/frameworks/base/libs/hwui/ |
D | SkiaCanvas.cpp | 565 void SkiaCanvas::drawBitmapMesh(Bitmap& hwuiBitmap, int meshWidth, int meshHeight, in drawBitmapMesh() argument 569 const int ptCount = (meshWidth + 1) * (meshHeight + 1); in drawBitmapMesh() 570 const int indexCount = meshWidth * meshHeight * 6; in drawBitmapMesh() 587 const SkScalar dx = w / meshWidth; in drawBitmapMesh() 597 for (int j = 0; j < meshWidth; j++) { in drawBitmapMesh() 614 for (int j = 0; j < meshWidth; j++) { in drawBitmapMesh() 617 *indexPtr++ = index + meshWidth + 1; in drawBitmapMesh() 618 *indexPtr++ = index + meshWidth + 2; in drawBitmapMesh() 621 *indexPtr++ = index + meshWidth + 2; in drawBitmapMesh()
|
D | RecordedOp.h | 224 BitmapMeshOp(BASE_PARAMS, Bitmap* bitmap, int meshWidth, int meshHeight, in BitmapMeshOp() 228 , meshWidth(meshWidth) in BitmapMeshOp() 233 const int meshWidth; member
|
D | BakedOpDispatcher.cpp | 445 const uint32_t elementCount = op.meshWidth * op.meshHeight * 6; in onBitmapMeshOp() 453 uint32_t colorsCount = (op.meshWidth + 1) * (op.meshHeight + 1); in onBitmapMeshOp() 460 for (int32_t x = 0; x < op.meshWidth; x++) { in onBitmapMeshOp() 461 uint32_t i = (y * (op.meshWidth + 1) + x) * 2; in onBitmapMeshOp() 463 float u1 = float(x) / op.meshWidth; in onBitmapMeshOp() 464 float u2 = float(x + 1) / op.meshWidth; in onBitmapMeshOp() 468 int ax = i + (op.meshWidth + 1) * 2; in onBitmapMeshOp() 474 int dx = i + (op.meshWidth + 1) * 2 + 2; in onBitmapMeshOp()
|
D | RecordingCanvas.cpp | 520 void RecordingCanvas::drawBitmapMesh(Bitmap& bitmap, int meshWidth, int meshHeight, in drawBitmapMesh() argument 522 int vertexCount = (meshWidth + 1) * (meshHeight + 1); in drawBitmapMesh() 527 refPaint(paint), refBitmap(bitmap), meshWidth, meshHeight, in drawBitmapMesh()
|
D | SkiaCanvas.h | 135 virtual void drawBitmapMesh(Bitmap& bitmap, int meshWidth, int meshHeight,
|
D | RecordingCanvas.h | 184 virtual void drawBitmapMesh(Bitmap& bitmap, int meshWidth, int meshHeight,
|
/frameworks/base/graphics/java/android/graphics/ |
D | BaseCanvas.java | 204 public void drawBitmapMesh(@NonNull Bitmap bitmap, int meshWidth, int meshHeight, in drawBitmapMesh() argument 207 if ((meshWidth | meshHeight | vertOffset | colorOffset) < 0) { in drawBitmapMesh() 211 if (meshWidth == 0 || meshHeight == 0) { in drawBitmapMesh() 214 int count = (meshWidth + 1) * (meshHeight + 1); in drawBitmapMesh() 221 nDrawBitmapMesh(mNativeCanvasWrapper, bitmap, meshWidth, meshHeight, in drawBitmapMesh() 608 private static native void nDrawBitmapMesh(long nativeCanvas, Bitmap bitmap, int meshWidth, in nDrawBitmapMesh() argument
|
D | Canvas.java | 1509 public void drawBitmapMesh(@NonNull Bitmap bitmap, int meshWidth, int meshHeight, in drawBitmapMesh() argument 1512 super.drawBitmapMesh(bitmap, meshWidth, meshHeight, verts, vertOffset, colors, colorOffset, in drawBitmapMesh()
|
/frameworks/base/core/java/android/view/ |
D | RecordingCanvas.java | 184 public final void drawBitmapMesh(@NonNull Bitmap bitmap, int meshWidth, int meshHeight, in drawBitmapMesh() argument 187 if ((meshWidth | meshHeight | vertOffset | colorOffset) < 0) { in drawBitmapMesh() 190 if (meshWidth == 0 || meshHeight == 0) { in drawBitmapMesh() 193 int count = (meshWidth + 1) * (meshHeight + 1); in drawBitmapMesh() 200 nDrawBitmapMesh(mNativeCanvasWrapper, bitmap, meshWidth, meshHeight, in drawBitmapMesh() 606 private static native void nDrawBitmapMesh(long nativeCanvas, Bitmap bitmap, int meshWidth, in nDrawBitmapMesh() argument
|
/frameworks/base/libs/hwui/hwui/ |
D | Canvas.h | 243 virtual void drawBitmapMesh(Bitmap& bitmap, int meshWidth, int meshHeight,
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/graphics/ |
D | NopCanvas.java | 243 public void drawBitmapMesh(Bitmap bitmap, int meshWidth, int meshHeight, float[] verts, in drawBitmapMesh() argument
|
/frameworks/base/core/jni/ |
D | android_graphics_Canvas.cpp | 463 jint meshWidth, jint meshHeight, jfloatArray jverts, in drawBitmapMesh() argument 465 const int ptCount = (meshWidth + 1) * (meshHeight + 1); in drawBitmapMesh() 471 get_canvas(canvasHandle)->drawBitmapMesh(bitmap, meshWidth, meshHeight, in drawBitmapMesh()
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
D | BaseCanvas_Delegate.java | 460 int meshWidth, int meshHeight, float[] verts, int vertOffset, int[] colors, in nDrawBitmapMesh() argument
|