Lines Matching defs:paint

243     void drawHardwareLayer(HardwareLayer layer, float x, float y, Paint paint) {
244 layer.setLayerPaint(paint);
445 public int saveLayer(RectF bounds, Paint paint, int saveFlags) {
447 return saveLayer(bounds.left, bounds.top, bounds.right, bounds.bottom, paint, saveFlags);
450 final long nativePaint = paint == null ? 0 : paint.mNativePaint;
454 private static native int nSaveLayer(long renderer, long paint, int saveFlags);
457 public int saveLayer(float left, float top, float right, float bottom, Paint paint,
460 final long nativePaint = paint == null ? 0 : paint.mNativePaint;
467 float right, float bottom, long paint, int saveFlags);
542 float startAngle, float sweepAngle, boolean useCenter, Paint paint) {
544 startAngle, sweepAngle, useCenter, paint.mNativePaint);
549 boolean useCenter, long paint);
557 public void drawPatch(NinePatch patch, Rect dst, Paint paint) {
560 final long nativePaint = paint == null ? 0 : paint.mNativePaint;
566 public void drawPatch(NinePatch patch, RectF dst, Paint paint) {
569 final long nativePaint = paint == null ? 0 : paint.mNativePaint;
575 float left, float top, float right, float bottom, long paint);
578 public void drawBitmap(Bitmap bitmap, float left, float top, Paint paint) {
580 final long nativePaint = paint == null ? 0 : paint.mNativePaint;
585 float top, long paint);
588 public void drawBitmap(Bitmap bitmap, Matrix matrix, Paint paint) {
590 final long nativePaint = paint == null ? 0 : paint.mNativePaint;
595 long matrix, long paint);
598 public void drawBitmap(Bitmap bitmap, Rect src, Rect dst, Paint paint) {
600 final long nativePaint = paint == null ? 0 : paint.mNativePaint;
619 public void drawBitmap(Bitmap bitmap, Rect src, RectF dst, Paint paint) {
621 final long nativePaint = paint == null ? 0 : paint.mNativePaint;
641 float left, float top, float right, float bottom, long paint);
645 int width, int height, boolean hasAlpha, Paint paint) {
666 final long nativePaint = paint == null ? 0 : paint.mNativePaint;
676 int width, int height, boolean hasAlpha, Paint paint) {
677 drawBitmap(colors, offset, stride, (float) x, (float) y, width, height, hasAlpha, paint);
682 int vertOffset, int[] colors, int colorOffset, Paint paint) {
699 final long nativePaint = paint == null ? 0 : paint.mNativePaint;
706 int[] colors, int colorOffset, long paint);
709 public void drawCircle(float cx, float cy, float radius, Paint paint) {
710 nDrawCircle(mRenderer, cx, cy, radius, paint.mNativePaint);
714 float radius, long paint);
718 CanvasProperty<Float> radius, CanvasProperty<Paint> paint) {
720 radius.getNativeContainer(), paint.getNativeContainer());
729 CanvasProperty<Float> ry, CanvasProperty<Paint> paint) {
733 paint.getNativeContainer());
752 public void drawLine(float startX, float startY, float stopX, float stopY, Paint paint) {
758 drawLines(line, 0, 4, paint);
762 public void drawLines(float[] pts, int offset, int count, Paint paint) {
768 nDrawLines(mRenderer, pts, offset, count, paint.mNativePaint);
772 int offset, int count, long paint);
775 public void drawLines(float[] pts, Paint paint) {
776 drawLines(pts, 0, pts.length, paint);
780 public void drawOval(float left, float top, float right, float bottom, Paint paint) {
781 nDrawOval(mRenderer, left, top, right, bottom, paint.mNativePaint);
785 float right, float bottom, long paint);
788 public void drawPaint(Paint paint) {
791 drawRect(r.left, r.top, r.right, r.bottom, paint);
795 public void drawPath(Path path, Paint paint) {
798 nDrawRects(mRenderer, path.rects.mNativeRegion, paint.mNativePaint);
801 nDrawPath(mRenderer, path.mNativePath, paint.mNativePaint);
805 private static native void nDrawPath(long renderer, long path, long paint);
806 private static native void nDrawRects(long renderer, long region, long paint);
815 public void drawPoint(float x, float y, Paint paint) {
819 drawPoints(point, 0, 2, paint);
823 public void drawPoints(float[] pts, Paint paint) {
824 drawPoints(pts, 0, pts.length, paint);
828 public void drawPoints(float[] pts, int offset, int count, Paint paint) {
831 nDrawPoints(mRenderer, pts, offset, count, paint.mNativePaint);
835 int offset, int count, long paint);
840 public void drawRect(float left, float top, float right, float bottom, Paint paint) {
842 nDrawRect(mRenderer, left, top, right, bottom, paint.mNativePaint);
846 float right, float bottom, long paint);
849 public void drawRect(Rect r, Paint paint) {
850 drawRect(r.left, r.top, r.right, r.bottom, paint);
854 public void drawRect(RectF r, Paint paint) {
855 drawRect(r.left, r.top, r.right, r.bottom, paint);
865 Paint paint) {
866 nDrawRoundRect(mRenderer, left, top, right, bottom, rx, ry, paint.mNativePaint);
870 float right, float bottom, float rx, float y, long paint);
873 public void drawText(char[] text, int index, int count, float x, float y, Paint paint) {
879 paint.mBidiFlags, paint.mNativePaint, paint.mNativeTypeface);
883 float x, float y, int bidiFlags, long paint, long typeface);
886 public void drawText(CharSequence text, int start, int end, float x, float y, Paint paint) {
892 nDrawText(mRenderer, text.toString(), start, end, x, y, paint.mBidiFlags,
893 paint.mNativePaint, paint.mNativeTypeface);
895 ((GraphicsOperations) text).drawText(this, start, end, x, y, paint);
900 paint.mBidiFlags, paint.mNativePaint, paint.mNativeTypeface);
906 public void drawText(String text, int start, int end, float x, float y, Paint paint) {
912 paint.mBidiFlags, paint.mNativePaint, paint.mNativeTypeface);
916 float x, float y, int bidiFlags, long paint, long typeface);
919 public void drawText(String text, float x, float y, Paint paint) {
921 paint.mBidiFlags, paint.mNativePaint, paint.mNativeTypeface);
926 float vOffset, Paint paint) {
932 paint.mBidiFlags, paint.mNativePaint, paint.mNativeTypeface);
940 public void drawTextOnPath(String text, Path path, float hOffset, float vOffset, Paint paint) {
944 paint.mBidiFlags, paint.mNativePaint, paint.mNativeTypeface);
953 float x, float y, boolean isRtl, Paint paint) {
959 paint.mNativePaint, paint.mNativeTypeface);
967 float x, float y, boolean isRtl, Paint paint) {
975 contextEnd, x, y, isRtl, paint.mNativePaint, paint.mNativeTypeface);
978 contextStart, contextEnd, x, y, isRtl, paint);
985 x, y, isRtl, paint.mNativePaint, paint.mNativeTypeface);
996 int indexOffset, int indexCount, Paint paint) {