/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | ShaderTests.java | 46 Paint mPaint = new Paint(); in testSinglePixelBitmapShader() 49 if (mPaint.getShader() == null) { in testSinglePixelBitmapShader() 52 mPaint.setShader(new BitmapShader(shaderBitmap, in testSinglePixelBitmapShader() 55 canvas.drawRect(0, 0, width, height, mPaint); in testSinglePixelBitmapShader() 65 Paint mPaint = new Paint(); in testSinglePixelComposeShader() 69 if (mPaint.getShader() == null) { in testSinglePixelComposeShader() 83 mPaint.setShader(new ComposeShader( in testSinglePixelComposeShader() 86 canvas.drawRect(0, 0, width, height, mPaint); in testSinglePixelComposeShader() 106 Paint mPaint = new Paint(); in testComplexShaderUsage() 116 bitmapCanvas.drawCircle(width / 2, height / 2, radius, mPaint); in testComplexShaderUsage() [all …]
|
D | ColorFilterAlphaTest.java | 138 final Paint mPaint = new Paint(); 145 mPaint.setColorFilter(new PorterDuffColorFilter(FILTER_COLOR, mConfig.mode)); 146 canvas.drawBitmap(mBitmap, 0, 0, mPaint);
|
D | XfermodeTest.java | 158 final Paint mPaint = new Paint(); 171 mPaint.setXfermode(new PorterDuffXfermode(mConfig.mode)); 172 canvas.drawBitmap(mSrcBitmap, 0, 0, mPaint);
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/fov/ |
D | CameraPreviewView.java | 19 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/hostsidetests/statsd/apps/statsdapp/src/com/android/server/cts/device/statsd/ |
D | DaveyView.java | 37 private Paint mPaint; field in DaveyView 53 mPaint = new Paint(); in DaveyView() 54 mPaint.setColor(Color.BLACK); in DaveyView() 55 mPaint.setTextSize(20); in DaveyView() 56 FontMetrics metric = mPaint.getFontMetrics(); in DaveyView() 70 canvas.drawText("Davey!", 0, mTexty, mPaint); in onDraw() 74 canvas.drawText("No Davey", 0, mTexty, mPaint); in onDraw()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | CanvasTest.java | 82 private Paint mPaint; field in CanvasTest 89 mPaint = new Paint(); in setup() 90 mPaint.setColor(PAINT_COLOR); in setup() 830 mCanvas.drawPaint(mPaint); in testDrawPaint() 840 }, -1, 2, mPaint); in testDrawPointsInvalidOffset() 848 }, 0, 31, mPaint); in testDrawPointsInvalidCount() 856 }, 0, 2, mPaint); in testDrawPoints1() 863 mCanvas.drawPoints(new float[]{0, 0}, mPaint); in testDrawPoints2() 870 mCanvas.drawPoint(0, 0, mPaint); in testDrawPoint() 877 mCanvas.drawLine(0, 0, 10, 12, mPaint); in testDrawLine() [all …]
|
D | SweepGradientTest.java | 49 private Paint mPaint; field in SweepGradientTest 55 mPaint = new Paint(); in setup() 66 mPaint.setShader(shader); in test2Colors() 67 mCanvas.drawRect(new Rect(0, 0, SIZE, SIZE), mPaint); in test2Colors() 76 mPaint.setShader(shader); in testColorArray() 77 mCanvas.drawRect(new Rect(0, 0, SIZE, SIZE), mPaint); in testColorArray() 88 mPaint.setShader(shader); in testMultiColor() 89 mCanvas.drawRect(new Rect(0, 0, SIZE, SIZE), mPaint); in testMultiColor()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | PixelCopyViewProducerActivity.java | 146 private Paint mPaint = new Paint(); field in PixelCopyViewProducerActivity.ColoredGrid 162 mPaint.setColor(Color.RED); in onDraw() 163 canvas.drawRect(mRect, mPaint); in onDraw() 166 mPaint.setColor(Color.GREEN); in onDraw() 167 canvas.drawRect(mRect, mPaint); in onDraw() 170 mPaint.setColor(Color.BLUE); in onDraw() 171 canvas.drawRect(mRect, mPaint); in onDraw() 174 mPaint.setColor(Color.BLACK); in onDraw() 175 canvas.drawRect(mRect, mPaint); in onDraw()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/touch/ |
D | TouchPointView.java | 47 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/apps/CtsVerifier/src/com/android/cts/verifier/audio/audiolib/ |
D | WaveScopeView.java | 30 private final Paint mPaint = new Paint(); field in WaveScopeView 133 cvs.drawLines(mPointsBuffer, mPaint); in drawChannel16() 162 cvs.drawLines(mPointsBuffer, mPaint); in drawChannelFloat() 168 mPaint.setColor(mBackgroundColor); in onDraw() 169 canvas.drawRect(0, 0, getWidth(), height, mPaint); in onDraw() 171 mPaint.setColor(mTraceColor); in onDraw()
|
/cts/tests/tests/animation/src/android/animation/cts/ |
D | ShapeHolder.java | 34 private Paint mPaint; field in ShapeHolder 37 mPaint = value; in setPaint() 41 return mPaint; in getPaint()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | LocationOnScreenTests.java | 230 private Paint mPaint = new Paint(); field in LocationOnScreenTests.TestView 240 mPaint.setColor(TEST_COLOR_1); in onDraw() 241 canvas.drawRect(0, 0, 1, 1, mPaint); in onDraw() 242 mPaint.setColor(TEST_COLOR_2); in onDraw() 243 canvas.drawRect(1, 0, 2, 1, mPaint); in onDraw()
|
/cts/tests/tests/text/src/android/text/cts/ |
D | BoringLayoutTest.java | 397 final TextPaint mPaint; field in BoringLayoutTest.LayoutParam 403 mPaint = new TextPaint(paint); in LayoutParam() 412 + "mPaint=" + textPaintToString(mPaint) + ", " in toString() 419 PrecomputedText.Params param = new PrecomputedText.Params.Builder(mPaint) in getPrecomputedText()
|
D | StaticLayoutTest.java | 1343 final TextPaint mPaint; 1349 mPaint = new TextPaint(paint); 1358 + "mPaint=" + textPaintToString(mPaint) + ", " 1365 return StaticLayout.Builder.obtain(text, 0, text.length(), mPaint, width) 1371 PrecomputedText.Params param = new PrecomputedText.Params.Builder(mPaint) 1392 staticLayoutParam.mPaint, lineWidth)
|
/cts/apps/CtsVerifier/libs/ |
D | opencv3-android.jar | META-INF/
META-INF/MANIFEST.MF
org/
org/opencv/
org/ ... |