Searched refs:drawRect (Results 1 - 25 of 140) sorted by relevance

123456

/frameworks/base/libs/hwui/
H A DProfileRenderer.cpp22 void ProfileRenderer::drawRect(float left, float top, float right, float bottom, function in class:android::uirenderer::ProfileRenderer
24 mRenderer.drawRect(left, top, right, bottom, &paint);
H A DIProfileRenderer.h24 virtual void drawRect(float left, float top, float right, float bottom,
H A DProfileRenderer.h28 void drawRect(float left, float top, float right, float bottom, const SkPaint& paint) override;
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DTJunctionActivity.java52 canvas.drawRect(0.0f, 0.0f, 100.0f, 50.0f, mPaint);
57 canvas.drawRect(0.0f, 0.0f, 100.0f, 50.0f, mPaint);
62 canvas.drawRect(0.0f, 0.0f, 100.0f, 50.0f, mPaint);
67 canvas.drawRect(0.0f, 0.0f, 100.0f, 50.0f, mPaint);
70 canvas.drawRect(0.0f, 0.0f, 100.0f, 50.0f, mPaint);
73 canvas.drawRect(0.0f, 0.0f, 100.0f, 50.0f, mPaint);
76 canvas.drawRect(0.0f, 0.0f, 100.0f, 50.0f, mPaint);
H A DColoredRectsActivity.java81 canvas.drawRect(0, 0, 20, 10, p);
82 canvas.drawRect(35, 0, 45, 20, p);
86 canvas.drawRect(0, 0, 20, 10, p);
88 canvas.drawRect(35, 0, 45, 20, p);
97 canvas.drawRect(0, 0, 20, 10, p);
102 canvas.drawRect(0, 0, 20, 10, p);
108 canvas.drawRect(0, 0, 20, 10, p);
114 canvas.drawRect(0, 0, 20, 10, p);
120 canvas.drawRect(0, 0, 80, 5, p);
H A DGradientStopsActivity.java53 canvas.drawRect(0.0f, 0.0f, 256.0f, 50.0f, paint);
63 canvas.drawRect(0.0f, 0.0f, 256.0f, 50.0f, paint);
73 canvas.drawRect(0.0f, 0.0f, 256.0f, 50.0f, paint);
82 canvas.drawRect(0.0f, 0.0f, 256.0f, 50.0f, paint);
90 canvas.drawRect(0.0f, 0.0f, 768.0f, 50.0f, paint);
98 canvas.drawRect(0.0f, 0.0f, 768.0f, 50.0f, paint);
106 canvas.drawRect(0.0f, 0.0f, 768.0f, 50.0f, paint);
114 canvas.drawRect(0.0f, 0.0f, 768.0f, 50.0f, paint);
122 canvas.drawRect(0.0f, 0.0f, 512.0f, 50.0f, paint);
H A DAdvancedGradientsActivity.java78 canvas.drawRect(0.0f, 0.0f, 200.0f, 200.0f, mPaint);
84 canvas.drawRect(0.0f, 0.0f, 200.0f, 200.0f, mPaint);
90 canvas.drawRect(0.0f, 0.0f, 200.0f, 200.0f, mPaint);
96 canvas.drawRect(0.0f, 0.0f, 200.0f, 200.0f, mPaint);
102 canvas.drawRect(0.0f, 0.0f, 200.0f, 200.0f, mPaint);
108 canvas.drawRect(0.0f, 0.0f, 200.0f, 200.0f, mPaint);
H A DLayersActivity.java59 canvas.drawRect(0.0f, 0.0f, 200.0f, 100.0f, mRectPaint);
70 canvas.drawRect(0.0f, 0.0f, 200.0f, 100.0f, mRectPaint);
78 canvas.drawRect(0.0f, 0.0f, 100.0f, 50.0f, mRectPaint);
86 canvas.drawRect(50.0f, 25.0f, 150.0f, 75.0f, mRectPaint);
94 canvas.drawRect(0.0f, 0.0f, 100.0f, 50.0f, mRectPaint);
103 canvas.drawRect(50.0f, 25.0f, 150.0f, 75.0f, mRectPaint);
H A DAdvancedBlendActivity.java109 canvas.drawRect(0.0f, 0.0f, mDrawWidth, mDrawHeight, mPaint);
113 canvas.drawRect(0.0f, 0.0f, mDrawWidth, mDrawHeight, mPaint);
117 canvas.drawRect(0.0f, 0.0f, mDrawWidth, mDrawHeight, mPaint);
125 canvas.drawRect(0.0f, 0.0f, mDrawWidth, mDrawHeight, mPaint);
129 canvas.drawRect(0.0f, 0.0f, mDrawWidth, mDrawHeight, mPaint);
133 canvas.drawRect(0.0f, 0.0f, mDrawWidth, mDrawHeight, mPaint);
H A DShadersActivity.java112 canvas.drawRect(0.0f, 0.0f, mDrawWidth, mDrawHeight, mPaint);
116 canvas.drawRect(0.0f, 0.0f, mDrawWidth, mDrawHeight, mPaint);
120 canvas.drawRect(0.0f, 0.0f, mDrawWidth, mDrawHeight, mPaint);
129 canvas.drawRect(0.0f, 0.0f, mDrawWidth, mDrawHeight, mPaint);
133 canvas.drawRect(0.0f, 0.0f, mDrawWidth, mDrawHeight, mPaint);
137 canvas.drawRect(0.0f, 0.0f, mDrawWidth, mDrawHeight, mPaint);
H A DRotationActivity.java58 canvas.drawRect(-80.0f, -80.0f, 80.0f, 80.0f, mPaint);
59 canvas.drawRect(0.0f, 0.0f, 220.0f, 220.0f, mPaint);
H A DGradientsActivity.java113 canvas.drawRect(0.0f, 0.0f, getWidth(), getHeight(), mPaint);
138 canvas.drawRect(0.0f, 0.0f, getWidth(), getHeight(), mPaint);
163 canvas.drawRect(0.0f, 0.0f, getWidth(), getHeight(), mPaint);
187 canvas.drawRect(0.0f, 0.0f, getWidth(), getHeight(), mPaint);
231 canvas.drawRect(right - mDrawWidth, top, right, top + mDrawHeight, mPaint);
240 canvas.drawRect(left, top, right, top + mDrawHeight, mPaint);
252 canvas.drawRect(left, bottom - mDrawHeight, right, bottom, mPaint);
262 canvas.drawRect(left, top, left + mDrawWidth, bottom, mPaint);
274 canvas.drawRect(left, top, right, bottom, mPaint);
H A DBigGradientActivity.java47 canvas.drawRect(0.0f, 0.0f, getWidth(), getHeight(), p);
/frameworks/base/libs/hwui/pipeline/skia/
H A DSkiaProfileRenderer.cpp22 void SkiaProfileRenderer::drawRect(float left, float top, float right, float bottom, function in class:android::uirenderer::SkiaProfileRenderer
25 mCanvas->drawRect(rect, paint);
32 mCanvas->drawRect(rect, paint);
H A DSkiaProfileRenderer.h28 void drawRect(float left, float top, float right, float bottom, const SkPaint& paint) override;
/frameworks/support/core/ktx/src/androidTest/java/androidx/core/graphics/
H A DPorterDuffTest.kt28 drawRect(0f, 0f, 1f, 1f, p)
32 drawRect(0f, 0f, 1f, 1f, p)
41 drawRect(0f, 0f, 1f, 1f, p)
45 drawRect(0f, 0f, 1f, 1f, p)
/frameworks/base/libs/hwui/tests/common/scenes/
H A DHwBitmap565.cpp39 skCanvas.drawRect(SkRect::MakeWH(100, 100), skPaint);
41 skCanvas.drawRect(SkRect::MakeXYWH(100, 100, 100, 100), skPaint);
H A DReadbackFromHardwareBitmap.cpp35 canvas.drawRect(SkRect::MakeXYWH(30, 30, 30, 150), paint);
36 canvas.drawRect(SkRect::MakeXYWH(30, 30, 100, 30), paint);
37 canvas.drawRect(SkRect::MakeXYWH(30, 100, 70, 30), paint);
H A DBitmapShaders.cpp41 skCanvas.drawRect(SkRect::MakeWH(100, 100), skPaint);
43 skCanvas.drawRect(SkRect::MakeXYWH(100, 100, 100, 100), skPaint);
/frameworks/base/libs/hwui/tests/unit/
H A DLeakCheckTests.cpp35 canvas.drawRect(0, 0, 100, 100, SkPaint());
39 canvas.drawRect(0, 0, 100, 100, SkPaint());
54 canvas.drawRect(0, 0, 200, 200, SkPaint());
H A DRecordingCanvasTests.cpp68 canvas.drawRect(0, 0, 50, 50, SkPaint());
69 canvas.drawRect(50, 50, 100, 100, SkPaint());
85 canvas.drawRect(0, 0, 50, 50, SkPaint()); // rejected at record time
99 canvas.drawRect(0, 0, 200, 200, emptyPaint);
145 OPENGL_PIPELINE_TEST(RecordingCanvas, drawRect) {
147 100, 200, [](RecordingCanvas& canvas) { canvas.drawRect(10, 20, 90, 180, SkPaint()); });
164 // Non-rounded case - turned into drawRect
285 canvas.drawRect(0, 0, 100, 200, paint);
344 canvas.drawRect(10, 20, 190, 180, SkPaint());
378 canvas.drawRect(2
[all...]
/frameworks/opt/setupwizard/library/recyclerview/test/instrumentation/src/com/android/setupwizardlib/test/
H A DDividerItemDecorationTest.java78 expectedCanvas.drawRect(0, 5, 20, 6, paint);
79 expectedCanvas.drawRect(0, 10, 20, 11, paint);
80 expectedCanvas.drawRect(0, 15, 20, 16, paint);
94 expectedCanvas.drawRect(0, 15, 20, 16, paint);
100 expectedCanvas.drawRect(0, 5, 20, 6, paint);
101 expectedCanvas.drawRect(0, 10, 20, 11, paint);
121 expectedCanvas.drawRect(0, 5, 20, 6, paint);
122 expectedCanvas.drawRect(0, 10, 20, 11, paint);
123 expectedCanvas.drawRect(0, 15, 20, 16, paint);
131 expectedCanvas.drawRect(
[all...]
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
H A DTaskSnapshotSurfaceTest.java83 verify(mockCanvas).drawRect(eq(100.0f), eq(0.0f), eq(200.0f), eq(100.0f), any());
93 verify(mockCanvas).drawRect(eq(0.0f), eq(100.0f), eq(100.0f), eq(200.0f), any());
103 verify(mockCanvas).drawRect(eq(100.0f), eq(0.0f), eq(200.0f), eq(100.0f), any());
104 verify(mockCanvas).drawRect(eq(0.0f), eq(100.0f), eq(200.0f), eq(200.0f), any());
114 verify(mockCanvas, never()).drawRect(anyInt(), anyInt(), anyInt(), anyInt(), any());
124 verify(mockCanvas, never()).drawRect(anyInt(), anyInt(), anyInt(), anyInt(), any());
179 verify(mockCanvas).drawRect(eq(50.0f), eq(0.0f), eq(90.0f), eq(10.0f), any());
192 verify(mockCanvas).drawRect(eq(0.0f), eq(0.0f), eq(90.0f), eq(10.0f), any());
205 verify(mockCanvas, never()).drawRect(anyInt(), anyInt(), anyInt(), anyInt(), any());
218 verify(mockCanvas).drawRect(e
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DDataUsageGraph.java82 canvas.drawRect(r, p);
87 canvas.drawRect(r, p);
93 canvas.drawRect(r, p);
100 canvas.drawRect(r, p);
/frameworks/base/graphics/java/android/graphics/drawable/shapes/
H A DRectShape.java38 canvas.drawRect(mRect, paint);

Completed in 213 milliseconds

123456