Retirement tax questions

One final question: let's assume I do a direct rollover of $12,000 from Roth 401(k) to Roth IRA, and $9,600 is considered contributions and $2,400 is considered earnings. I'm under 59½, and my 401(k)—but not my IRA—is less than 5 years old. Is any portion of this transaction taxable?