Home
last modified time | relevance | path

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

/frameworks/opt/bitmap/src/com/android/bitmap/drawable/
DStyledCornersBitmapDrawable.java60 private final Path mClipPath = new Path(); field in StyledCornersBitmapDrawable
239 canvas.clipPath(mClipPath); in draw()
287 canvas.drawPath(mClipPath, mBorderPaint); in draw()
407 mClipPath.rewind(); in recalculatePath()
411 mClipPath.moveTo(left, top); in recalculatePath()
415 mClipPath.arcTo(roundedCornerRectF, START_LEFT, QUARTER_CIRCLE); in recalculatePath()
418 mClipPath.moveTo(left, top - mCornerFlapSide); in recalculatePath()
419 mClipPath.lineTo(left + mCornerFlapSide, top); in recalculatePath()
425 mClipPath.lineTo(right, top); in recalculatePath()
429 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/core/java/android/widget/
DSmartSelectSprite.java123 private final Path mClipPath = new Path(); field in SmartSelectSprite.RoundedRectangleShape
174 mClipPath.reset(); in draw()
175 mClipPath.addRoundRect( in draw()
180 canvas.clipPath(mClipPath); in draw()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DExpandableOutlineView.java61 private final Path mClipPath = new Path(); field in ExpandableOutlineView
176 getRoundedRectPath(left, top, right, bottom, mOutlineRadius, 0.0f, mClipPath); in drawChild()
177 intersectPath = mClipPath; in drawChild()