Studio takes descriptions from the framework sources when they are available:
Some time ago IntelliJ IDEA introduced a feature that downloads sources of dependencies optionally, to speed up the initial project opening. Perhaps in your case the sources have not been downloaded. You can make the IDE to always download sources using this setting: