/frameworks/base/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/ |
D | TJunctionActivity.java | 52 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()
|
D | GradientStopsActivity.java | 53 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()
|
D | ColoredRectsActivity.java | 81 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()
|
D | LayersActivity.java | 59 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()
|
D | AdvancedGradientsActivity.java | 78 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()
|
D | AlphaLayersActivity.java | 84 canvas.drawRect(200.0f, 0.0f, 220.0f, 20.0f, mPaint); in dispatchDraw() 114 canvas.drawRect(0.0f, 0.0f, 20.0f, 20.0f, mPaint); in dispatchDraw() 117 canvas.drawRect(20.0f, 0.0f, 40.0f, 20.0f, mPaint); in dispatchDraw() 125 canvas.drawRect(0.0f, 100.0f, 40.0f, 150.0f, mPaint); in dispatchDraw() 127 canvas.drawRect(40.0f, 100.0f, 140.0f, 150.0f, mPaint); in dispatchDraw() 129 canvas.drawRect(140.0f, 100.0f, 240.0f, 150.0f, mPaint); in dispatchDraw()
|
D | ShadersActivity.java | 112 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()
|
D | AdvancedBlendActivity.java | 109 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()
|
D | GradientsActivity.java | 113 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()
|
D | XfermodeActivity.java | 113 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()
|
D | RotationActivity.java | 58 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()
|
D | ShapesActivity.java | 117 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()
|
D | PathsActivity.java | 129 canvas.drawRect(mPathBounds, mBoundsPaint); in onDraw() 134 canvas.drawRect(mPathBounds, mBoundsPaint); in onDraw() 140 canvas.drawRect(mPathBounds, mBoundsPaint); in onDraw()
|
D | ClearActivity.java | 72 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/ |
D | DividerItemDecorationTest.java | 76 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/core/tests/coretests/src/android/window/ |
D | SnapshotDrawerUtilsTest.java | 115 verify(mockCanvas).drawRect(eq(100.0f), eq(0.0f), eq(200.0f), eq(100.0f), any()); in fillEmptyBackground_fillHorizontally() 125 verify(mockCanvas).drawRect(eq(0.0f), eq(100.0f), eq(100.0f), eq(200.0f), any()); in fillEmptyBackground_fillVertically() 135 verify(mockCanvas).drawRect(eq(100.0f), eq(0.0f), eq(200.0f), eq(100.0f), any()); in fillEmptyBackground_fillBoth() 136 verify(mockCanvas).drawRect(eq(0.0f), eq(100.0f), eq(200.0f), eq(200.0f), any()); in fillEmptyBackground_fillBoth() 146 verify(mockCanvas, never()).drawRect(anyInt(), anyInt(), anyInt(), anyInt(), any()); in fillEmptyBackground_dontFill_sameSize() 156 verify(mockCanvas, never()).drawRect(anyInt(), anyInt(), anyInt(), anyInt(), any()); in fillEmptyBackground_dontFill_bitmapLarger() 237 verify(mockCanvas).drawRect(eq(50.0f), eq(0.0f), eq(90.0f), eq(10.0f), any()); in testDrawStatusBarBackground() 249 verify(mockCanvas).drawRect(eq(0.0f), eq(0.0f), eq(90.0f), eq(10.0f), any()); in testDrawStatusBarBackground_nullFrame() 261 verify(mockCanvas, never()).drawRect(anyInt(), anyInt(), anyInt(), anyInt(), any()); in testDrawStatusBarBackground_nope() 274 verify(mockCanvas).drawRect(eq(new Rect(0, 90, 100, 100)), any()); in testDrawNavigationBarBackground() [all …]
|
/frameworks/base/libs/hwui/pipeline/skia/ |
D | SkiaProfileRenderer.cpp | 22 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/ |
D | ReadbackFromHardwareBitmap.cpp | 41 canvas.drawRect(SkRect::MakeXYWH(30, 30, 30, 150), paint); in createHardwareBitmap() 42 canvas.drawRect(SkRect::MakeXYWH(30, 30, 100, 30), paint); in createHardwareBitmap() 43 canvas.drawRect(SkRect::MakeXYWH(30, 100, 70, 30), paint); in createHardwareBitmap()
|
D | HwBitmap565.cpp | 45 skCanvas.drawRect(SkRect::MakeWH(100, 100), skPaint); in createContent() 47 skCanvas.drawRect(SkRect::MakeXYWH(100, 100, 100, 100), skPaint); in createContent()
|
D | BitmapShaders.cpp | 52 skCanvas.drawRect(SkRect::MakeWH(100, 100), skPaint); in createContent() 54 skCanvas.drawRect(SkRect::MakeXYWH(100, 100, 100, 100), skPaint); in createContent()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | DataUsageGraph.java | 84 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/packages/SystemUI/compose/core/src/com/android/compose/modifiers/ |
D | FadingBackground.kt | 78 drawRect() in draw() 85 private fun ContentDrawScope.drawRect() { in ContentDrawScope() method 86 drawRect(brush, alpha = alpha()) in ContentDrawScope()
|
/frameworks/base/tests/HandwritingIme/src/com/google/android/test/handwritingime/ |
D | BoundsInfoDrawHelper.java | 86 canvas.drawRect(localEditorBounds, sPaint); in drawEditorBoundsInfo() 94 canvas.drawRect(localHandwritingBounds, sPaint); in drawEditorBoundsInfo() 113 canvas.drawRect(lineBound, sPaint); in drawVisibleLineBounds()
|
/frameworks/base/libs/input/ |
D | SpriteIcon.cpp | 49 canvas.drawRect({iconWidth, 0, outBuffer.width, iconHeight}, paint); in draw() 53 canvas.drawRect({0, iconHeight, outBuffer.width, outBuffer.height}, paint); in draw()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | PointerLocationView.java | 404 canvas.drawRect(ps.mBoundingLeft, ps.mBoundingTop, in onDraw() 421 canvas.drawRect(0, mHeaderPaddingTop, itemW - 1, bottom, mTextBackgroundPaint); in drawLabels() 429 canvas.drawRect(itemW, mHeaderPaddingTop, (itemW * 2) - 1, bottom, in drawLabels() 434 canvas.drawRect(itemW * 2, mHeaderPaddingTop, (itemW * 3) - 1, bottom, in drawLabels() 442 canvas.drawRect(itemW, mHeaderPaddingTop, (itemW * 2) - 1, bottom, in drawLabels() 448 canvas.drawRect(itemW * 2, mHeaderPaddingTop, (itemW * 3) - 1, bottom, in drawLabels() 456 canvas.drawRect(itemW * 3, mHeaderPaddingTop, (itemW * 4) - 1, bottom, in drawLabels() 462 canvas.drawRect(itemW * 4, mHeaderPaddingTop, (itemW * 5) - 1, bottom, in drawLabels() 468 canvas.drawRect(itemW * 5, mHeaderPaddingTop, (itemW * 6) - 1, bottom, in drawLabels() 470 canvas.drawRect(itemW * 5, mHeaderPaddingTop, in drawLabels() [all …]
|