Home
last modified time | relevance | path

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

1234

/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()
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()
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()
/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/recent/
DFadedEdgeDrawHelper.java146 canvas.drawRect(left, top, right, top + length, mFadePaint); in drawCallback()
153 canvas.drawRect(left, top - mPaddingTop, right, top, mBlackPaint); in drawCallback()
162 canvas.drawRect(left, bottom - length, right, bottom, mFadePaint); in drawCallback()
171 canvas.drawRect(left, top, left + length, bottom, mFadePaint); in drawCallback()
180 canvas.drawRect(right - length, top, right, bottom, mFadePaint); in drawCallback()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarWindowView.java216 canvas.drawRect(0, 0, getWidth(), getPaddingTop(), mTransparentSrcPaint); in onDraw()
219 canvas.drawRect(0, paddedBottom, getWidth(), getHeight(), mTransparentSrcPaint); in onDraw()
222 canvas.drawRect(0, getPaddingTop(), getPaddingLeft(), paddedBottom, in onDraw()
226 canvas.drawRect(paddedRight, getPaddingTop(), getWidth(), paddedBottom, in onDraw()
235 canvas.drawRect(0, 0, canvas.getWidth(), canvas.getHeight(), pt); in onDraw()
/frameworks/support/v7/cardview/eclair-mr1/android/support/v7/widget/
DCardViewEclairMr1.java54 canvas.drawRect(bounds.left + cornerRadius, bounds.top, in initStatic()
57 canvas.drawRect(bounds.left + cornerRadius, in initStatic()
62 canvas.drawRect(bounds.left, bounds.top + cornerRadius, in initStatic()
DRoundRectDrawableWithShadow.java217 canvas.drawRect(0, edgeShadowTop, in drawShadow()
228 canvas.drawRect(0, edgeShadowTop, in drawShadow()
239 canvas.drawRect(0, edgeShadowTop, in drawShadow()
249 canvas.drawRect(0, edgeShadowTop, in drawShadow()
/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/base/packages/SystemUI/src/com/android/systemui/recents/views/
DFakeShadowDrawable.java193 canvas.drawRect(0, edgeShadowTop, in drawShadow()
204 canvas.drawRect(0, edgeShadowTop, in drawShadow()
215 canvas.drawRect(0, edgeShadowTop, in drawShadow()
225 canvas.drawRect(0, edgeShadowTop, in drawShadow()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/graphics/
DColorOverlayDimmer.java156 c.drawRect(v.getLeft(), v.getTop(), v.getRight(), v.getBottom(), mPaint); in drawColorOverlay()
158 c.drawRect(v.getLeft() + v.getPaddingLeft(), in drawColorOverlay()
/frameworks/base/tests/WallpaperTest/src/com/example/wallpapertest/
DTestWallpaper.java205 c.drawRect(0, 0, width, height, paint); in drawFrame()
208 c.drawRect(0+mMainInsets.left, 0+mMainInsets.top, in drawFrame()
212 c.drawRect(0 + mStableInsets.left, 0 + mStableInsets.top, in drawFrame()

1234