Superconductivity and superfluidity of fermions require, within the BCS theory, matching of the Fermi energies of the two interacting Fermion species. Difference in the number densities of the two species leads either to a normal state, to phase separation, or - potentially - to exotic forms of superfluidity such as FFLO-state, Sarma state or breached pair state. We consider ultracold Fermi gases with polarization, i.e. spin-density imbalance. We show that, due to the gases being trapped and isolated from the environment in terms of particle exchange, exotic forms of superfluidity appear as a shell around the BCS-superfluid core of the gas and, for large density imbalance, in the core as well. We obtain these results by describing the effect of the trapping potential by using the Bogoliubov-de Gennes equations. For comparison to experiments, we calculate also the condensate fraction, and show that, in the center of the trap, a polarized superfluid leads to a small dip in the central density difference. We compare the results to those given by local density approximation and find qualitatively different behavior.