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

/frameworks/base/libs/hwui/
H A DRecordedOp.h224 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 DSkiaCanvas.cpp565 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;
588 const SkScalar dy = h / meshHeight;
592 for (int i = 0; i <= meshHeight; i++) {
593 if (i == meshHeight) {
613 for (int i = 0; i < meshHeight; i++) {
H A DBakedOpDispatcher.cpp445 const uint32_t elementCount = op.meshWidth * op.meshHeight * 6;
453 uint32_t colorsCount = (op.meshWidth + 1) * (op.meshHeight + 1);
459 for (int32_t y = 0; y < op.meshHeight; y++) {
465 float v1 = float(y) / op.meshHeight;
466 float v2 = float(y + 1) / op.meshHeight;
H A DSkiaCanvas.h135 virtual void drawBitmapMesh(Bitmap& bitmap, int meshWidth, int meshHeight,
H A DRecordingCanvas.cpp520 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 DRecordingCanvas.h184 virtual void drawBitmapMesh(Bitmap& bitmap, int meshWidth, int meshHeight,
/frameworks/base/core/java/android/view/
H A DRecordingCanvas.java184 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 DBaseCanvas.java204 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 DCanvas.java1491 * 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/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/graphics/
H A DNopCanvas.java243 public void drawBitmapMesh(Bitmap bitmap, int meshWidth, int meshHeight, float[] verts, argument
/frameworks/base/libs/hwui/hwui/
H A DCanvas.h243 virtual void drawBitmapMesh(Bitmap& bitmap, int meshWidth, int meshHeight,
/frameworks/base/core/jni/
H A Dandroid_graphics_Canvas.cpp463 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
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DBaseCanvas_Delegate.java460 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

Completed in 198 milliseconds