In 'View As' mode, does the audit trail understand that it is the admin taking action?

Yes. In View As mode, the audit trail will recognize any changes made in the system were made by the admin and not the employee they were viewing as.