Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cb50fbef authored by Chen Bai's avatar Chen Bai
Browse files

m3: enable GradientDrawable to draw round cap arc

- Add a private Shape type(ARC) to the GradientDrawable.
- Add a new attr strokeCap to GradientDrawable.

The ARC shape also draws ring shape drawable but allows rounded stroke
line cap through a new private attr, strokeCap.

Test: GradientDrawableTest
Flag: com.android.graphics.flags.gradient_drawable_shape_rounded_cap
Bug: 380000245
Change-Id: I358acb9855b4feccf39c40668e48a9626f32fb1c
parent 131c2c8f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment