Home
last modified time | relevance | path

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

123

/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DScaledPathsActivity.java69 drawPath(canvas, 1.0f, 1.0f); in onDraw()
70 drawPath(canvas, 2.0f, 2.0f); in onDraw()
71 drawPath(canvas, 4.0f, 4.0f); in onDraw()
78 drawPath(canvas, 1.0f, 1.0f); in onDraw()
79 drawPath(canvas, 2.0f, 2.0f); in onDraw()
80 drawPath(canvas, 4.0f, 4.0f); in onDraw()
84 private void drawPath(Canvas canvas, float scaleX, float scaleY) { in drawPath() method in ScaledPathsActivity.PathsView
87 canvas.drawPath(mPath, mPathPaint); in drawPath()
DPathsCacheActivity.java96 canvas.drawPath(mPath, mMediumPaint); in onDraw()
102 canvas.drawPath(mPath, mMediumPaint); in onDraw()
103 canvas.drawPath(mPath, mMediumPaint); in onDraw()
109 canvas.drawPath(mPath, mMediumPaint); in onDraw()
110 canvas.drawPath(mPath, mMediumPaint); in onDraw()
126 canvas.drawPath(path, mMediumPaint); in onDraw()
DPathsActivity.java103 canvas.drawPath(mPath, mMediumPaint); in PathsView()
115 canvas.drawPath(mPath, mSmallPaint); in onDraw()
118 canvas.drawPath(mPath, mMediumPaint); in onDraw()
122 canvas.drawPath(mPath, mLargePaint); in onDraw()
128 canvas.drawPath(mPath, mSmallPaint); in onDraw()
139 canvas.drawPath(mPath, mLargePaint); in onDraw()
DTextOnPathActivity.java116 canvas.drawPath(mPath, mPathPaint); in onDraw()
129 canvas.drawPath(mStraightPath, mPathPaint); in onDraw()
139 canvas.drawPath(mPath, mPathPaint); in onDraw()
144 canvas.drawPath(mPath, mPathPaint); in onDraw()
149 canvas.drawPath(mPath, mPathPaint); in onDraw()
DPathDestructionActivity.java90 canvas.drawPath(path, strokePaint); in onDraw()
94 canvas.drawPath(path, fillPaint); in onDraw()
98 canvas.drawPath(path, fillAndStrokePaint); in onDraw()
DShapesActivity.java150 canvas.drawPath(mTriangle, mNormalPaint); in onDraw()
153 canvas.drawPath(mTriangle, mStrokePaint); in onDraw()
156 canvas.drawPath(mTriangle, mFillPaint); in onDraw()
DPathOffsetActivity.java58 canvas.drawPath(mPath, mPaint); in onDraw()
DTextPathActivity.java74 canvas.drawPath(path, mHugePaint); in drawTextAsPath()
DSmallCircleActivity.java67 canvas.drawPath(mPath, mPaint); in onDraw()
DClearActivity.java77 canvas.drawPath(mPath, mClearPaint); in onDraw()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/grid/
DGridTaskViewThumbnail.java176 canvas.drawPath(mThumbnailOutline, mLockedPaint); in onDraw()
181 canvas.drawPath(mRestBackgroundOutline, mBgFillPaint); in onDraw()
185 canvas.drawPath(mRestBackgroundOutline, mBgFillPaint); in onDraw()
187 canvas.drawPath(mThumbnailOutline, getDrawPaint()); in onDraw()
189 canvas.drawPath(mThumbnailOutline, mBgFillPaint); in onDraw()
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/
DStyledCornersBitmapDrawable.java287 canvas.drawPath(mClipPath, mBorderPaint); in draw()
319 canvas.drawPath(mCompatibilityModePath, mCompatibilityModeBackgroundPaint); in drawFakeCornersForCompatibilityMode()
328 canvas.drawPath(mCompatibilityModePath, mCompatibilityModeBackgroundPaint); in drawFakeCornersForCompatibilityMode()
338 canvas.drawPath(mCompatibilityModePath, mCompatibilityModeBackgroundPaint); in drawFakeCornersForCompatibilityMode()
347 canvas.drawPath(mCompatibilityModePath, mCompatibilityModeBackgroundPaint); in drawFakeCornersForCompatibilityMode()
357 canvas.drawPath(mCompatibilityModePath, mCompatibilityModeBackgroundPaint); in drawFakeCornersForCompatibilityMode()
365 canvas.drawPath(mCompatibilityModePath, mCompatibilityModeBackgroundPaint); in drawFakeCornersForCompatibilityMode()
373 canvas.drawPath(mCompatibilityModePath, mCompatibilityModeBackgroundPaint); in drawFakeCornersForCompatibilityMode()
381 canvas.drawPath(mCompatibilityModePath, mCompatibilityModeBackgroundPaint); in drawFakeCornersForCompatibilityMode()
/frameworks/rs/tests/java_api/SSHealingBrush/src/rs/example/android/com/healingbrush/
DRegion.java81 canvas.drawPath(path, paint1); in getSourceLocation()
82 canvas.drawPath(path, paint2); in getSourceLocation()
128 canvas.drawPath(path, paint); in findMatch()
DDrawView.java92 canvas.drawPath(mPoints, mPaint1); in onDraw()
93 canvas.drawPath(mPoints, mPaint2); in onDraw()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
DFakeShadowDrawable.java195 canvas.drawPath(mCornerShadowPath, mCornerShadowPaint); in drawShadow()
206 canvas.drawPath(mCornerShadowPath, mCornerShadowPaint); in drawShadow()
217 canvas.drawPath(mCornerShadowPath, mCornerShadowPaint); in drawShadow()
227 canvas.drawPath(mCornerShadowPath, mCornerShadowPaint); in drawShadow()
/frameworks/rs/tests/java_api/HealingBrush/src/rs/example/android/com/healingbrush/
DRegion.java90 canvas.drawPath(path, paint1); in getSourceLocation()
91 canvas.drawPath(path, paint2); in getSourceLocation()
137 canvas.drawPath(path, paint); in findMatch()
DDrawView.java94 canvas.drawPath(mPoints, mPaint1); in onDraw()
95 canvas.drawPath(mPoints, mPaint2); in onDraw()
/frameworks/support/v7/cardview/src/android/support/v7/widget/
DRoundRectDrawableWithShadow.java255 canvas.drawPath(mCornerShadowPath, mCornerShadowPaint); in drawShadow()
266 canvas.drawPath(mCornerShadowPath, mCornerShadowPaint); in drawShadow()
277 canvas.drawPath(mCornerShadowPath, mCornerShadowPaint); in drawShadow()
287 canvas.drawPath(mCornerShadowPath, mCornerShadowPaint); in drawShadow()
/frameworks/support/design/base/android/support/design/widget/
DShadowDrawableWrapper.java229 canvas.drawPath(mCornerShadowPath, mCornerShadowPaint); in drawShadow()
243 canvas.drawPath(mCornerShadowPath, mCornerShadowPaint); in drawShadow()
257 canvas.drawPath(mCornerShadowPath, mCornerShadowPaint); in drawShadow()
270 canvas.drawPath(mCornerShadowPath, mCornerShadowPaint); in drawShadow()
/frameworks/base/core/java/android/util/
DLauncherIcons.java86 canvas.drawPath(d.getIconMask(), paint); in getShadowBitmap()
91 canvas.drawPath(d.getIconMask(), paint); in getShadowBitmap()
/frameworks/base/graphics/java/android/graphics/drawable/shapes/
DPathShape.java61 canvas.drawPath(mPath, paint); in draw()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DSignalDrawable.java353 canvas.drawPath(mFullPath, mPaint); in draw()
354 canvas.drawPath(mForegroundPath, mForegroundPaint); in draw()
361 canvas.drawPath(mXPath, mForegroundPaint); in draw()
493 canvas.drawPath(mPath, paint); in draw()
/frameworks/base/packages/EasterEgg/src/com/android/egg/octo/
DTaperedPathStroke.java38 public static void drawPath(Canvas c, Path p, float r1, float r2, Paint pt) { in drawPath() method in TaperedPathStroke
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/
DBatteryMeterDrawableBase.java368 c.drawPath(mBoltPath, mBoltPaint); in draw()
401 c.drawPath(mPlusPath, mPlusPaint); in draw()
431 c.drawPath(mShapePath, mFramePaint); in draw()
438 c.drawPath(mShapePath, mBatteryPaint); in draw()
/frameworks/base/libs/hwui/
DPathCache.cpp154 static sk_sp<Bitmap> drawPath(const SkPath* path, const SkPaint* paint, PathTexture* texture, in drawPath() function
173 canvas.drawPath(*path, pathPaint); in drawPath()
272 sk_sp<Bitmap> bitmap(drawPath(path, paint, texture, mMaxTextureSize)); in addTexture()
324 t->setResult(drawPath(&t->path, &t->paint, t->texture, mMaxTextureSize)); in onProcess()

123