Home
last modified time | relevance | path

Searched refs:mPaint (Results 1 – 7 of 7) sorted by relevance

/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/fov/
DCameraPreviewView.java19 private Paint mPaint = new Paint(); field in CameraPreviewView
45 mPaint.setStyle(Paint.Style.STROKE); in onDraw()
46 mPaint.setColor(Color.GREEN); in onDraw()
47 mPaint.setStrokeWidth(3); in onDraw()
48 canvas.drawLine(centerX, 0, centerX, canvas.getHeight(), mPaint); in onDraw()
51 mPaint.setAlpha(GRID_ALPHA); in onDraw()
56 canvas.drawLine(0, y, canvas.getWidth(), y, mPaint); in onDraw()
58 canvas.drawLine(0, y, canvas.getWidth(), y, mPaint); in onDraw()
62 canvas.drawLine(x, 0, x, canvas.getHeight(), mPaint); in onDraw()
64 canvas.drawLine(x, 0, x, canvas.getHeight(), mPaint); in onDraw()
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DShaderTests.java40 Paint mPaint = new Paint(); in testSinglePixelBitmapShader()
43 if (mPaint.getShader() == null) { in testSinglePixelBitmapShader()
46 mPaint.setShader(new BitmapShader(shaderBitmap, in testSinglePixelBitmapShader()
49 canvas.drawRect(0, 0, width, height, mPaint); in testSinglePixelBitmapShader()
59 Paint mPaint = new Paint(); in testSinglePixelComposeShader()
63 if (mPaint.getShader() == null) { in testSinglePixelComposeShader()
77 mPaint.setShader(new ComposeShader( in testSinglePixelComposeShader()
80 canvas.drawRect(0, 0, width, height, mPaint); in testSinglePixelComposeShader()
100 Paint mPaint = new Paint(); in testComplexShaderUsage()
110 bitmapCanvas.drawCircle(width / 2, height / 2, radius, mPaint); in testComplexShaderUsage()
[all …]
/cts/tests/tests/graphics/src/android/graphics/cts/
DCanvasTest.java67 private Paint mPaint; field in CanvasTest
76 mPaint = new Paint(); in setUp()
77 mPaint.setColor(PAINT_COLOR); in setUp()
1111 mCanvas.drawPaint(mPaint); in testDrawPaint()
1121 }, -1, 2, mPaint); in testDrawPoints1()
1131 }, 0, 31, mPaint); in testDrawPoints1()
1140 }, 0, 2, mPaint); in testDrawPoints1()
1146 mCanvas.drawPoints(new float[]{0, 0}, mPaint); in testDrawPoints2()
1152 mCanvas.drawPoint(0, 0, mPaint); in testDrawPoint()
1158 mCanvas.drawLine(0, 0, 10, 12, mPaint); in testDrawLine()
[all …]
DSweepGradientTest.java33 private Paint mPaint; field in SweepGradientTest
46 mPaint = new Paint(); in setUp()
56 mPaint.setShader(shader); in test2Colors()
57 mCanvas.drawRect(new Rect(0, 0, SIZE, SIZE), mPaint); in test2Colors()
65 mPaint.setShader(shader); in testColorArray()
66 mCanvas.drawRect(new Rect(0, 0, SIZE, SIZE), mPaint); in testColorArray()
76 mPaint.setShader(shader); in testMultiColor()
77 mCanvas.drawRect(new Rect(0, 0, SIZE, SIZE), mPaint); in testMultiColor()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/touch/
DTouchPointView.java47 Paint mPaint; field in TouchPointView
57 mPaint = new Paint(); in TouchPointView()
58 mPaint.setStyle(Paint.Style.FILL); in TouchPointView()
88 mPaint.setColor(color); in onDraw()
89 canvas.drawCircle(point.x, point.y, radius, mPaint); in onDraw()
/cts/tests/tests/animation/src/android/animation/cts/
DShapeHolder.java34 private Paint mPaint; field in ShapeHolder
37 mPaint = value; in setPaint()
41 return mPaint; in getPaint()
/cts/apps/CtsVerifier/libs/
Dopencv-android.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/opencv/ org/ ...