Searched defs:colorOffset (Results 1 - 5 of 5) sorted by relevance

/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/graphics/
H A DNopCanvas.java244 int vertOffset, int[] colors, int colorOffset, Paint paint) {
249 float[] texs, int texOffset, int[] colors, int colorOffset, short[] indices,
243 drawBitmapMesh(Bitmap bitmap, int meshWidth, int meshHeight, float[] verts, int vertOffset, int[] colors, int colorOffset, Paint paint) argument
248 drawVertices(VertexMode mode, int vertexCount, float[] verts, int vertOffset, float[] texs, int texOffset, int[] colors, int colorOffset, short[] indices, int indexOffset, int indexCount, Paint paint) argument
/frameworks/base/core/java/android/view/
H A DRecordingCanvas.java185 @NonNull float[] verts, int vertOffset, @Nullable int[] colors, int colorOffset,
187 if ((meshWidth | meshHeight | vertOffset | colorOffset) < 0) {
198 checkRange(colors.length, colorOffset, count);
201 verts, vertOffset, colors, colorOffset,
515 @Nullable int[] colors, int colorOffset, @Nullable short[] indices, int indexOffset,
525 checkRange(colors.length, colorOffset, vertexCount / 2);
531 vertOffset, texs, texOffset, colors, colorOffset,
607 int meshHeight, float[] verts, int vertOffset, int[] colors, int colorOffset,
612 int vertOffset, float[] texs, int texOffset, int[] colors, int colorOffset,
184 drawBitmapMesh(@onNull Bitmap bitmap, int meshWidth, int meshHeight, @NonNull float[] verts, int vertOffset, @Nullable int[] colors, int colorOffset, @Nullable Paint paint) argument
513 drawVertices(@onNull VertexMode mode, int vertexCount, @NonNull float[] verts, int vertOffset, @Nullable float[] texs, int texOffset, @Nullable int[] colors, int colorOffset, @Nullable short[] indices, int indexOffset, int indexCount, @NonNull Paint paint) argument
606 nDrawBitmapMesh(long nativeCanvas, Bitmap bitmap, int meshWidth, int meshHeight, float[] verts, int vertOffset, int[] colors, int colorOffset, long nativePaint) argument
611 nDrawVertices(long nativeCanvas, int mode, int n, float[] verts, int vertOffset, float[] texs, int texOffset, int[] colors, int colorOffset, short[] indices, int indexOffset, int indexCount, long nativePaint) argument
/frameworks/base/graphics/java/android/graphics/
H A DBaseCanvas.java205 @NonNull float[] verts, int vertOffset, @Nullable int[] colors, int colorOffset,
207 if ((meshWidth | meshHeight | vertOffset | colorOffset) < 0) {
219 checkRange(colors.length, colorOffset, count);
222 verts, vertOffset, colors, colorOffset,
494 int colorOffset, @Nullable short[] indices, int indexOffset, int indexCount,
504 checkRange(colors.length, colorOffset, vertexCount / 2);
511 vertOffset, texs, texOffset, colors, colorOffset,
609 int meshHeight, float[] verts, int vertOffset, int[] colors, int colorOffset,
613 int vertOffset, float[] texs, int texOffset, int[] colors, int colorOffset,
204 drawBitmapMesh(@onNull Bitmap bitmap, int meshWidth, int meshHeight, @NonNull float[] verts, int vertOffset, @Nullable int[] colors, int colorOffset, @Nullable Paint paint) argument
492 drawVertices(@onNull VertexMode mode, int vertexCount, @NonNull float[] verts, int vertOffset, @Nullable float[] texs, int texOffset, @Nullable int[] colors, int colorOffset, @Nullable short[] indices, int indexOffset, int indexCount, @NonNull Paint paint) argument
608 nDrawBitmapMesh(long nativeCanvas, Bitmap bitmap, int meshWidth, int meshHeight, float[] verts, int vertOffset, int[] colors, int colorOffset, long nativePaint) argument
612 nDrawVertices(long nativeCanvas, int mode, int n, float[] verts, int vertOffset, float[] texs, int texOffset, int[] colors, int colorOffset, short[] indices, int indexOffset, int indexCount, long nativePaint) argument
H A DCanvas.java1504 * null, there must be at least (meshWidth+1) * (meshHeight+1) + colorOffset values
1506 * @param colorOffset Number of color elements to skip before drawing
1510 @NonNull float[] verts, int vertOffset, @Nullable int[] colors, int colorOffset,
1512 super.drawBitmapMesh(bitmap, meshWidth, meshHeight, verts, vertOffset, colors, colorOffset,
1972 * @param colorOffset Number of values in colors to skip before drawing.
1980 int colorOffset, @Nullable short[] indices, int indexOffset, int indexCount,
1983 colors, colorOffset, indices, indexOffset, indexCount, paint);
1509 drawBitmapMesh(@onNull Bitmap bitmap, int meshWidth, int meshHeight, @NonNull float[] verts, int vertOffset, @Nullable int[] colors, int colorOffset, @Nullable Paint paint) argument
1978 drawVertices(@onNull VertexMode mode, int vertexCount, @NonNull float[] verts, int vertOffset, @Nullable float[] texs, int texOffset, @Nullable int[] colors, int colorOffset, @Nullable short[] indices, int indexOffset, int indexCount, @NonNull Paint paint) argument
/frameworks/layoutlib/bridge/src/android/graphics/
H A DBaseCanvas_Delegate.java460 int colorOffset, long nPaint) {
470 int[] colors, int colorOffset,
458 nDrawBitmapMesh(long nCanvas, Bitmap bitmap, int meshWidth, int meshHeight, float[] verts, int vertOffset, int[] colors, int colorOffset, long nPaint) argument
467 nDrawVertices(long nCanvas, int mode, int n, float[] verts, int vertOffset, float[] texs, int texOffset, int[] colors, int colorOffset, short[] indices, int indexOffset, int indexCount, long nPaint) argument

Completed in 129 milliseconds