The MAF measures air mass, which is independant of temperature.
On a turbocharged engine, the intake air temperature is measured after the intercooler by a sensor combined with the intake air pressure sensor.
On normally aspirated engines the intake air temperature sensor is often combined with the MAF or the pressure sender.
Outside air temperature is not a parameter needed by the ECU. It is used by the air conditioning system.