Home
last modified time | relevance | path

Searched refs:meshHeight (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/libs/hwui/
DSkiaCanvas.cpp568 void SkiaCanvas::drawBitmapMesh(Bitmap& bitmap, int meshWidth, int meshHeight, in drawBitmapMesh() argument
570 const int ptCount = (meshWidth + 1) * (meshHeight + 1); in drawBitmapMesh()
571 const int indexCount = meshWidth * meshHeight * 6; in drawBitmapMesh()
589 const SkScalar dy = h / meshHeight; in drawBitmapMesh()
593 for (int i = 0; i <= meshHeight; i++) { in drawBitmapMesh()
594 if (i == meshHeight) { in drawBitmapMesh()
614 for (int i = 0; i < meshHeight; i++) { in drawBitmapMesh()
DSkiaCanvas.h129 virtual void drawBitmapMesh(Bitmap& bitmap, int meshWidth, int meshHeight,
/frameworks/base/graphics/java/android/graphics/
DBaseCanvas.java215 public void drawBitmapMesh(@NonNull Bitmap bitmap, int meshWidth, int meshHeight, in drawBitmapMesh() argument
218 if ((meshWidth | meshHeight | vertOffset | colorOffset) < 0) { in drawBitmapMesh()
222 if (meshWidth == 0 || meshHeight == 0) { in drawBitmapMesh()
225 int count = (meshWidth + 1) * (meshHeight + 1); in drawBitmapMesh()
232 nDrawBitmapMesh(mNativeCanvasWrapper, bitmap.getNativeInstance(), meshWidth, meshHeight, in drawBitmapMesh()
730 int meshHeight, float[] verts, int vertOffset, int[] colors, int colorOffset, in nDrawBitmapMesh() argument
DBaseRecordingCanvas.java175 public final void drawBitmapMesh(@NonNull Bitmap bitmap, int meshWidth, int meshHeight, in drawBitmapMesh() argument
178 if ((meshWidth | meshHeight | vertOffset | colorOffset) < 0) { in drawBitmapMesh()
181 if (meshWidth == 0 || meshHeight == 0) { in drawBitmapMesh()
184 int count = (meshWidth + 1) * (meshHeight + 1); in drawBitmapMesh()
191 nDrawBitmapMesh(mNativeCanvasWrapper, bitmap.getNativeInstance(), meshWidth, meshHeight, in drawBitmapMesh()
668 int meshHeight, float[] verts, int vertOffset, int[] colors, int colorOffset, in nDrawBitmapMesh() argument
DCanvas.java1667 public void drawBitmapMesh(@NonNull Bitmap bitmap, int meshWidth, int meshHeight, in drawBitmapMesh() argument
1670 super.drawBitmapMesh(bitmap, meshWidth, meshHeight, verts, vertOffset, colors, colorOffset, in drawBitmapMesh()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/graphics/
DNopCanvas.java243 public void drawBitmapMesh(Bitmap bitmap, int meshWidth, int meshHeight, float[] verts, in drawBitmapMesh() argument
/frameworks/base/libs/hwui/hwui/
DCanvas.h260 virtual void drawBitmapMesh(Bitmap& bitmap, int meshWidth, int meshHeight,
/frameworks/base/core/jni/
Dandroid_graphics_Canvas.cpp521 jint meshWidth, jint meshHeight, jfloatArray jverts, in drawBitmapMesh() argument
530 const int ptCount = (meshWidth + 1) * (meshHeight + 1); in drawBitmapMesh()
536 get_canvas(canvasHandle)->drawBitmapMesh(bitmap, meshWidth, meshHeight, in drawBitmapMesh()
/frameworks/layoutlib/bridge/src/android/graphics/
DBaseCanvas_Delegate.java512 int meshWidth, int meshHeight, float[] verts, int vertOffset, int[] colors, in nDrawBitmapMesh() argument