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

/frameworks/base/graphics/java/android/graphics/
H A DCanvas.java1229 * meshHeight+1 vertices down. The verts array is accessed in row-major
1237 * @param meshHeight The number of rows in the mesh. Nothing is drawn if
1241 * (meshWidth+1) * (meshHeight+1) * 2 + meshOffset values
1247 * there must be at least (meshWidth+1) * (meshHeight+1) +
1252 public void drawBitmapMesh(Bitmap bitmap, int meshWidth, int meshHeight, argument
1255 if ((meshWidth | meshHeight | vertOffset | colorOffset) < 0) {
1258 if (meshWidth == 0 || meshHeight == 0) {
1261 int count = (meshWidth + 1) * (meshHeight + 1);
1268 nativeDrawBitmapMesh(mNativeCanvas, bitmap.ni(), meshWidth, meshHeight,
1737 int meshWidth, int meshHeight,
1736 nativeDrawBitmapMesh(int nCanvas, int nBitmap, int meshWidth, int meshHeight, float[] verts, int vertOffset, int[] colors, int colorOffset, int nPaint) argument
[all...]
/frameworks/base/core/jni/android/graphics/
H A DCanvas.cpp558 const SkBitmap* bitmap, int meshWidth, int meshHeight,
562 const int ptCount = (meshWidth + 1) * (meshHeight + 1);
563 const int indexCount = meshWidth * meshHeight * 6;
605 const SkScalar dy = h / meshHeight;
609 for (int i = 0; i <= meshHeight; i++) {
610 if (i == meshHeight) {
630 for (int i = 0; i < meshHeight; i++) {
557 drawBitmapMesh(JNIEnv* env, jobject, SkCanvas* canvas, const SkBitmap* bitmap, int meshWidth, int meshHeight, jfloatArray jverts, int vertIndex, jintArray jcolors, int colorIndex, const SkPaint* paint) argument
/frameworks/base/libs/hwui/
H A DDisplayListRenderer.cpp366 uint32_t meshHeight = getInt(); local
710 uint32_t meshHeight = getInt(); local
717 renderer.drawBitmapMesh(bitmap, meshWidth, meshHeight, vertices, colors, paint);
1108 void DisplayListRenderer::drawBitmapMesh(SkBitmap* bitmap, int meshWidth, int meshHeight, argument
1113 addInt(meshHeight);
1114 addFloats(vertices, (meshWidth + 1) * (meshHeight + 1) * 2);
1117 addInts(colors, (meshWidth + 1) * (meshHeight + 1));
H A DDisplayListRenderer.h276 virtual void drawBitmapMesh(SkBitmap* bitmap, int meshWidth, int meshHeight,
H A DOpenGLRenderer.h109 virtual void drawBitmapMesh(SkBitmap* bitmap, int meshWidth, int meshHeight,
H A DOpenGLRenderer.cpp1388 void OpenGLRenderer::drawBitmapMesh(SkBitmap* bitmap, int meshWidth, int meshHeight, argument
1407 const uint32_t count = meshWidth * meshHeight * 6;
1423 for (int32_t y = 0; y < meshHeight; y++) {
1429 float v1 = float(y) / meshHeight;
1430 float v2 = float(y + 1) / meshHeight;
/frameworks/base/core/java/android/view/
H A DGLES20Canvas.java783 public void drawBitmapMesh(Bitmap bitmap, int meshWidth, int meshHeight, float[] verts, argument
785 if (meshWidth < 0 || meshHeight < 0 || vertOffset < 0 || colorOffset < 0) {
789 if (meshWidth == 0 || meshHeight == 0) {
793 final int count = (meshWidth + 1) * (meshHeight + 1);
802 nDrawBitmapMesh(mRenderer, bitmap.mNativeBitmap, bitmap.mBuffer, meshWidth, meshHeight,
808 int meshWidth, int meshHeight, float[] verts, int vertOffset,
807 nDrawBitmapMesh(int renderer, int bitmap, byte[] buffer, int meshWidth, int meshHeight, float[] verts, int vertOffset, int[] colors, int colorOffset, int paint) argument
H A DGLES20RecordingCanvas.java144 public void drawBitmapMesh(Bitmap bitmap, int meshWidth, int meshHeight, float[] verts, argument
146 super.drawBitmapMesh(bitmap, meshWidth, meshHeight, verts, vertOffset, colors, colorOffset,
/frameworks/base/core/jni/
H A Dandroid_view_GLES20Canvas.cpp364 jint meshWidth, jint meshHeight, jfloatArray vertices, jint offset,
372 renderer->drawBitmapMesh(bitmap, meshWidth, meshHeight, verticesArray, colorsArray, paint);
362 android_view_GLES20Canvas_drawBitmapMesh(JNIEnv* env, jobject clazz, OpenGLRenderer* renderer, SkBitmap* bitmap, jbyteArray buffer, jint meshWidth, jint meshHeight, jfloatArray vertices, jint offset, jintArray colors, jint colorOffset, SkPaint* paint) argument
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DCanvas_Delegate.java948 int meshWidth, int meshHeight, float[] verts, int vertOffset, int[] colors,
947 nativeDrawBitmapMesh(int nCanvas, int nBitmap, int meshWidth, int meshHeight, float[] verts, int vertOffset, int[] colors, int colorOffset, int nPaint) argument

Completed in 97 milliseconds