Does word "tendency" have the same meaning in the following two sentences?

Fabric with a tendency to shrink.

Denim has a tendency to fade.
different meanings