The calculation is:
Example for the 7th decile.
(number of 1's in each decile(440)/total number of 1s (3850))*100*10.
However you can also take a look at the below snapshot:
It is using the same calculations but instead of multiplying by 10 it is dividing by 10(or the proportion of data in each decile.)
Hope this helps!!