I have lived in TX all year but worked a small part of the year in CA. I know I need to file CA state taxes but am unable to determine how they are actually being calculated. The 540NR form appears to be using my total taxable income to calculate CA state taxes and not just the wages I earned while working in CA (as reported on my W-2). Can anyone explain how this works? Thanks in advance!