Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DRecordedOp.h224 BitmapMeshOp(BASE_PARAMS, Bitmap* bitmap, int meshWidth, int meshHeight, in BitmapMeshOp()
229 , meshHeight(meshHeight) in BitmapMeshOp()
234 const int meshHeight; member
DSkiaCanvas.cpp550 void SkiaCanvas::drawBitmapMesh(Bitmap& hwuiBitmap, int meshWidth, int meshHeight, in drawBitmapMesh() argument
552 const int ptCount = (meshWidth + 1) * (meshHeight + 1); in drawBitmapMesh()
553 const int indexCount = meshWidth * meshHeight * 6; in drawBitmapMesh()
571 const SkScalar dy = h / meshHeight; in drawBitmapMesh()
575 for (int i = 0; i <= meshHeight; i++) { in drawBitmapMesh()
576 if (i == meshHeight) { in drawBitmapMesh()
596 for (int i = 0; i < meshHeight; i++) { in drawBitmapMesh()
DBakedOpDispatcher.cpp445 const uint32_t elementCount = op.meshWidth * op.meshHeight * 6; in onBitmapMeshOp()
453 uint32_t colorsCount = (op.meshWidth + 1) * (op.meshHeight + 1); in onBitmapMeshOp()
459 for (int32_t y = 0; y < op.meshHeight; y++) { in onBitmapMeshOp()
465 float v1 = float(y) / op.meshHeight; in onBitmapMeshOp()
466 float v2 = float(y + 1) / op.meshHeight; in onBitmapMeshOp()
DRecordingCanvas.cpp520 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()
DSkiaCanvas.h133 virtual void drawBitmapMesh(Bitmap& bitmap, int meshWidth, int meshHeight,
DRecordingCanvas.h182 virtual void drawBitmapMesh(Bitmap& bitmap, int meshWidth, int meshHeight,
/frameworks/base/core/java/android/view/
DRecordingCanvas.java184 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()
607 int meshHeight, float[] verts, int vertOffset, int[] colors, int colorOffset, in nDrawBitmapMesh() argument
/frameworks/base/graphics/java/android/graphics/
DBaseCanvas.java204 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()
609 int meshHeight, float[] verts, int vertOffset, int[] colors, int colorOffset, in nDrawBitmapMesh() argument
DCanvas.java1509 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/libs/hwui/hwui/
DCanvas.h244 virtual void drawBitmapMesh(Bitmap& bitmap, int meshWidth, int meshHeight,
/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/core/jni/
Dandroid_graphics_Canvas.cpp469 jint meshWidth, jint meshHeight, jfloatArray jverts, in drawBitmapMesh() argument
471 const int ptCount = (meshWidth + 1) * (meshHeight + 1); in drawBitmapMesh()
477 get_canvas(canvasHandle)->drawBitmapMesh(bitmap, meshWidth, meshHeight, in drawBitmapMesh()
/frameworks/layoutlib/bridge/src/android/graphics/
DBaseCanvas_Delegate.java459 int meshWidth, int meshHeight, float[] verts, int vertOffset, int[] colors, in nDrawBitmapMesh() argument