New York has a "convenience of the employer" rule. This means that even if you work remotely for a New York based company, income is sourced to New York unless your job requires you to work remotely (for example, if the employer doesn't have a place for you to work in New York).
Because of this rule, even the income you earned while living in Oregon would be taxable in New York, so the income percentage could be correct. The income would also be taxable in Oregon - so to avoid double taxation, yes, you would get a credit in Oregon for the taxes you paid to New York on the same income.