Home
last modified time | relevance | path

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

123

/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()
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()
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()
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()
232 canvas.drawRect(right - mDrawWidth, top, right, top + mDrawHeight, mPaint); in onDraw()
240 canvas.drawRect(left, top, right, top + mDrawHeight, mPaint); in onDraw()
251 canvas.drawRect(left, bottom - mDrawHeight, right, bottom, mPaint); in onDraw()
260 canvas.drawRect(left, top, left + mDrawWidth, bottom, mPaint); in onDraw()
273 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()
DFramebufferBlendActivity.java94 canvas.drawRect(0.0f, 0.0f, mTexWidth, mTexHeight, mPaint); in drawBlendedBitmap()
102 canvas.drawRect(0.0f, 0.0f, mTexWidth, mTexHeight, mPaint); in drawBlendedBitmapInverse()
DMoreShadersActivity.java122 canvas.drawRect(0.0f, 0.0f, mDrawWidth, mDrawHeight, mPaint); in onDraw()
126 canvas.drawRect(0.0f, 0.0f, mDrawWidth, mDrawHeight, mPaint); in onDraw()
DBigGradientActivity.java47 canvas.drawRect(0.0f, 0.0f, getWidth(), getHeight(), p); in onDraw()
DNewLayersActivity.java68 canvas.drawRect(-20.0f, -20.0f, 220.0f, 120.0f, mRectPaint); in drawStuff()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/
DFadedEdgeDrawHelper.java145 canvas.drawRect(left, top, right, top + length, mFadePaint); in drawCallback()
152 canvas.drawRect(left, top - mPaddingTop, right, top, mBlackPaint); in drawCallback()
160 canvas.drawRect(left, bottom - length, right, bottom, mFadePaint); in drawCallback()
168 canvas.drawRect(left, top, left + length, bottom, mFadePaint); in drawCallback()
176 canvas.drawRect(right - length, top, right, bottom, mFadePaint); in drawCallback()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DLoadAverageService.java203 canvas.drawRect(x-irqW, top, x, bottom, mIrqPaint); in onDraw()
207 canvas.drawRect(x-systemW, top, x, bottom, mSystemPaint); in onDraw()
211 canvas.drawRect(x-userW, top, x, bottom, mUserPaint); in onDraw()
238 canvas.drawRect(x-systemW, top, x, bottom, mSystemPaint); in onDraw()
242 canvas.drawRect(x-userW, top, x, bottom, mUserPaint); in onDraw()
/frameworks/base/core/java/com/android/internal/widget/
DPointerLocationView.java232 canvas.drawRect(0, 0, itemW-1, bottom,mTextBackgroundPaint); in onDraw()
240 canvas.drawRect(itemW, 0, (itemW * 2) - 1, bottom, mTextBackgroundPaint); in onDraw()
244 canvas.drawRect(itemW * 2, 0, (itemW * 3) - 1, bottom, mTextBackgroundPaint); in onDraw()
251 canvas.drawRect(itemW, 0, (itemW * 2) - 1, bottom, in onDraw()
257 canvas.drawRect(itemW * 2, 0, (itemW * 3) - 1, bottom, in onDraw()
265 canvas.drawRect(itemW * 3, 0, (itemW * 4) - 1, bottom, mTextBackgroundPaint); in onDraw()
270 canvas.drawRect(itemW * 4, 0, (itemW * 5) - 1, bottom, mTextBackgroundPaint); in onDraw()
275 canvas.drawRect(itemW * 5, 0, (itemW * 6) - 1, bottom, mTextBackgroundPaint); in onDraw()
276 canvas.drawRect(itemW * 5, 0, (itemW * 5) + (ps.mCoords.pressure * itemW) - 1, in onDraw()
282 canvas.drawRect(itemW * 6, 0, w, bottom, mTextBackgroundPaint); in onDraw()
[all …]
/frameworks/base/graphics/java/android/graphics/drawable/shapes/
DRectShape.java39 canvas.drawRect(mRect, paint); in draw()
/frameworks/base/tests/touchlag/
Dtouchlag.cpp84 void drawRect(Buffer* buf, uint32_t pixel, ssize_t x, ssize_t y, size_t w, size_t h) { in drawRect() function
263 drawRect(&framebuffer, 0x400000, framebuffer.w-2, 0, 2, framebuffer.h); in main()
289 drawRect(&framebuffer, 0x004000, framebuffer.w-2, 0, 2, framebuffer.h); in main()
/frameworks/base/core/tests/coretests/src/android/util/
DInternalSelectionView.java158 canvas.drawRect(mTempRect, mPainter); in onDraw()
172 canvas.drawRect(mTempRect, mPainter); in onDraw()
/frameworks/base/core/java/android/text/style/
DQuoteSpan.java76 c.drawRect(x, top, x + dir * STRIPE_WIDTH, bottom, p); in drawLeadingMargin()

123