Describe text animation types.

Change-Id: I4f878eff707e318fa80b7d3c19833bf724e4bcef
Reduce scopes and add some whitespaces.

Change-Id: Ie1c94a4c241352c580d2509529919806f01ed6c0