Home
last modified time | relevance | path

Searched refs:mClipPath (Results 1 – 5 of 5) sorted by relevance

/frameworks/opt/bitmap/src/com/android/bitmap/drawable/
DStyledCornersBitmapDrawable.java57 private final Path mClipPath = new Path(); field in StyledCornersBitmapDrawable
230 canvas.clipPath(mClipPath); in draw()
278 canvas.drawPath(mClipPath, mBorderPaint); in draw()
379 mClipPath.rewind(); in recalculatePath()
383 mClipPath.moveTo(left, top); in recalculatePath()
387 mClipPath.arcTo(roundedCornerRectF, START_LEFT, QUARTER_CIRCLE); in recalculatePath()
390 mClipPath.moveTo(left, top - mCornerFlapSide); in recalculatePath()
391 mClipPath.lineTo(left + mCornerFlapSide, top); in recalculatePath()
397 mClipPath.lineTo(right, top); in recalculatePath()
401 mClipPath.arcTo(roundedCornerRectF, START_TOP, QUARTER_CIRCLE); in recalculatePath()
[all …]
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DClipRegion3Activity.java51 private final Path mClipPath = new Path(); field in ClipRegion3Activity.RegionView
62 mClipPath.reset(); in onSizeChanged()
63 mClipPath.addCircle(0.0f, 0.0f, getWidth() / 4.0f, Path.Direction.CW); in onSizeChanged()
72 canvas.clipPath(mClipPath); in dispatchDraw()
DClipRegionActivity.java59 private final Path mClipPath = new Path(); field in ClipRegionActivity.RegionView
81 mClipPath.reset(); in dispatchDraw()
82 mClipPath.addCircle(mClipPosition * getWidth(), getHeight() / 2.0f, in dispatchDraw()
85 canvas.clipPath(mClipPath); in dispatchDraw()
DViewLayersActivity5.java52 private final Path mClipPath = new Path(); field in ViewLayersActivity5.ClipFrameLayout
75 mClipPath.reset(); in dispatchDraw()
76 mClipPath.addCircle(getWidth() / 2.0f, getHeight() / 2.0f, in dispatchDraw()
79 canvas.clipPath(mClipPath); in dispatchDraw()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DBatteryMeterView.java73 private final Path mClipPath = new Path(); field in BatteryMeterView
424 mClipPath.reset(); in draw()
425 mClipPath.addRect(mFrame, Path.Direction.CCW); in draw()
426 mShapePath.op(mClipPath, Path.Op.INTERSECT); in draw()