Home
last modified time | relevance | path

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

1234

/frameworks/base/tests/graphics/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()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DSysUiOverlay.java101 canvas.drawPath(mCornerPath, mCornerPaint); in paintRoundedBorders()
106 canvas.drawPath(mCornerPath, mCornerPaint); in paintRoundedBorders()
112 canvas.drawPath(mCornerPath, mCornerPaint); in paintRoundedBorders()
118 canvas.drawPath(mCornerPath, mCornerPaint); in paintRoundedBorders()
124 canvas.drawPath(mNotchPath, mNotchPaint); in paintNotch()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/ui/drawable/
DSquigglyProgressTest.kt71 verify(canvas, times(2)).drawPath(any(), paintCaptor.capture()) in testDrawPathAndLine()
85 verify(canvas, times(2)).drawPath(any(), paintCaptor.capture()) in testStrokeWidth()
97 verify(canvas, times(2)).drawPath(any(), paintCaptor.capture()) in testAlpha()
110 verify(canvas, times(2)).drawPath(any(), paintCaptor.capture()) in testColorFilter()
122 verify(canvas, times(2)).drawPath(any(), paintCaptor.capture()) in testTint()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/
DThemedBatteryDrawable.kt209 c.drawPath(scaledBolt, fillPaint) in <lambda>()
215 c.drawPath(unifiedPath, dualToneBackgroundFill) in <lambda>()
221 c.drawPath(unifiedPath, fillPaint) in <lambda>()
227 c.drawPath(unifiedPath, fillPaint) in <lambda>()
234 c.drawPath(levelPath, fillPaint) in <lambda>()
242 c.drawPath(scaledBolt, fillColorStrokePaint) in <lambda>()
244 c.drawPath(scaledBolt, fillColorStrokeProtection) in <lambda>()
248 c.drawPath(levelPath, errorPaint) in <lambda>()
251 c.drawPath(scaledPlus, fillPaint) in <lambda>()
DSignalDrawable.java228 canvas.drawPath(mCutoutPath, mTransparentPaint); in draw()
229 canvas.drawPath(mForegroundPath, mForegroundPaint); in draw()
238 canvas.drawPath(mCutoutPath, mTransparentPaint); in draw()
239 canvas.drawPath(mScaledAttributionPath, mForegroundPaint); in draw()
DBatteryMeterDrawableBase.java392 c.drawPath(mBoltPath, mBoltPaint); in draw()
424 c.drawPath(mPlusPath, mPlusPaint); in draw()
451 c.drawPath(mShapePath, mFramePaint); in draw()
457 c.drawPath(mShapePath, mBatteryPaint); in draw()
474 c.drawPath(mOutlinePath, mPowersavePaint); in draw()
/frameworks/base/packages/EasterEgg/src/com/android/egg/landroid/
DVisibleUniverse.kt155 drawPath( in drawStar()
171 drawPath( in drawStar()
238 drawPath( in ZoomedDrawScope()
245 drawPath(path = spaceshipPath, color = Colors.Eigengrau) // fauxpaque in ZoomedDrawScope()
246 drawPath( in ZoomedDrawScope()
253 drawPath( in ZoomedDrawScope()
285 drawPath(flagPath, Colors.Flag, style = Stroke(width = strokeWidth)) in ZoomedDrawScope()
342 drawPath( in ZoomedDrawScope()
/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/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/split/
DDividerRoundedCorner.java76 canvas.drawPath(mTopLeftCorner.mPath, mDividerBarBackground); in onDraw()
81 canvas.drawPath(mTopRightCorner.mPath, mDividerBarBackground); in onDraw()
86 canvas.drawPath(mBottomLeftCorner.mPath, mDividerBarBackground); in onDraw()
91 canvas.drawPath(mBottomRightCorner.mPath, mDividerBarBackground); in onDraw()
/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/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/base/core/java/android/util/
DLauncherIcons.java89 canvas.drawPath(d.getIconMask(), paint); in getShadowBitmap()
94 canvas.drawPath(d.getIconMask(), paint); in getShadowBitmap()
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/
DShadowGenerator.java85 out.drawPath(path, mDrawPaint); in addPathShadow()
91 out.drawPath(path, mDrawPaint); in addPathShadow()
/frameworks/base/packages/SystemUI/src/com/android/systemui/battery/
DAccessorizedBatteryDrawable.kt157 c.drawPath(scaledShield, shieldTransparentOutlinePaint) in <lambda>()
158 c.drawPath(scaledShield, shieldPaint) in <lambda>()
/frameworks/base/core/java/com/android/internal/widget/remotecompose/core/operations/
DDrawPath.java76 context.drawPath(mId, mStart, mEnd); in paint()

1234