The walk between the heads of the terminals is probably 5-10 minutes if you are a reasonable walker. The variable is your gate - if you come into a far out gate on AA and then need to get to gate C9999 (only a slight exaggeration) on UA you should add at least 10 minutes on either end.