Home
last modified time | relevance | path

Searched refs:drawRect (Results 1 – 18 of 18) sorted by relevance

/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/fov/
DDetermineFovActivity.java193 RectF drawRect = new RectF(); in drawContents() local
202 drawRect.set(0, pad, canvasWidth, pad + scaledHeight - 1); in drawContents()
208 drawRect.set(pad, 0, pad + scaledWidth - 1, canvasHeight); in drawContents()
213 canvas.drawBitmap(mPhotoBitmap, null, drawRect, null); in drawContents()
230 float dstWidth = drawRect.right - drawRect.left + 1; in drawContents()
231 float dstHeight = drawRect.bottom - drawRect.top + 1; in drawContents()
232 float centerX = drawRect.left + dstWidth / 2; in drawContents()
233 canvas.drawLine(centerX, drawRect.top, centerX, drawRect.bottom, paint); in drawContents()
246 float markerImageLeft = projectedMarkerLeft + drawRect.left; in drawContents()
248 markerImageLeft, drawRect.top, markerImageLeft, drawRect.bottom, paint); in drawContents()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DMotionIndicatorView.java210 canvas.drawRect(10,10, 50, 50, p); in onDraw()
218 canvas.drawRect(xLeft, XBAR_MARGIN, in onDraw()
224 canvas.drawRect( in onDraw()
232 canvas.drawRect(xLeft+xStepSize*2-4, XBAR_MARGIN, in onDraw()
234 canvas.drawRect(xLeft+xStepSize*(xNStep-2)-4, XBAR_MARGIN, in onDraw()
239 canvas.drawRect(t-4, XBAR_MARGIN-XBAR_CURSOR_ADD, t+3, in onDraw()
248 canvas.drawRect(YBAR_MARGIN, yLeft, in onDraw()
254 canvas.drawRect( in onDraw()
262 canvas.drawRect(YBAR_MARGIN, yLeft + yStepSize * 2 - 4, in onDraw()
264 canvas.drawRect(YBAR_MARGIN, yLeft + yStepSize * (yNStep - 2) - 4, in onDraw()
[all …]
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DExactCanvasTests.java45 canvas.drawRect(rect, p); in testBlueRect()
71 canvas.drawRect(0, 0, ActivityTestBase.TEST_WIDTH, in testBlackRectWithStroke()
75 canvas.drawRect(10, 10, 80, 80, p); in testBlackRectWithStroke()
100 canvas.drawRect(10, 10, 40, 40, p); in testDrawRedRectOnBlueBack()
165 canvas.drawRect(10, 10, 80, 80, p); in testBluePaddedSquare()
DShaderTests.java51 canvas.drawRect(0, 0, width, height, mPaint); in testSinglePixelBitmapShader()
82 canvas.drawRect(0, 0, width, height, mPaint); in testSinglePixelComposeShader()
DPictureTest.java42 subcanvas.drawRect(sRect, pt); in greenSquare()
DColorFilterAlphaTest.java111 canvas.drawRect(i * blockWidth, 0, (i + 1) * blockWidth, TEST_HEIGHT, paint); in createMultiRectBitmap()
DSweepTests.java62 c.drawRect(mBounds, p);
DXfermodeTest.java156 srcCanvas.drawRect(mSrcRect, srcPaint);
/cts/tests/tests/graphics/src/android/graphics/cts/
DSweepGradientTest.java57 mCanvas.drawRect(new Rect(0, 0, SIZE, SIZE), mPaint); in test2Colors()
66 mCanvas.drawRect(new Rect(0, 0, SIZE, SIZE), mPaint); in testColorArray()
77 mCanvas.drawRect(new Rect(0, 0, SIZE, SIZE), mPaint); in testMultiColor()
DPictureTest.java84 canvas.drawRect(0, 0, 10, 10, paint); in createImbalance()
153 canvas.drawRect(0, 0, TEST_WIDTH, TEST_HEIGHT, paint); in drawPicture()
DBitmapShaderTest.java44 c.drawRect(BORDER_WIDTH, BORDER_WIDTH, in testBitmapShader()
DPathDashPathEffectTest.java59 canvas.drawRect(rect, p); in testPathDashPathEffect()
DBlurMaskFilterTest.java45 canvas.drawRect(CENTER - OFFSET, CENTER - OFFSET, CENTER + OFFSET, CENTER + OFFSET, paint); in testBlurMaskFilter()
DCanvasTest.java1318 mCanvas.drawRect(new RectF(0, 0, 10, 12), mPaint); in testDrawRect1()
1324 mCanvas.drawRect(new Rect(0, 0, 10, 12), mPaint); in testDrawRect2()
1330 mCanvas.drawRect(0, 0, 10, 12, mPaint); in testDrawRect3()
/cts/tests/tests/view/src/android/view/cts/util/
DDrawingUtils.java60 goldenCanvas.drawRect(0, 0, viewWidth, viewHeight, goldenPaint); in assertAllPixelsOfColor()
64 goldenCanvas.drawRect(colorRectangle.first, goldenPaint); in assertAllPixelsOfColor()
/cts/tests/tests/view/src/android/view/cts/
DSurfaceViewCtsActivity.java183 canvas.drawRect(RECT_LEFT, RECT_TOP, RECT_RIGHT, RECT_BOTTOM, paint); in surfaceCreated()
/cts/tests/tests/uirendering/src/android/uirendering/cts/testinfrastructure/
DDisplayModifier.java353 canvas.drawRect(RECT, paint);
/cts/tools/dex-tools/dex/
Dclasses.out.dex31027 public void drawRect(
31034 public void drawRect(
31038 public void drawRect(