Home
last modified time | relevance | path

Searched refs:drawRect (Results 1 – 10 of 10) 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/tests/tests/graphics/src/android/graphics/cts/
DAvoidXfermodeTest.java57 canvas.drawRect(0f, 0f, BASE_SIZE, 2 * BASE_SIZE, greenPaint); in testAvoidXfermode()
59 canvas.drawRect(0f, 0f, 2 * BASE_SIZE, BASE_SIZE, redAvoidingGreenPaint); in testAvoidXfermode()
61 canvas.drawRect(0f, BASE_SIZE, 2 * BASE_SIZE, 2 * BASE_SIZE, blueTargetingGreenPaint); in testAvoidXfermode()
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()
DPathDashPathEffectTest.java59 canvas.drawRect(rect, p); in testPathDashPathEffect()
DBitmapShaderTest.java44 c.drawRect(BORDER_WIDTH, BORDER_WIDTH, in testBitmapShader()
DBlurMaskFilterTest.java45 canvas.drawRect(CENTER - OFFSET, CENTER - OFFSET, CENTER + OFFSET, CENTER + OFFSET, paint); in testBlurMaskFilter()
DPictureTest.java81 canvas.drawRect(0, 0, TEST_WIDTH, TEST_HEIGHT, paint); in drawPicture()
DCanvasTest.java1102 mCanvas.drawRect(new RectF(0, 0, 10, 12), mPaint); in testDrawRect1()
1108 mCanvas.drawRect(new Rect(0, 0, 10, 12), mPaint); in testDrawRect2()
1114 mCanvas.drawRect(0, 0, 10, 12, mPaint); in testDrawRect3()
/cts/tests/src/android/view/cts/
DSurfaceViewStubActivity.java183 canvas.drawRect(RECT_LEFT, RECT_TOP, RECT_RIGHT, RECT_BOTTOM, paint); in surfaceCreated()
/cts/tools/dex-tools/dex/
Dclasses.out.dex31027 public void drawRect(
31034 public void drawRect(
31038 public void drawRect(