/frameworks/base/libs/hwui/ |
H A D | RecordedOp.h | 224 BitmapMeshOp(BASE_PARAMS, Bitmap* bitmap, int meshWidth, int meshHeight, argument 228 , meshWidth(meshWidth) 233 const int meshWidth; 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 | 565 void SkiaCanvas::drawBitmapMesh(Bitmap& hwuiBitmap, int meshWidth, int meshHeight, argument 569 const int ptCount = (meshWidth + 1) * (meshHeight + 1); 570 const int indexCount = meshWidth * meshHeight * 6; 587 const SkScalar dx = w / meshWidth; 597 for (int j = 0; j < meshWidth; j++) { 614 for (int j = 0; j < meshWidth; j++) { 617 *indexPtr++ = index + meshWidth + 1; 618 *indexPtr++ = index + meshWidth + 2; 621 *indexPtr++ = index + meshWidth + 2;
|
/frameworks/base/tools/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, 606 private static native void nDrawBitmapMesh(long nativeCanvas, Bitmap bitmap, int meshWidth, 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, 608 private static native void nDrawBitmapMesh(long nativeCanvas, Bitmap bitmap, int meshWidth, argument
|
H A D | Canvas.java | 1491 * bitmap. There are meshWidth+1 vertices across, and meshHeight+1 vertices down. The verts 1492 * array is accessed in row-major order, so that the first meshWidth+1 vertices are distributed 1497 * @param meshWidth The number of columns 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/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | BaseCanvas_Delegate.java | 460 int meshWidth, int meshHeight, float[] verts, int vertOffset, int[] colors, 459 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 | 463 jint meshWidth, jint meshHeight, jfloatArray jverts, 465 const int ptCount = (meshWidth + 1) * (meshHeight + 1); 471 get_canvas(canvasHandle)->drawBitmapMesh(bitmap, meshWidth, meshHeight, 462 drawBitmapMesh(JNIEnv* env, jobject, jlong canvasHandle, jobject jbitmap, jint meshWidth, jint meshHeight, jfloatArray jverts, jint vertIndex, jintArray jcolors, jint colorIndex, jlong paintHandle) argument
|