HomeSort by relevance Sort by last modified time
    Searched defs:Paint (Results 1 - 25 of 68) sorted by null

1 2 3

  /frameworks/base/libs/hwui/hwui/
PaintImpl.cpp 17 #include "Paint.h"
21 Paint::Paint()
29 Paint::Paint(const Paint& paint)
30 : SkPaint(paint)
31 , mLetterSpacing(paint.mLetterSpacing)
32 , mWordSpacing(paint.mWordSpacing
    [all...]
Paint.h 31 class ANDROID_API Paint : public SkPaint {
46 Paint();
47 Paint(const Paint& paint);
48 Paint(const SkPaint& paint); // NOLINT(implicit)
49 ~Paint();
51 Paint& operator=(const Paint& other)
    [all...]
  /prebuilts/go/darwin-x86/test/fixedbugs/
issue19515.go 28 type Paint struct {
35 func BoxGradient(x, y, w, h, f float32, iColor, oColor Color) Paint {
36 return Paint{
  /prebuilts/go/linux-x86/test/fixedbugs/
issue19515.go 28 type Paint struct {
35 func BoxGradient(x, y, w, h, f float32, iColor, oColor Color) Paint {
36 return Paint{
  /external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/xy/
BarFormatter.java 18 import android.graphics.Paint;
23 public Paint getFillPaint() {
27 public void setFillPaint(Paint fillPaint) {
31 public Paint getBorderPaint() {
35 public void setBorderPaint(Paint borderPaint) {
39 private Paint fillPaint;
40 private Paint borderPaint;
43 fillPaint = new Paint();
45 fillPaint.setStyle(Paint.Style.FILL);
47 borderPaint = new Paint();
    [all...]
XYRegionFormatter.java 20 import android.graphics.Paint;
29 private Paint paint = new Paint(); field in class:XYRegionFormatter
32 paint.setStyle(Paint.Style.FILL);
33 paint.setAntiAlias(true);
51 //paint = new Paint();
52 paint.setColor(color);
    [all...]
ValueMarker.java 20 import android.graphics.Paint;
42 private Paint linePaint;
43 private Paint textPaint;
44 //private Paint backgroundPaint;
51 linePaint = new Paint();
54 linePaint.setStyle(Paint.Style.STROKE);
55 textPaint = new Paint();
58 //backgroundPaint = new Paint();
78 public ValueMarker(Number value, String text, PositionMetricType textPosition, Paint linePaint, Paint textPaint) {
    [all...]
XYGraphWidget.java 82 private Paint gridBackgroundPaint;
83 private Paint rangeGridLinePaint;
84 private Paint rangeSubGridLinePaint;
85 private Paint domainGridLinePaint;
86 private Paint domainSubGridLinePaint;
87 private Paint domainLabelPaint;
88 private Paint rangeLabelPaint;
89 private Paint domainCursorPaint;
90 private Paint rangeCursorPaint;
91 private Paint cursorLabelPaint;
    [all...]
XYLegendWidget.java 49 private Paint textPaint;
50 private Paint iconBorderPaint;
60 textPaint = new Paint();
64 iconBorderPaint = new Paint();
65 iconBorderPaint.setStyle(Paint.Style.STROKE);
99 Paint bgPaint = plot.getGraphWidget().getGridBackgroundPaint();
107 Paint bgPaint = plot.getGraphWidget().getGridBackgroundPaint();
208 public Paint getTextPaint() {
212 public void setTextPaint(Paint textPaint) {
  /cts/tests/tests/graphics/src/android/graphics/cts/
Paint_FontMetricsIntTest.java 21 import android.graphics.Paint;
22 import android.graphics.Paint.FontMetricsInt;
34 new Paint.FontMetricsInt();
PaintTest.java 30 import android.graphics.Paint;
31 import android.graphics.Paint.Align;
32 import android.graphics.Paint.Cap;
33 import android.graphics.Paint.Join;
34 import android.graphics.Paint.Style;
65 new Paint();
67 new Paint(1);
69 Paint p = new Paint();
70 new Paint(p)
    [all...]
CanvasTest.java 37 import android.graphics.Paint;
82 private Paint mPaint;
89 mPaint = new Paint();
235 final Paint p = new Paint();
264 final Paint p = new Paint();
352 mCanvas.saveLayer(new RectF(), new Paint());
887 }, 2, 4, new Paint());
895 }, 0, 8, new Paint());
1397 final Paint paint = new Paint(); local
1432 final Paint paint = new Paint(); local
1470 final Paint paint = new Paint(); local
1481 final Paint paint = new Paint(); local
1771 Paint paint = new Paint(); local
    [all...]
  /external/skia/experimental/go-skia/
skia.go 101 func (c *Canvas) DrawPaint(paint *Paint) {
102 C.sk_canvas_draw_paint(c.ptr, paint.ptr)
105 func (c *Canvas) DrawOval(rect *Rect, paint *Paint) {
106 // C.sk_canvas_draw_oval(c.ptr, (*C.sk_rect_t)(unsafe.Pointer(rect)), (*C.sk_paint_t)(paint.ptr))
107 C.sk_canvas_draw_oval(c.ptr, rect.cPointer(), paint.ptr)
110 func (c *Canvas) DrawRect(rect *Rect, paint *Paint) {
111 // C.sk_canvas_draw_rect(c.ptr, (*C.sk_rect_t)(unsafe.Pointer(rect)), (*C.sk_paint_t)(paint.ptr)
    [all...]
  /external/skqp/experimental/go-skia/
skia.go 101 func (c *Canvas) DrawPaint(paint *Paint) {
102 C.sk_canvas_draw_paint(c.ptr, paint.ptr)
105 func (c *Canvas) DrawOval(rect *Rect, paint *Paint) {
106 // C.sk_canvas_draw_oval(c.ptr, (*C.sk_rect_t)(unsafe.Pointer(rect)), (*C.sk_paint_t)(paint.ptr))
107 C.sk_canvas_draw_oval(c.ptr, rect.cPointer(), paint.ptr)
110 func (c *Canvas) DrawRect(rect *Rect, paint *Paint) {
111 // C.sk_canvas_draw_rect(c.ptr, (*C.sk_rect_t)(unsafe.Pointer(rect)), (*C.sk_paint_t)(paint.ptr)
    [all...]
  /external/skqp/src/gpu/text/
GrTextUtils.h 74 class Paint {
76 explicit Paint(const SkPaint* paint, const GrColorSpaceInfo* dstColorSpaceInfo)
77 : fPaint(paint), fDstColorSpaceInfo(dstColorSpaceInfo) {
81 // These expose the paint's color run through its color filter (if any). This is only valid
94 Paint() = default;
97 // This is the paint's color run through its color filter, if present. This color should
104 * An extension of Paint that incorporated per-run modifications to the paint text settings and
108 class RunPaint : public Paint {
    [all...]
  /external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/util/
PlotStatistics.java 21 import android.graphics.Paint;
49 private Paint paint; field in class:PlotStatistics
51 paint = new Paint();
52 paint.setTextAlign(Paint.Align.CENTER);
53 paint.setColor(Color.WHITE);
54 paint.setTextSize(30);
95 canvas.drawText(annotationString, r.centerX(), r.centerY(), paint);
    [all...]
  /external/skia/src/gpu/text/
GrTextUtils.h 75 class Paint {
77 explicit Paint(const SkPaint* paint, const GrColorSpaceInfo* dstColorSpaceInfo)
78 : fPaint(paint), fDstColorSpaceInfo(dstColorSpaceInfo) {
82 // These expose the paint's color run through its color filter (if any). This is only valid
95 Paint() = default;
98 // This is the paint's color run through its color filter, if present. This color should
105 * An extension of Paint that incorporated per-run modifications to the paint text settings and
109 class RunPaint : public Paint {
    [all...]
  /external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/ui/
LayoutManager.java 30 private Paint anchorPaint;
32 private Paint outlinePaint;
34 private Paint outlineShadowPaint;
36 private Paint marginPaint;
38 private Paint paddingPaint;
46 anchorPaint = new Paint();
47 anchorPaint.setStyle(Paint.Style.FILL);
49 outlinePaint = new Paint();
51 outlinePaint.setStyle(Paint.Style.STROKE);
52 marginPaint = new Paint();
    [all...]
  /external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/ui/widget/
TextLabelWidget.java 28 private Paint labelPaint;
35 labelPaint = new Paint();
38 labelPaint.setTextAlign(Paint.Align.CENTER);
142 public Paint getLabelPaint() {
146 public void setLabelPaint(Paint labelPaint) {
149 // when paint changes, packing params change too so check
  /external/robolectric-shadows/sandbox/src/test/java/org/robolectric/
ShadowingTest.java 83 Paint paint = new Paint(); local
84 paint.setColor(1234);
86 Assertions.assertThat(paint.getColor()).isEqualTo(1234);
90 static class Paint {
95 @Implements(Paint.class)
  /external/skia/tests/
RefCntTest.cpp 119 class Paint {
153 Paint paint; local
154 REPORTER_ASSERT(reporter, paint.fEffect.get() == nullptr);
155 REPORTER_ASSERT(reporter, !paint.get());
158 paint.set(Create());
160 REPORTER_ASSERT(reporter, paint.fEffect.get()->fRefCnt == 1);
162 if (paint.get()) {
167 if (!paint.get()) {
173 paint.set(nullptr)
    [all...]
  /external/skqp/tests/
RefCntTest.cpp 119 class Paint {
153 Paint paint; local
154 REPORTER_ASSERT(reporter, paint.fEffect.get() == nullptr);
155 REPORTER_ASSERT(reporter, !paint.get());
158 paint.set(Create());
160 REPORTER_ASSERT(reporter, paint.fEffect.get()->fRefCnt == 1);
162 if (paint.get()) {
167 if (!paint.get()) {
173 paint.set(nullptr)
    [all...]
  /external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/
Plot.java 113 private Paint borderPaint;
114 private Paint backgroundPaint;
145 borderPaint = new Paint();
147 borderPaint.setStyle(Paint.Style.STROKE);
150 backgroundPaint = new Paint();
152 backgroundPaint.setStyle(Paint.Style.FILL);
750 public Paint getBackgroundPaint() {
754 public void setBackgroundPaint(Paint backgroundPaint) {
850 public Paint getBorderPaint() {
855 * Set's the paint used to draw the border. Note that this method
    [all...]
  /external/pdfium/fpdfsdk/pwl/
cpwl_edit_impl.cpp 586 Paint();
592 Paint();
598 Paint();
604 Paint();
609 Paint();
614 Paint();
619 Paint();
625 Paint();
631 Paint();
637 Paint();
    [all...]
  /frameworks/base/graphics/java/android/graphics/
Paint.java 42 * The Paint class holds the style and color information about how to draw
45 public class Paint {
51 // The approximate size of a native paint object.
54 // Use a Holder to allow static initialization of Paint in the boot image.
57 Paint.class.getClassLoader(), nGetNativeFinalizer(), NATIVE_PAINT_SIZE);
109 * Paint flag that enables antialiasing when drawing.
114 * @see #Paint(int)
119 * Paint flag that enables bilinear sampling on scaled bitmaps.
131 * @see #Paint(int)
136 * Paint flag that enables dithering when blitting
    [all...]

Completed in 716 milliseconds

1 2 3