/frameworks/base/libs/hwui/ |
H A D | RecordedOp.h | 224 BitmapMeshOp(BASE_PARAMS, Bitmap* bitmap, int meshWidth, int meshHeight, argument 229 , meshHeight(meshHeight) 234 const int meshHeight; member in struct:android::uirenderer::BitmapMeshOp
|
H A D | RecordingCanvas.cpp | 520 void RecordingCanvas::drawBitmapMesh(Bitmap& bitmap, int meshWidth, int meshHeight, argument 522 int vertexCount = (meshWidth + 1) * (meshHeight + 1); 527 refPaint(paint), refBitmap(bitmap), meshWidth, meshHeight, local
|
H A D | SkiaCanvas.cpp | 550 void SkiaCanvas::drawBitmapMesh(Bitmap& hwuiBitmap, int meshWidth, int meshHeight, argument 552 const int ptCount = (meshWidth + 1) * (meshHeight + 1); 553 const int indexCount = meshWidth * meshHeight * 6; 571 const SkScalar dy = h / meshHeight; 575 for (int i = 0; i <= meshHeight; i++) { 576 if (i == meshHeight) { 596 for (int i = 0; i < meshHeight; i++) {
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/graphics/ |
H A D | NopCanvas.java | 243 public void drawBitmapMesh(Bitmap bitmap, int meshWidth, int meshHeight, float[] verts, argument
|
/frameworks/base/core/java/android/view/ |
H A D | RecordingCanvas.java | 184 public final void drawBitmapMesh(@NonNull Bitmap bitmap, int meshWidth, int meshHeight, argument 187 if ((meshWidth | meshHeight | vertOffset | colorOffset) < 0) { 190 if (meshWidth == 0 || meshHeight == 0) { 193 int count = (meshWidth + 1) * (meshHeight + 1); 200 nDrawBitmapMesh(mNativeCanvasWrapper, bitmap, meshWidth, meshHeight, 607 int meshHeight, float[] verts, int vertOffset, int[] colors, int colorOffset, 606 nDrawBitmapMesh(long nativeCanvas, Bitmap bitmap, int meshWidth, int meshHeight, float[] verts, int vertOffset, int[] colors, int colorOffset, long nativePaint) argument
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | BaseCanvas.java | 204 public void drawBitmapMesh(@NonNull Bitmap bitmap, int meshWidth, int meshHeight, argument 207 if ((meshWidth | meshHeight | vertOffset | colorOffset) < 0) { 211 if (meshWidth == 0 || meshHeight == 0) { 214 int count = (meshWidth + 1) * (meshHeight + 1); 221 nDrawBitmapMesh(mNativeCanvasWrapper, bitmap, meshWidth, meshHeight, 609 int meshHeight, float[] verts, int vertOffset, int[] colors, int colorOffset, 608 nDrawBitmapMesh(long nativeCanvas, Bitmap bitmap, int meshWidth, int meshHeight, float[] verts, int vertOffset, int[] colors, int colorOffset, long nativePaint) argument
|
H A D | Canvas.java | 1491 * bitmap. There are meshWidth+1 vertices across, and meshHeight+1 vertices down. The verts 1498 * @param meshHeight The number of rows in the mesh. Nothing is drawn if this is 0 1500 * least (meshWidth+1) * (meshHeight+1) * 2 + vertOffset values in the array 1504 * null, there must be at least (meshWidth+1) * (meshHeight+1) + colorOffset values 1509 public void drawBitmapMesh(@NonNull Bitmap bitmap, int meshWidth, int meshHeight, argument 1512 super.drawBitmapMesh(bitmap, meshWidth, meshHeight, verts, vertOffset, colors, colorOffset,
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
H A D | BaseCanvas_Delegate.java | 459 int meshWidth, int meshHeight, float[] verts, int vertOffset, int[] colors, 458 nDrawBitmapMesh(long nCanvas, Bitmap bitmap, int meshWidth, int meshHeight, float[] verts, int vertOffset, int[] colors, int colorOffset, long nPaint) argument
|
/frameworks/base/core/jni/ |
H A D | android_graphics_Canvas.cpp | 469 jint meshWidth, jint meshHeight, jfloatArray jverts, 471 const int ptCount = (meshWidth + 1) * (meshHeight + 1); 477 get_canvas(canvasHandle)->drawBitmapMesh(bitmap, meshWidth, meshHeight, 468 drawBitmapMesh(JNIEnv* env, jobject, jlong canvasHandle, jobject jbitmap, jint meshWidth, jint meshHeight, jfloatArray jverts, jint vertIndex, jintArray jcolors, jint colorIndex, jlong paintHandle) argument
|