Skip to content

Commit

Permalink
Tweak sunfish corners (many/many)
Browse files Browse the repository at this point in the history
This CL adds a new rounded.xml drawable that includes some extra long
tails at the edge of the curve in order to smooth out the hardware pixel
map as much as possible.

Test: visual
Bug: 150440538
Change-Id: I4ed9c8c684edcf5de2c2f39f340e1e17ab9893b5
  • Loading branch information
Evan Laird committed Mar 25, 2020
1 parent 4c9bf3f commit 72a94ca
Showing 1 changed file with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,13 @@
limitations under the License.
-->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="146px"
android:height="146px"
android:viewportWidth="146.0"
android:viewportHeight="146.0">
android:width="224px"
android:height="224px"
android:viewportWidth="224.0"
android:viewportHeight="224.0">

<path
android:pathData="M 0,0 V 146 C 2,100 0,60 30,30 60,0 100,2 146,0 Z"
android:fillColor="#000000" />
android:pathData="M222.922862,0.171808176 C213.841572,0.171808176 204.760283,0.164795597 195.675487,0.189339623 C188.112421,0.206871069 180.549355,0.248946541 172.989796,0.326084906 C164.038239,0.417248428 155.086682,0.561006289 146.135126,0.767877358 C144.126022,0.813459119 142.116918,0.866053459 140.107814,0.918647799 C139.12956,0.943191824 138.151305,0.971242138 137.17305,0.999292453 C136.208821,1.02734277 135.248097,1.05539308 134.283868,1.0834434 C130.532138,1.19564465 126.783915,1.32187107 123.035692,1.46562893 C118.961384,1.62341195 114.883569,1.79872642 110.812767,2.02312893 C108.772107,2.13533019 106.731447,2.25805031 104.690786,2.39830189 C102.636101,2.53855346 100.581415,2.69633648 98.5267296,2.87515723 C94.3577516,3.23981132 90.2027987,3.69562893 86.0618711,4.30221698 C81.8332862,4.9193239 77.6467767,5.68720126 73.4883176,6.67246855 C65.4343711,8.58339623 57.6749528,11.2727201 50.3047327,15.0980818 C46.5705346,17.0370597 43.0221698,19.2144654 39.6175629,21.6899057 C36.1919182,24.1793711 33.0082075,26.8967453 30.0138365,29.8911164 C27.0194654,32.8854874 24.3055975,36.0691981 21.8161321,39.4948428 C19.3406918,42.8994497 17.1632862,46.4443082 15.2278145,50.1820126 C11.4024528,57.555739 8.71663522,65.3116509 6.80570755,73.3655975 C5.82044025,77.5275629 5.05256289,81.7140723 4.43545597,85.9426572 C3.83237421,90.0870912 3.3765566,94.242044 3.00839623,98.411022 C2.82957547,100.465708 2.67179245,102.520393 2.53154088,104.575079 C2.39128931,106.615739 2.26856918,108.656399 2.15636792,110.700566 C1.93196541,114.774874 1.75665094,118.852689 1.59886792,122.930503 C1.45511006,126.678726 1.33238994,130.423443 1.22018868,134.171667 C1.19213836,135.135896 1.16408805,136.096619 1.13603774,137.060849 C1.10798742,138.039104 1.0834434,139.017358 1.05539308,139.992107 C1.00279874,142.001211 0.953710692,144.006808 0.904622642,146.015912 C0.697751572,154.960456 0.553993711,163.905 0.462830189,172.849544 C0.385691824,180.41261 0.343616352,187.975676 0.326084906,195.538742 C0.30504717,204.620031 0.308553459,213.704827 0.308553459,222.786116 L1.4084536e-14,-2.8169072e-14 L222.922862,0.171808176 Z"
android:fillColor="#000000"
/>
</vector>

0 comments on commit 72a94ca

Please sign in to comment.