create
Create a matrix to be applied to a drawable which scales the drawable according to its scale type.
Return
The scale matrix or null if the drawable does not need to be scaled.
Parameters
d
The drawable to create a matrix for
scaleType
A scale type describing how to scale the drawable.
width
The width of the drawable's container.
height
The height of the drawable's container.