Should New York State be taxing my full year of income if I am only a part year resident?

I was a resident of CA until May 26th 2017.. then moved to NY for the remainder of the year.  The return review page, is showing them starting with my entire federal adjusted gross income.