/frameworks/base/libs/hwui/ |
H A D | RecordedOp.h | 224 BitmapMeshOp(BASE_PARAMS, const SkBitmap* bitmap, int meshWidth, int meshHeight, argument 229 , meshHeight(meshHeight) 234 const int meshHeight; member in struct:android::uirenderer::BitmapMeshOp
|
H A D | DisplayListCanvas.cpp | 312 void DisplayListCanvas::drawBitmapMesh(const SkBitmap& bitmap, int meshWidth, int meshHeight, argument 314 int vertexCount = (meshWidth + 1) * (meshHeight + 1); 319 addDrawOp(new (alloc()) DrawBitmapMeshOp(refBitmap(bitmap), meshWidth, meshHeight,
|
H A D | RecordingCanvas.cpp | 505 void RecordingCanvas::drawBitmapMesh(const SkBitmap& bitmap, int meshWidth, int meshHeight, argument 507 int vertexCount = (meshWidth + 1) * (meshHeight + 1); 512 refPaint(paint), refBitmap(bitmap), meshWidth, meshHeight, local
|
H A D | DisplayListOp.h | 741 DrawBitmapMeshOp(const SkBitmap* bitmap, int meshWidth, int meshHeight, argument 743 : DrawBoundedOp(vertices, 2 * (meshWidth + 1) * (meshHeight + 1), paint), 744 mBitmap(bitmap), mMeshWidth(meshWidth), mMeshHeight(meshHeight),
|
H A 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, argument 650 const int ptCount = (meshWidth + 1) * (meshHeight + 1); 651 const int indexCount = meshWidth * meshHeight * 6; 675 const SkScalar dy = h / meshHeight; 679 for (int i = 0; i <= meshHeight; i++) { 680 if (i == meshHeight) { 700 for (int i = 0; i < meshHeight; i++) {
|
H A D | OpenGLRenderer.cpp | 1511 void OpenGLRenderer::drawBitmapMesh(const SkBitmap* bitmap, int meshWidth, int meshHeight, argument 1522 const uint32_t elementCount = meshWidth * meshHeight * 6; 1529 uint32_t colorsCount = (meshWidth + 1) * (meshHeight + 1); 1538 for (int32_t y = 0; y < meshHeight; y++) { 1544 float v1 = float(y) / meshHeight; 1545 float v2 = float(y + 1) / meshHeight;
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/graphics/ |
H A D | NopCanvas.java | 239 public void drawBitmapMesh(Bitmap bitmap, int meshWidth, int meshHeight, float[] verts, argument
|
/frameworks/base/core/jni/ |
H A D | android_graphics_Canvas.cpp | 464 jint meshWidth, jint meshHeight, jfloatArray jverts, 466 const int ptCount = (meshWidth + 1) * (meshHeight + 1); 473 get_canvas(canvasHandle)->drawBitmapMesh(bitmap, meshWidth, meshHeight, 463 drawBitmapMesh(JNIEnv* env, jobject, jlong canvasHandle, jobject jbitmap, jint meshWidth, jint meshHeight, jfloatArray jverts, jint vertIndex, jintArray jcolors, jint colorIndex, jlong paintHandle) argument
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | Canvas_Delegate.java | 919 int meshWidth, int meshHeight, float[] verts, int vertOffset, int[] colors, 918 nativeDrawBitmapMesh(long nCanvas, Bitmap bitmap, int meshWidth, int meshHeight, float[] verts, int vertOffset, int[] colors, int colorOffset, long nPaint) argument
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | Canvas.java | 1527 * meshHeight+1 vertices down. The verts array is accessed in row-major 1535 * @param meshHeight The number of rows in the mesh. Nothing is drawn if 1539 * (meshWidth+1) * (meshHeight+1) * 2 + vertOffset values 1545 * there must be at least (meshWidth+1) * (meshHeight+1) + 1550 public void drawBitmapMesh(@NonNull Bitmap bitmap, int meshWidth, int meshHeight, argument 1553 if ((meshWidth | meshHeight | vertOffset | colorOffset) < 0) { 1556 if (meshWidth == 0 || meshHeight == 0) { 1559 int count = (meshWidth + 1) * (meshHeight + 1); 1566 nativeDrawBitmapMesh(mNativeCanvasWrapper, bitmap, meshWidth, meshHeight, 2109 int meshWidth, int meshHeight, 2107 nativeDrawBitmapMesh(long nativeCanvas, Bitmap bitmap, int meshWidth, int meshHeight, float[] verts, int vertOffset, int[] colors, int colorOffset, long nativePaint) argument [all...] |