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/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/
DRoundDrawableWrapper.java32 private final Path mClipPath = new Path(); field in RoundDrawableWrapper
43 mClipPath.reset(); in onBoundsChange()
44 mClipPath.addRoundRect(mTempRect, mRoundedCornersRadius, in onBoundsChange()
52 canvas.clipPath(mClipPath); in draw()
/frameworks/base/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/
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.java121 private final Path mClipPath = new Path(); field in SmartSelectSprite.RoundedRectangleShape
172 mClipPath.reset(); in draw()
173 mClipPath.addRoundRect( in draw()
178 canvas.clipPath(mClipPath); in draw()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt69188 Landroid/widget/SmartSelectSprite$RoundedRectangleShape;->mClipPath:Landroid/graphics/Path;