Home
last modified time | relevance | path

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

12345

/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DTJunctionActivity.java52 canvas.drawRect(0.0f, 0.0f, 100.0f, 50.0f, mPaint); in onDraw()
57 canvas.drawRect(0.0f, 0.0f, 100.0f, 50.0f, mPaint); in onDraw()
62 canvas.drawRect(0.0f, 0.0f, 100.0f, 50.0f, mPaint); in onDraw()
67 canvas.drawRect(0.0f, 0.0f, 100.0f, 50.0f, mPaint); in onDraw()
70 canvas.drawRect(0.0f, 0.0f, 100.0f, 50.0f, mPaint); in onDraw()
73 canvas.drawRect(0.0f, 0.0f, 100.0f, 50.0f, mPaint); in onDraw()
76 canvas.drawRect(0.0f, 0.0f, 100.0f, 50.0f, mPaint); in onDraw()
DGradientStopsActivity.java53 canvas.drawRect(0.0f, 0.0f, 256.0f, 50.0f, paint); in onDraw()
63 canvas.drawRect(0.0f, 0.0f, 256.0f, 50.0f, paint); in onDraw()
73 canvas.drawRect(0.0f, 0.0f, 256.0f, 50.0f, paint); in onDraw()
82 canvas.drawRect(0.0f, 0.0f, 256.0f, 50.0f, paint); in onDraw()
90 canvas.drawRect(0.0f, 0.0f, 768.0f, 50.0f, paint); in onDraw()
98 canvas.drawRect(0.0f, 0.0f, 768.0f, 50.0f, paint); in onDraw()
106 canvas.drawRect(0.0f, 0.0f, 768.0f, 50.0f, paint); in onDraw()
114 canvas.drawRect(0.0f, 0.0f, 768.0f, 50.0f, paint); in onDraw()
122 canvas.drawRect(0.0f, 0.0f, 512.0f, 50.0f, paint); in onDraw()
DColoredRectsActivity.java81 canvas.drawRect(0, 0, 20, 10, p); in onDraw()
82 canvas.drawRect(35, 0, 45, 20, p); in onDraw()
86 canvas.drawRect(0, 0, 20, 10, p); in onDraw()
88 canvas.drawRect(35, 0, 45, 20, p); in onDraw()
97 canvas.drawRect(0, 0, 20, 10, p); in onDraw()
102 canvas.drawRect(0, 0, 20, 10, p); in onDraw()
108 canvas.drawRect(0, 0, 20, 10, p); in onDraw()
114 canvas.drawRect(0, 0, 20, 10, p); in onDraw()
120 canvas.drawRect(0, 0, 80, 5, p); in onDraw()
DAdvancedGradientsActivity.java78 canvas.drawRect(0.0f, 0.0f, 200.0f, 200.0f, mPaint); in onDraw()
84 canvas.drawRect(0.0f, 0.0f, 200.0f, 200.0f, mPaint); in onDraw()
90 canvas.drawRect(0.0f, 0.0f, 200.0f, 200.0f, mPaint); in onDraw()
96 canvas.drawRect(0.0f, 0.0f, 200.0f, 200.0f, mPaint); in onDraw()
102 canvas.drawRect(0.0f, 0.0f, 200.0f, 200.0f, mPaint); in onDraw()
108 canvas.drawRect(0.0f, 0.0f, 200.0f, 200.0f, mPaint); in onDraw()
DLayersActivity.java59 canvas.drawRect(0.0f, 0.0f, 200.0f, 100.0f, mRectPaint); in onDraw()
70 canvas.drawRect(0.0f, 0.0f, 200.0f, 100.0f, mRectPaint); in onDraw()
78 canvas.drawRect(0.0f, 0.0f, 100.0f, 50.0f, mRectPaint); in onDraw()
86 canvas.drawRect(50.0f, 25.0f, 150.0f, 75.0f, mRectPaint); in onDraw()
94 canvas.drawRect(0.0f, 0.0f, 100.0f, 50.0f, mRectPaint); in onDraw()
103 canvas.drawRect(50.0f, 25.0f, 150.0f, 75.0f, mRectPaint); in onDraw()
DAlphaLayersActivity.java84 canvas.drawRect(200.0f, 0.0f, 220.0f, 20.0f, mPaint); in dispatchDraw()
120 canvas.drawRect(0.0f, 0.0f, 20.0f, 20.0f, mPaint); in dispatchDraw()
123 canvas.drawRect(20.0f, 0.0f, 40.0f, 20.0f, mPaint); in dispatchDraw()
131 canvas.drawRect(0.0f, 100.0f, 40.0f, 150.0f, mPaint); in dispatchDraw()
133 canvas.drawRect(40.0f, 100.0f, 140.0f, 150.0f, mPaint); in dispatchDraw()
135 canvas.drawRect(140.0f, 100.0f, 240.0f, 150.0f, mPaint); in dispatchDraw()
DShadersActivity.java112 canvas.drawRect(0.0f, 0.0f, mDrawWidth, mDrawHeight, mPaint); in onDraw()
116 canvas.drawRect(0.0f, 0.0f, mDrawWidth, mDrawHeight, mPaint); in onDraw()
120 canvas.drawRect(0.0f, 0.0f, mDrawWidth, mDrawHeight, mPaint); in onDraw()
129 canvas.drawRect(0.0f, 0.0f, mDrawWidth, mDrawHeight, mPaint); in onDraw()
133 canvas.drawRect(0.0f, 0.0f, mDrawWidth, mDrawHeight, mPaint); in onDraw()
137 canvas.drawRect(0.0f, 0.0f, mDrawWidth, mDrawHeight, mPaint); in onDraw()
DAdvancedBlendActivity.java109 canvas.drawRect(0.0f, 0.0f, mDrawWidth, mDrawHeight, mPaint); in onDraw()
113 canvas.drawRect(0.0f, 0.0f, mDrawWidth, mDrawHeight, mPaint); in onDraw()
117 canvas.drawRect(0.0f, 0.0f, mDrawWidth, mDrawHeight, mPaint); in onDraw()
125 canvas.drawRect(0.0f, 0.0f, mDrawWidth, mDrawHeight, mPaint); in onDraw()
129 canvas.drawRect(0.0f, 0.0f, mDrawWidth, mDrawHeight, mPaint); in onDraw()
133 canvas.drawRect(0.0f, 0.0f, mDrawWidth, mDrawHeight, mPaint); in onDraw()
DGradientsActivity.java113 canvas.drawRect(0.0f, 0.0f, getWidth(), getHeight(), mPaint); in onDraw()
138 canvas.drawRect(0.0f, 0.0f, getWidth(), getHeight(), mPaint); in onDraw()
163 canvas.drawRect(0.0f, 0.0f, getWidth(), getHeight(), mPaint); in onDraw()
187 canvas.drawRect(0.0f, 0.0f, getWidth(), getHeight(), mPaint); in onDraw()
231 canvas.drawRect(right - mDrawWidth, top, right, top + mDrawHeight, mPaint); in onDraw()
240 canvas.drawRect(left, top, right, top + mDrawHeight, mPaint); in onDraw()
252 canvas.drawRect(left, bottom - mDrawHeight, right, bottom, mPaint); in onDraw()
262 canvas.drawRect(left, top, left + mDrawWidth, bottom, mPaint); in onDraw()
274 canvas.drawRect(left, top, right, bottom, mPaint); in onDraw()
DXfermodeActivity.java113 canvas.drawRect(0.0f, 0.0f, 50.0f, 50.0f, mBluePaint); in onDraw()
119 canvas.drawRect(0.0f, 0.0f, 50.0f, 50.0f, mBluePaint); in onDraw()
128 canvas.drawRect(0.0f, 0.0f, 50.0f, 50.0f, mBluePaint); in drawRects()
133 canvas.drawRect(0.0f, 0.0f, 50.0f, 50.0f, mRedPaint); in drawRects()
DRotationActivity.java58 canvas.drawRect(-80.0f, -80.0f, 80.0f, 80.0f, mPaint); in onDraw()
59 canvas.drawRect(0.0f, 0.0f, 220.0f, 220.0f, mPaint); in onDraw()
DShapesActivity.java117 canvas.drawRect(0.0f, 0.0f, 160.0f, 90.0f, mNormalPaint); in onDraw()
120 canvas.drawRect(0.0f, 0.0f, 160.0f, 90.0f, mStrokePaint); in onDraw()
123 canvas.drawRect(0.0f, 0.0f, 160.0f, 90.0f, mFillPaint); in onDraw()
DPathsActivity.java129 canvas.drawRect(mPathBounds, mBoundsPaint); in onDraw()
134 canvas.drawRect(mPathBounds, mBoundsPaint); in onDraw()
140 canvas.drawRect(mPathBounds, mBoundsPaint); in onDraw()
DClearActivity.java72 canvas.drawRect(100.0f, 100.0f, 200.0f, 200.0f, mClearPaint); in onDraw()
82 canvas.drawRect(800.0f, 100.0f, 900.0f, 200.0f, mClearPaint); in onDraw()
/frameworks/opt/setupwizard/library/recyclerview/test/instrumentation/src/com/android/setupwizardlib/test/
DDividerItemDecorationTest.java76 expectedCanvas.drawRect(0, 5, 20, 6, paint); in testShouldDrawDividerBelowWithEitherCondition()
77 expectedCanvas.drawRect(0, 10, 20, 11, paint); in testShouldDrawDividerBelowWithEitherCondition()
78 expectedCanvas.drawRect(0, 15, 20, 16, paint); in testShouldDrawDividerBelowWithEitherCondition()
92 expectedCanvas.drawRect(0, 15, 20, 16, paint); in testShouldDrawDividerBelowWithEitherCondition()
98 expectedCanvas.drawRect(0, 5, 20, 6, paint); in testShouldDrawDividerBelowWithEitherCondition()
99 expectedCanvas.drawRect(0, 10, 20, 11, paint); in testShouldDrawDividerBelowWithEitherCondition()
118 expectedCanvas.drawRect(0, 5, 20, 6, paint); in testShouldDrawDividerBelowWithBothCondition()
119 expectedCanvas.drawRect(0, 10, 20, 11, paint); in testShouldDrawDividerBelowWithBothCondition()
120 expectedCanvas.drawRect(0, 15, 20, 16, paint); in testShouldDrawDividerBelowWithBothCondition()
128 expectedCanvas.drawRect(0, 5, 20, 6, paint); in testShouldDrawDividerBelowWithBothCondition()
[all …]
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTaskSnapshotSurfaceTest.java97 verify(mockCanvas).drawRect(eq(100.0f), eq(0.0f), eq(200.0f), eq(100.0f), any()); in fillEmptyBackground_fillHorizontally()
107 verify(mockCanvas).drawRect(eq(0.0f), eq(100.0f), eq(100.0f), eq(200.0f), any()); in fillEmptyBackground_fillVertically()
117 verify(mockCanvas).drawRect(eq(100.0f), eq(0.0f), eq(200.0f), eq(100.0f), any()); in fillEmptyBackground_fillBoth()
118 verify(mockCanvas).drawRect(eq(0.0f), eq(100.0f), eq(200.0f), eq(200.0f), any()); in fillEmptyBackground_fillBoth()
128 verify(mockCanvas, never()).drawRect(anyInt(), anyInt(), anyInt(), anyInt(), any()); in fillEmptyBackground_dontFill_sameSize()
138 verify(mockCanvas, never()).drawRect(anyInt(), anyInt(), anyInt(), anyInt(), any()); in fillEmptyBackground_dontFill_bitmapLarger()
193 verify(mockCanvas).drawRect(eq(50.0f), eq(0.0f), eq(90.0f), eq(10.0f), any()); in testDrawStatusBarBackground()
206 verify(mockCanvas).drawRect(eq(0.0f), eq(0.0f), eq(90.0f), eq(10.0f), any()); in testDrawStatusBarBackground_nullFrame()
219 verify(mockCanvas, never()).drawRect(anyInt(), anyInt(), anyInt(), anyInt(), any()); in testDrawStatusBarBackground_nope()
232 verify(mockCanvas).drawRect(eq(new Rect(0, 90, 100, 100)), any()); in testDrawNavigationBarBackground()
[all …]
/frameworks/base/libs/hwui/pipeline/skia/
DSkiaProfileRenderer.cpp22 void SkiaProfileRenderer::drawRect(float left, float top, float right, float bottom, in drawRect() function in android::uirenderer::SkiaProfileRenderer
25 mCanvas->drawRect(rect, paint); in drawRect()
32 mCanvas->drawRect(rect, paint); in drawRects()
/frameworks/base/libs/hwui/tests/common/scenes/
DReadbackFromHardwareBitmap.cpp35 canvas.drawRect(SkRect::MakeXYWH(30, 30, 30, 150), paint); in createHardwareBitmap()
36 canvas.drawRect(SkRect::MakeXYWH(30, 30, 100, 30), paint); in createHardwareBitmap()
37 canvas.drawRect(SkRect::MakeXYWH(30, 100, 70, 30), paint); in createHardwareBitmap()
DHwBitmap565.cpp39 skCanvas.drawRect(SkRect::MakeWH(100, 100), skPaint); in createContent()
41 skCanvas.drawRect(SkRect::MakeXYWH(100, 100, 100, 100), skPaint); in createContent()
DBitmapShaders.cpp41 skCanvas.drawRect(SkRect::MakeWH(100, 100), skPaint); in createContent()
43 skCanvas.drawRect(SkRect::MakeXYWH(100, 100, 100, 100), skPaint); in createContent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DDataUsageGraph.java84 canvas.drawRect(r, p); in onDraw()
89 canvas.drawRect(r, p); in onDraw()
95 canvas.drawRect(r, p); in onDraw()
102 canvas.drawRect(r, p); in onDraw()
/frameworks/base/libs/input/
DSpriteIcon.cpp50 surfaceCanvas.drawRect(SkRect::MakeLTRB(width(), 0, outBuffer.width, height()), paint); in draw()
54 surfaceCanvas.drawRect(SkRect::MakeLTRB(0, height(), outBuffer.width, outBuffer.height), in draw()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DScreenshotSelectorView.java77 canvas.drawRect(mLeft, mTop, mRight, mBottom, mPaintBackground); in draw()
79 canvas.drawRect(mSelectionRect, mPaintSelection); in draw()
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/
DFakeShadowDrawable.java197 canvas.drawRect(0, edgeShadowTop, in drawShadow()
208 canvas.drawRect(0, edgeShadowTop, in drawShadow()
219 canvas.drawRect(0, edgeShadowTop, in drawShadow()
229 canvas.drawRect(0, edgeShadowTop, in drawShadow()
/frameworks/base/core/java/com/android/internal/widget/
DPointerLocationView.java292 canvas.drawRect(0, mHeaderPaddingTop, itemW-1, bottom,mTextBackgroundPaint); in onDraw()
300 canvas.drawRect(itemW, mHeaderPaddingTop, (itemW * 2) - 1, bottom, in onDraw()
305 canvas.drawRect(itemW * 2, mHeaderPaddingTop, (itemW * 3) - 1, bottom, in onDraw()
313 canvas.drawRect(itemW, mHeaderPaddingTop, (itemW * 2) - 1, bottom, in onDraw()
319 canvas.drawRect(itemW * 2, mHeaderPaddingTop, (itemW * 3) - 1, bottom, in onDraw()
327 canvas.drawRect(itemW * 3, mHeaderPaddingTop, (itemW * 4) - 1, bottom, in onDraw()
333 canvas.drawRect(itemW * 4, mHeaderPaddingTop, (itemW * 5) - 1, bottom, in onDraw()
339 canvas.drawRect(itemW * 5, mHeaderPaddingTop, (itemW * 6) - 1, bottom, in onDraw()
341 canvas.drawRect(itemW * 5, mHeaderPaddingTop, in onDraw()
347 canvas.drawRect(itemW * 6, mHeaderPaddingTop, w, bottom, mTextBackgroundPaint); in onDraw()
[all …]

12345