Home
last modified time | relevance | path

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

12345

/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
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()
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()
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()
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()
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()
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()
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()
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()
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()
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/full-support/test/src/com/android/setupwizardlib/test/
DDividerItemDecorationTest.java69 expectedCanvas.drawRect(0, 5, 20, 6, paint); in testShouldDrawDividerBelowWithEitherCondition()
70 expectedCanvas.drawRect(0, 10, 20, 11, paint); in testShouldDrawDividerBelowWithEitherCondition()
71 expectedCanvas.drawRect(0, 15, 20, 16, paint); in testShouldDrawDividerBelowWithEitherCondition()
85 expectedCanvas.drawRect(0, 15, 20, 16, paint); in testShouldDrawDividerBelowWithEitherCondition()
91 expectedCanvas.drawRect(0, 5, 20, 6, paint); in testShouldDrawDividerBelowWithEitherCondition()
92 expectedCanvas.drawRect(0, 10, 20, 11, paint); in testShouldDrawDividerBelowWithEitherCondition()
112 expectedCanvas.drawRect(0, 5, 20, 6, paint); in testShouldDrawDividerBelowWithBothCondition()
113 expectedCanvas.drawRect(0, 10, 20, 11, paint); in testShouldDrawDividerBelowWithBothCondition()
114 expectedCanvas.drawRect(0, 15, 20, 16, paint); in testShouldDrawDividerBelowWithBothCondition()
122 expectedCanvas.drawRect(0, 5, 20, 6, paint); in testShouldDrawDividerBelowWithBothCondition()
[all …]
/frameworks/base/libs/hwui/tests/unit/
DRecordingCanvasTests.cpp61 canvas.drawRect(0, 0, 50, 50, SkPaint()); in TEST()
62 canvas.drawRect(50, 50, 100, 100, SkPaint()); in TEST()
78 canvas.drawRect(0, 0, 50, 50, SkPaint()); // rejected at record time in TEST()
117 TEST(RecordingCanvas, drawRect) { in TEST() argument
119 canvas.drawRect(10, 20, 90, 180, SkPaint()); in TEST()
252 canvas.drawRect(0, 0, 100, 200, paint); in TEST()
312 canvas.drawRect(10, 20, 190, 180, SkPaint()); in TEST()
346 canvas.drawRect(0, 0, 200, 200, SkPaint()); in TEST()
361 canvas.drawRect(10, 20, 190, 180, SkPaint()); in TEST()
395 canvas.drawRect(10, 20, 190, 180, SkPaint()); in TEST()
[all …]
DLeakCheckTests.cpp36 canvas.drawRect(0, 0, 100, 100, SkPaint()); in RENDERTHREAD_TEST()
40 canvas.drawRect(0, 0, 100, 100, SkPaint()); in RENDERTHREAD_TEST()
56 canvas.drawRect(0, 0, 200, 200, SkPaint()); in RENDERTHREAD_TEST()
DFrameBuilderTests.cpp133 canvas.drawRect(0, 0, 100, 200, SkPaint()); in RENDERTHREAD_TEST()
178 canvas.drawRect(0, 0, 400, 400, SkPaint()); in RENDERTHREAD_TEST()
211 canvas.drawRect(0, 0, 10, 10, SkPaint()); in RENDERTHREAD_TEST()
239 canvas.drawRect(0, 0, 100, 100, SkPaint()); in RENDERTHREAD_TEST()
292 canvas.drawRect(0, 0, 600, 400, transparentPaint); in RENDERTHREAD_TEST()
299 canvas.drawRect(0, 0, 800, 600, transparentPaint); in RENDERTHREAD_TEST()
305 canvas.drawRect(0, 0, 800, 200, transparentPaint); in RENDERTHREAD_TEST()
376 canvas.drawRect(0, 0, 200, 200, SkPaint()); in RENDERTHREAD_TEST()
377 canvas.drawRect(0, 0, 200, 200, SkPaint()); in RENDERTHREAD_TEST()
378 canvas.drawRect(10, 10, 190, 190, SkPaint()); in RENDERTHREAD_TEST()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DDataUsageGraph.java81 canvas.drawRect(r, p); in onDraw()
86 canvas.drawRect(r, p); in onDraw()
92 canvas.drawRect(r, p); in onDraw()
99 canvas.drawRect(r, p); in onDraw()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DScrimView.java88 canvas.drawRect(0, 0, getWidth(), mExcludedRect.top, mPaint); in onDraw()
91 canvas.drawRect(0, mExcludedRect.top, mExcludedRect.left, mExcludedRect.bottom, in onDraw()
95 canvas.drawRect(mExcludedRect.right, in onDraw()
102 canvas.drawRect(0, mExcludedRect.bottom, getWidth(), getHeight(), mPaint); in onDraw()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DLoadAverageService.java204 canvas.drawRect(x-irqW, top, x, bottom, mIrqPaint); in onDraw()
208 canvas.drawRect(x-systemW, top, x, bottom, mSystemPaint); in onDraw()
212 canvas.drawRect(x-userW, top, x, bottom, mUserPaint); in onDraw()
239 canvas.drawRect(x-systemW, top, x, bottom, mSystemPaint); in onDraw()
243 canvas.drawRect(x-userW, top, x, bottom, mUserPaint); in onDraw()
/frameworks/base/core/java/com/android/internal/widget/
DPointerLocationView.java234 canvas.drawRect(0, 0, itemW-1, bottom,mTextBackgroundPaint); in onDraw()
242 canvas.drawRect(itemW, 0, (itemW * 2) - 1, bottom, mTextBackgroundPaint); in onDraw()
246 canvas.drawRect(itemW * 2, 0, (itemW * 3) - 1, bottom, mTextBackgroundPaint); in onDraw()
253 canvas.drawRect(itemW, 0, (itemW * 2) - 1, bottom, in onDraw()
259 canvas.drawRect(itemW * 2, 0, (itemW * 3) - 1, bottom, in onDraw()
267 canvas.drawRect(itemW * 3, 0, (itemW * 4) - 1, bottom, mTextBackgroundPaint); in onDraw()
272 canvas.drawRect(itemW * 4, 0, (itemW * 5) - 1, bottom, mTextBackgroundPaint); in onDraw()
277 canvas.drawRect(itemW * 5, 0, (itemW * 6) - 1, bottom, mTextBackgroundPaint); in onDraw()
278 canvas.drawRect(itemW * 5, 0, (itemW * 5) + (ps.mCoords.pressure * itemW) - 1, in onDraw()
284 canvas.drawRect(itemW * 6, 0, w, bottom, mTextBackgroundPaint); in onDraw()
[all …]
/frameworks/support/v7/cardview/eclair-mr1/android/support/v7/widget/
DCardViewEclairMr1.java64 canvas.drawRect(bounds.left + roundedCornerRadius - 1f, bounds.top, in initStatic()
68 canvas.drawRect(bounds.left + roundedCornerRadius - 1f, in initStatic()
73 canvas.drawRect(bounds.left, bounds.top + cornerRadius, in initStatic()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
DFakeShadowDrawable.java194 canvas.drawRect(0, edgeShadowTop, in drawShadow()
205 canvas.drawRect(0, edgeShadowTop, in drawShadow()
216 canvas.drawRect(0, edgeShadowTop, in drawShadow()
226 canvas.drawRect(0, edgeShadowTop, in drawShadow()
/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()

12345